Vladimír Vondruš
998bb58ca5
Doc++
11 years ago
Vladimír Vondruš
e2bd394300
Coding style: leading underscore for private member variables.
11 years ago
Vladimír Vondruš
9619bf08b6
Support for ARB_get_texture_sub_image.
...
Only thing missing are compressed texture queries, but that needs a lot
more work.
11 years ago
Vladimír Vondruš
7a24631161
Reduced duplicated blobs in texture tests.
11 years ago
Vladimír Vondruš
73a743668b
Less verbose and annoyingly useless debug output.
11 years ago
Vladimír Vondruš
e07454b1ee
Added CubeMapTexture::{image,subImage}() for all six faces together.
...
Requires ARB_direct_state_access.
11 years ago
Vladimír Vondruš
045448fa08
Added DimensionTraits::RangeType and RangeTypeFor.
11 years ago
Vladimír Vondruš
11b2247bf5
Clarified and fixed cube map texture image retrieval methods.
...
Because ARB_DSA doesn't have any way to extract image of single cube map
coordinate, we have to use ARB_get_texture_sub_image instead, thus for
cube maps the whole thing is different. That was implemented, but wasn't
mentioned in the docs and wasn't properly accounted for in
implementation switcher (I was under assumption that ARB_DSA is
equivalent to ARB_get_texture_sub_image, which is not).
11 years ago
Vladimír Vondruš
67581895e2
Convenience *Texture::image() overloads.
...
Similar to Framebuffer::read(), it's now possible to get texture image
also in single statement:
Image2D image = texture.image(0, {ColorFormat::RGBA, ColorType::UnsignedByte});
in comparison to the previous way:
Image2D image{ColorFormat::RGBA, ColorType::UnsignedByte};
texture.image(0, image);
The previous way is still kept in the API and not deprecated, as it
might be more usable in some cases.
11 years ago
Vladimír Vondruš
8e286b4964
Properly export CubeMapTextureArray symbols.
...
Only the maxSize() function was non-inline and apparently wasn't used
(or tested) until now, meh.
11 years ago
Vladimír Vondruš
2be625a23b
Platform: display also max cube map texture sizes.
11 years ago
Vladimír Vondruš
d11c993c34
Doc: proper buffer usage when reading images.
11 years ago
Vladimír Vondruš
cb1895536c
Ensure that pixel pack buffer is not bound when reading image to RAM.
...
GLnext can't be here soon enough.
11 years ago
Vladimír Vondruš
b121e8758a
Math: added Vector::pad().
11 years ago
Vladimír Vondruš
6372711260
Math: save one swizzle in Vector3::cross().
...
There was also an error in the original equation (docs only, though).
11 years ago
Vladimír Vondruš
70150a8845
Don't use `return std::move()` where it is not needed.
11 years ago
Vladimír Vondruš
8882f62842
Text: clarified comments.
11 years ago
Vladimír Vondruš
2e43eb3dd4
Fix Doxygen warning.
11 years ago
Bill Robinson
80e01ae18d
Math: added Matrix4::lookAt().
11 years ago
Vladimír Vondruš
3884359ac8
Forgotten file.
...
Sorry.
11 years ago
Vladimír Vondruš
7a6ed6abfa
SceneGraph: avoid weird attribute warnings on GCC.
...
Attributes for enums are apparently not a feature yet, will be part of
C++17 (but Clang has it already).
11 years ago
Vladimír Vondruš
7fd539882c
Platform: include DebugGroup::maxStackDepth() in magnum-info.
11 years ago
Vladimír Vondruš
c3d9f7a72b
Support for debug groups from KHR_debug and EXT_debug_marker.
...
Had to rework the API a bit, the original one (everything through
DebugMessage) should be still available, but marked as deprecated (and
will be removed in some future release).
The whole cycle of reading up on a feature, understanding the feature,
understanding the bigger concept under the feature and then having
understood everything so thoroughly so I can document the functionality
is time consuming.
11 years ago
Vladimír Vondruš
696856e8aa
Doc++
11 years ago
Vladimír Vondruš
3ca8fe7e6c
TgaImageConverter, TgaImporter: fix linking of tests on Windows.
...
Dllimport hell at its finest.
11 years ago
Vladimír Vondruš
5c75770a1b
TgaImageConverter, TgaImporter: export symbols only on dynamic build.
...
Mainly to fix linker errors on Windows when using static plugins as
dependencies of other plugins. Don't even let me get started on how much
I hate the dllexport/dllimport hell.
11 years ago
Vladimír Vondruš
ded991a74b
MagnumPlugins: respect BUILD_PLUGINS_STATIC and not BUILD_STATIC.
...
Also set dynamic-only properties only when building dynamic plugins.
11 years ago
Vladimír Vondruš
127970eda1
Text: no need to pollute header with internal functions.
11 years ago
Vladimír Vondruš
0fcf763900
Fix off-by-one errors when converting const char[] to string.
...
The AbstractShaderProgramGLTest now passes again.
11 years ago
Vladimír Vondruš
2ed432aeb1
Test output from AbstractShaderProgram::uniformLocation().
...
Fails.
11 years ago
Vladimír Vondruš
bad9a20f64
Test cleanup.
11 years ago
Vladimír Vondruš
fd0bfcb465
Get rid of annoying unsigned byte arrays.
...
`char*` is now the default type for byte arrays. Results in shorter
code, less annoyances and more convenient testing. As is the case with
Corrade, I'm not doing any compatibility/deprecation layer, as most of
these functions is not widely used anyway.
11 years ago
Vladimír Vondruš
61b1528b2f
Fix ES build, again.
11 years ago
Vladimír Vondruš
fc7f6e37fc
Oh, this is still needed.
...
Yay to me for breaking the build thrice in an hour!
11 years ago
Vladimír Vondruš
ae6e16b356
Doc++
11 years ago
Vladimír Vondruš
a9bfbbd08e
Deprecated Mesh::maxVertexAttributes().
...
It is not related to Mesh itself at all, as the attribute indices are
defined in Attribute class. Use
AbstractShaderProgram::maxVertexAttributes() instead.
11 years ago
Vladimír Vondruš
b1e496657e
Fixed compilation on Emscripten (and probably NaCl).
11 years ago
Vladimír Vondruš
789eb8e47b
Platform: WindowlessWglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
f0146822c2
Platform: WindowlessGlxApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
d54be041c4
Platform: WindowlessCglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming, better error checks, improved error messages, replaced
C-style casts with constructor casts.
Doing this blindly, hopefully I didn't break anything :)
11 years ago
Vladimír Vondruš
f10cf91f6b
Platform: GlutApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
59477d04f8
Platform: Sdl2Application cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
22d1a5c34e
Platform: AbstractXApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
61d72f86c3
Test that version comparison compiles and works as expected.
11 years ago
Vladimír Vondruš
4b8406b418
Platform: instantiate ScreenedApplication also for AndroidApplication.
11 years ago
Vladimír Vondruš
6961bcd4d3
Platform: clarify comments.
11 years ago
Vladimír Vondruš
ede9acbde4
Document default values on viewport and scissor rectangles.
11 years ago
Vladimír Vondruš
0f0882bdac
Cleanup.
11 years ago
Vladimír Vondruš
90b519c4d2
Math: improve Constants test, fix Clang compilation.
11 years ago
Vladimír Vondruš
2c0e1d2822
Fix ES2 build.
11 years ago