Vladimír Vondruš
48d8499486
Cleanup.
11 years ago
Vladimír Vondruš
93a31ce9ef
Properly error-out if using deprecated header on non-deprecated build.
11 years ago
Vladimír Vondruš
295b909c1c
Print error if transform feedback header is used in OpenGL ES 2.0 build.
11 years ago
Vladimír Vondruš
eaf849f659
Undef privately used macro in all cases.
11 years ago
Vladimír Vondruš
aef5353bee
Fixed comment.
11 years ago
Vladimír Vondruš
235c424159
Fixed overloaded method name.
11 years ago
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š
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š
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š
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š
34b2aad420
Doc++
11 years ago
Vladimír Vondruš
a9aee1935d
Platform: cleanup in AndroidApplication.
11 years ago
Vladimír Vondruš
57f19dbbc2
Platform: don't define ScreenedApplication for AndroidApplication.
...
Not done yet.
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š
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š
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
Vladimír Vondruš
959180dfd8
Math: removed deprecated Geometry::Rectangle class.
11 years ago
Vladimír Vondruš
721f18360b
Removed deprecated Sampler::maxAnisotropy().
11 years ago
Vladimír Vondruš
a6ac5408b9
Removed deprecated Mesh::Primitive enum.
11 years ago
Vladimír Vondruš
192686e48d
Platform: fix Doxygen warnings.
11 years ago
Vladimír Vondruš
024268ed1d
SceneGraph: test cleanup.
11 years ago
Vladimír Vondruš
7fc31139e2
SceneGraph: added AbstractObject::addFeature(), Object::addChild().
11 years ago
Vladimír Vondruš
92887c9598
Fix ResourceManager-related linker errors on Clang.
...
Guess this will break something else.
11 years ago
Vladimír Vondruš
59f09a0f92
Text: use override when overriding virtual functions.
...
Thanks, Clang (again).
11 years ago
Vladimír Vondruš
1f063b7180
Don't use deprecated enum values.
...
Thanks, Clang.
11 years ago
Vladimír Vondruš
ed8273b15a
Doc++
11 years ago
Vladimír Vondruš
2c516fffb8
Platform: doc++
11 years ago
Vladimír Vondruš
3060e1d1a2
Platform: finally add VSync support to Sdl2Application.
...
Sorry that it took ages. Oh, actually, I'm not able to test this AT ALL
because my awesomely amazing NVidia Optimus laptop CANNOT (what?!) do
VSync because of some bad design decisions from previous century that
led to the disaster that we now know as X11 and as I heard it is
impossible to work around that or something. Ugh.
11 years ago