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š
7398b6ef8c
modules: fixed Find*GL*.cmake, updated coding style.
...
It's meaningless to have *_INCLUDE_DIR point to the dir where
{egl.h,gl2.h,gl3.h} exists, because we're always including the files
using full path (e.g. <EGL/egl.h>). It then fails miserably at compile
time on platforms which don't have the parent directory in include path.
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
Vladimír Vondruš
95c7fc7a56
Ignore macro which confuses Doxygen.
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š
a118bec88b
Super secret stuff.
...
Reason: I'm first on Google for "c++11 opengl" and I want to be first
also for "c++14 opengl", heh.
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š
058108c622
Make BUILD_STATIC_PIC CMake option independent.
...
Currently it was visible only if BUILD_STATIC was set, but it affects
both BUILD_STATIC and BUILD_PLUGINS_STATIC. And because
CMakeDependentOption doesn't support logic OR, I can't make it visible
if either of these two is set, so I'm just making it visible all the
time.
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š
7a2914d5f4
Doc++
11 years ago
Vladimír Vondruš
ea7635b147
doc: cleanup.
11 years ago
Vladimír Vondruš
aff0824185
We finally have also IRC channel!
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š
941408035c
Updated toolchains submodule.
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š
cc79efa1de
package: enable XEglApplication where possible.
...
Only in CI and dev PKGBUILDs, as EGL might not be available on all
platforms.
11 years ago
Vladimír Vondruš
d271cb4790
doc: fix Doxygen/Markdown conflicts.
11 years ago
Vladimír Vondruš
46b87fc28e
Enable XEglApplication also on desktop.
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