Vladimír Vondruš
db1142837c
Clarified and updated *Framebuffer::mapForDraw() implementations.
...
In OpenGL ES 2.0 there is EXT_draw_buffers, which I overlooked somehow,
so I added it to extension list and included in the implementation. It
combines NV_draw_buffers and NV_fbo_color_attachments, so the
implementation now selects one of the two based on which extension is
supported, preferring the EXT one. Updated the documentation to be
less confusing, fixed extension links. Also the single-output
mapForDraw() is not handled separately on ES anymore and just calls
DrawBuffers implementation with single parameter, resulting in less
generated code.
EXT_draw_buffers can also be called on default framebuffer and
apparently in ES there is no way to map front framebuffer for drawing,
so I removed it from the DefaultFramebuffer::DrawAttachment enum.
11 years ago
Vladimír Vondruš
c0e96dec84
Really mark deprecated functions with deprecated attribute.
11 years ago
Vladimír Vondruš
ec528aca6f
There are no new extensions in ES 3.1.
11 years ago
Vladimír Vondruš
4f15d1a662
Doc++
11 years ago
Vladimír Vondruš
a6a2b074b2
external: minor cleanup.
11 years ago
Vladimír Vondruš
cbdd2183f1
external: updated GLES3 headers.
11 years ago
Vladimír Vondruš
06aa24553f
external: updated GLES2 headers.
11 years ago
Vladimír Vondruš
9334df1392
external: updated GL headers.
11 years ago
Vladimír Vondruš
6b927b97f5
TgaImporter, TgaImageConverter: don't bother with BGR(A).
...
Swizzle to RGB/RGBA on all platforms. Usability over (minor) performance
benefits. Otherwise we would be like the ugly mess called QImage (in
Qt4 at least).
11 years ago
Vladimír Vondruš
3e2a91d27a
Cleaned up old Doxygen workarounds.
11 years ago
Vladimír Vondruš
b0102c33fa
TextureTools: hide unused function on dynamic build.
11 years ago
Vladimír Vondruš
897948e3e0
package/ci: run also GL tests with GCC 4.8.
11 years ago
Vladimír Vondruš
b002c5a378
package/ci: build also on GCC 4.8.
11 years ago
Vladimír Vondruš
9d326d4ff1
Better handling of compiled-in resources in static build.
...
Each class/function that needs to access the resources first checks
whether the group exists and the group is registered if not. Thus there
is now no difference and annoying special cases when using static build.
11 years ago
Vladimír Vondruš
eebb5d4af5
modules: link EGL along with SDL if targetting non-desktop ES.
11 years ago
Vladimír Vondruš
36b52ad0e8
Test cleanup.
11 years ago
Vladimír Vondruš
be6e5fbfe3
Templated Buffer::map*().
...
To be consistent with Buffer::*data(), Image*::data() etc. Shorter code,
yay!
11 years ago
Vladimír Vondruš
2ca5f06a46
TgaImporter, TgaImageConverter: cleanup.
11 years ago
Vladimír Vondruš
34b2aad420
Doc++
11 years ago
Vladimír Vondruš
a9aee1935d
Platform: cleanup in AndroidApplication.
11 years ago
Vladimír Vondruš
5b135ccf9c
doc: work around Doxygen/Markdown conflicts.
...
It seems like I'm doing this once a week and someone is putting the
asterisks at the start of the line again and again.
11 years ago
Vladimír Vondruš
01500264fe
package/ci: fix build dir for android.
11 years ago
Vladimír Vondruš
57f19dbbc2
Platform: don't define ScreenedApplication for AndroidApplication.
...
Not done yet.
11 years ago
Vladimír Vondruš
fe63e88d30
Updated toolchains submodule.
11 years ago
Vladimír Vondruš
b2d7f4ecc7
Revert "Math: use Vector::max() instead of custom ugly solution."
...
This reverts commit 71db38cb2f . The test
passes again.
11 years ago
Vladimír Vondruš
dd2fde5ae0
Math: improve QuaternionTest to verify all quaternion-from-matrix cases.
...
The test fails. I was able to craft inputs so that all cases were
passing even with the obviously wrong algorithm. Huh.
11 years ago
Vladimír Vondruš
0b2cfae44a
Platform: cleaned up NaClApplication.
...
Leading underscore for private variables, std::unique_ptr instead of
manual memory management.
11 years ago
Vladimír Vondruš
f7c440d6b0
modules: proper linking order for Font plugins.
...
Fixes static build on NaCl.
11 years ago
Vladimír Vondruš
f13125d5ca
Fix more annoying warnings on MSVC.
11 years ago
Vladimír Vondruš
b970610769
Updated toolchains submodule.
11 years ago
Vladimír Vondruš
e4a10ff378
Fixed wrong install dir for plugin headers.
11 years ago
Vladimír Vondruš
27352e706c
Ability to create ResourceKey directly from the hash.
11 years ago
Vladimír Vondruš
d5827af79f
Trade: proper const overloads.
...
This is one of these dark corners.
11 years ago
Vladimír Vondruš
3206f98716
Work around missing std::to_string() on NaCl/Android/MinGW32.
11 years ago
Vladimír Vondruš
65b25ca530
Fix compilation on NaCl.
11 years ago
Vladimír Vondruš
f46a88d441
Fix linker error on NaCl.
11 years ago
Vladimír Vondruš
d3f66d1fcd
Doc++
11 years ago
Vladimír Vondruš
a69f567ea9
Math: fix redundant and cyclic documentation references.
11 years ago
Vladimír Vondruš
7a43d85d9f
Fix linkage conflict warning/error on MinGW and MSVC.
11 years ago
Vladimír Vondruš
922f36cdb1
Fix crash on context creation on Windows on Intel drivers. Sorry!
...
These driver-specific workarounds are a double-edged sword.
11 years ago
Vladimír Vondruš
c2040c53af
SceneGraph: fix compile error in deprecated functions.
...
And that's only thanks to MSVC, which compiles even the code that is
nowhere used.
11 years ago
Vladimír Vondruš
24d573e453
Fix linkage for local ResourceManager instance on MSVC.
...
I feared that this would be much more complicated.
11 years ago
Vladimír Vondruš
e8cefca023
Wait why how eww.
11 years ago
Vladimír Vondruš
06f938fed8
Disable the deprecation warning also for MSVC.
...
I long for the day when I can remove the old texture API.
11 years ago
Vladimír Vondruš
c09a2d9c95
CMake: use VAR instead of "${VAR}" in if() statements.
...
Caused annoying warnings on CMake 3.1 (gone in 3.2).
11 years ago
Vladimír Vondruš
dbff10e57b
package/archlinux: disable unknown flags in GCC 4.7 PKGBUILD.
11 years ago
Vladimír Vondruš
7d6de4ad89
Removed long-deprecated BufferImage::setData() overload.
11 years ago
Vladimír Vondruš
01541b8c39
Text: removed deprecated TextRenderer alias.
11 years ago
Vladimír Vondruš
d10f4ce593
Shaders: removed deprecated magnumShadersResourceImport.hpp file.
11 years ago
Vladimír Vondruš
b207fb44f1
SceneGraph: removed deprecated Animable::group() function.
11 years ago