Vladimír Vondruš
b6d9de83dc
Fix size computation for array textures in setStorage() fallback.
...
The comment was right, but the code was apparently copy-pasted. Sadly no
unit test covered this, because nearly every desktop impl has
ARB_texture_storage and on ES2 (which is the only that doesn't have
texture storage) it's not possible to query image size, heh.
12 years ago
Vladimír Vondruš
3de303fd60
Discourage usage of *Texture::setImage() even more.
...
ARB_direct_state_access doesn't have equivalent for glTexImage*D(),
which indicates that these calls should not be used anymore. Also
removed EXT_direct_state_access code path and kept just the plain
glBindTexture() + glTexImage*D(), as I assume that all implementations
which have EXT_DSA have also ARB_texture_storage, thus this alternative
would have no use.
12 years ago
Vladimír Vondruš
1bc3723702
Math: this also isn't Doxygen's fault.
...
Why? Imagine this C++/Doxygen/Markdown parsing nightmare:
/**
* @page operator Operators
*
* See also @ref operator "" _page_.
*/
/**
* @brief Page literal
*
* See also @ref operator "Operators" _page_.
*/
Page operator "" _page_(unsigned long long int);
Sorry ;)
12 years ago
Vladimír Vondruš
bec87b9d32
Properly reference operator.
...
This wasn't actually Doxygen's fault.
12 years ago
Vladimír Vondruš
11ed4882e0
Removed some workarounds for references in documentation.
...
Fixed in Doxygen master. Yay!
12 years ago
Vladimír Vondruš
8be3630432
Math: doc++
12 years ago
Vladimír Vondruš
d58d2b6ede
SceneGraph: fix Doxygen warnings.
...
Not sure why this is suddenly broken.
12 years ago
Vladimír Vondruš
5fb46d1db4
Avoid too long lines in Doxygen documentation.
12 years ago
Vladimír Vondruš
4add9296a3
modules: simplified flag parsing in FindMagnum.cmake.
12 years ago
Vladimír Vondruš
f9cff5e52f
modules: get rid of WITH_FIND_MODULE.
...
CMake find modules are now *always* installed into
<prefix>/share/cmake/Magnum, without requirement for root privileges.
12 years ago
Vladimír Vondruš
2a24cc7511
modules: updated FindCorrade.cmake, adapted to Corrade changes.
12 years ago
Vladimír Vondruš
a648821912
SceneGraph: deprecating TransformationType enum and related functions.
...
The enum was only two-state, in almost all cases it included unnecessary
branching and the non-default usage was too verbose, thus all
transformation functions were split into two variants, <transform>() and
<transform>Local(). The <transform>() behaves exactly like the previous
implementation with TransformationType::Global, the <transform>Local()
behaves like the previous implementation with TransformationType::Local.
The enum and original functions were kept, they are marked as deprecated
and will be removed in future release.
This is rather large changeset, I triple checked that the new (both
deprecated and non-deprecated) implementations work as intended, but
can't possibly test every possible use case, so I'm sorry if I messed
something up :-) Also there was probably some bug in internal virtual
function implementations before, it should be now fixed.
12 years ago
Vladimír Vondruš
1c29242e35
MeshTools: fix typo.
12 years ago
Vladimír Vondruš
960f3b61f8
Trade: document default implementation of virtual functions.
...
Better to have these documented, I came to this after longer pause and
thought that these were all pure virtual.
12 years ago
Vladimír Vondruš
eb0feffc81
package/ci: actually use clang *and* sanitizer.
...
Uh.
12 years ago
Vladimír Vondruš
605b014c54
Fix ES2 build.
12 years ago
Vladimír Vondruš
3b3499ac2f
package/ci: added Clang Analyzer and Clang *Sanitizer jobs.
12 years ago
Vladimír Vondruš
cdfe419358
ObjImporter: another workaround to make Clang Analyzer happy.
12 years ago
Vladimír Vondruš
e8aed269a1
Text: workaround to make Clang Analyzer happy.
12 years ago
Vladimír Vondruš
7758455970
Avoid null pointer dereference.
...
Thanks, Clang Analyzer!
12 years ago
Vladimír Vondruš
6884f88498
doc: make jenkins command copypasteable.
...
Sane defaults instead of placeholders.
12 years ago
Vladimír Vondruš
3a230498e0
Fixed OOB memory access in test.
...
Pixel data should have four-byte row alignment by default. Also thanks,
Clang AddressSanitizer!
12 years ago
Vladimír Vondruš
eb4eda48f5
Using std::unique_ptr instead of naked pointers in internal implementation.
...
Fixes two accidental memory leaks. Thanks, Clang AddressSanitizer!
12 years ago
Vladimír Vondruš
9d6c52cd92
Alphabetically reorder extension groups.
12 years ago
Vladimír Vondruš
7726c10388
TgaImageConverter: update error message.
12 years ago
Vladimír Vondruš
bb995dfd5f
MagnumPlugins: doc++
12 years ago
Vladimír Vondruš
9b679bd1ba
doc: have all references in docs relative to root namespace.
12 years ago
Vladimír Vondruš
d812559605
Removed autolink-preventing % noise from plugins.
12 years ago
Vladimír Vondruš
a894904cab
Removed autolink-preventing % noise and unneeded HTML from root namespace.
12 years ago
Vladimír Vondruš
ae56f1be72
Trade: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
1e160d3216
TextureTools: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
643daa7594
Text: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
b19743157a
Shapes: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
a8a378316f
Shaders: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
5433271506
SceneGraph: removed autolink-preventing % noise, removed unneeded HTML.
12 years ago
Vladimír Vondruš
0188b8317a
Primitives: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
984b8003ea
Platform: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
05b7cacca6
MeshTools: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
6b51e619c1
DebugTools: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
1e679c42c7
Audio: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
7dd224ed21
Math: removed autolink-preventing % noise, removed unneeded HTML tags.
12 years ago
Vladimír Vondruš
372ff22984
doc: removed autolink-preventing % noise, removed unneeded HTML tags.
12 years ago
Vladimír Vondruš
9a9e69b637
Doxygen: disable autolinking.
...
Finally.
12 years ago
Vladimír Vondruš
daf0742c50
doc: use explicit references everywhere.
12 years ago
Vladimír Vondruš
4c3b7bb37a
Test: fix TransformFeedbackGLTest on non-deprecated build.
...
GAAAAAHHHH.
12 years ago
Vladimír Vondruš
e46cb0f238
Fix non-deprecated build.
12 years ago
Vladimír Vondruš
1bf8824d15
Fix class/struct mismatch.
12 years ago
Vladimír Vondruš
3dacecec93
Test: test transform feedback query in PrimitiveQueryGLTest.
12 years ago
Vladimír Vondruš
50d4bd5c55
Platform: show transform feedback-related limits in magnum-info.
12 years ago
Vladimír Vondruš
6f355c564d
Initial transform feedback implementation.
...
Full support for EXT_transform_feedback, transform feedback objects
from ARB_transform_feedback2 and equivalent OpenGL ES 3.0 functionality.
Example usage is in src/Magnum/Test/TransformFeedbackGLTest.cpp, I'll
add some example later.
12 years ago