Vladimír Vondruš
6b8a901b90
CMake < 2.8.8 compatibility.
...
* No OBJECT library targets - compilation with unit tests will take a
lot more time.
* No HANDLE_COMPONENTS in FindPackageHandleStandardArgs - added copy of
the file (and its dependencies) from CMake 2.8.8.
14 years ago
Vladimír Vondruš
2b3a2c4c03
GCC 4.4 compatibility: workaround for initializer list.
14 years ago
Vladimír Vondruš
fa55d91d2f
GCC 4.4 compatibility: lambda functions aren't supported yet.
14 years ago
Vladimír Vondruš
544eb56c04
GCC 4.4 compatibility: std::unordered_map::reserve() doesn't exist yet.
14 years ago
Vladimír Vondruš
4e847b7fcc
GCC 4.4 compatibility: worked around "Sorry, not implemented" error.
...
New function declaration syntax for deduced return types doesn't work
here fully yet.
14 years ago
Vladimír Vondruš
96bf65ff24
GCC 4.4 compatibility: missing headers.
14 years ago
Vladimír Vondruš
9ce284536e
Initial work for GCC 4.4 compatibility.
...
GCC 4.4 compatibility also enables GCC 4.5 compatibility.
14 years ago
Vladimír Vondruš
81cdc339f7
GCC 4.5 compatibility: Probably can't use initializer list here.
14 years ago
Vladimír Vondruš
f07c922051
GCC 4.5 compatibility: worked around "Sorry, not implemented" error.
...
SizeBasedCall is internally used only in MeshTools::compressIndices(),
modified the function to not use variadic templates, only the one
parameter used in compressIndices().
14 years ago
Vladimír Vondruš
a34c006ca5
GCC 4.5 compatibility: removed range-based for cycles.
14 years ago
Vladimír Vondruš
af915b2716
GCC 4.5 compatibility: GCC badly optimizes Matrix4::rotation*().
...
Redone in a way that the unit test passes.
14 years ago
Vladimír Vondruš
b3182b9e3f
GCC 4.5 compatibility: missing headers.
14 years ago
Vladimír Vondruš
ee62d39e6f
Initial work for GCC 4.5 compatibility.
...
GCC 4.5 doesn't know constexpr keyword and nullptr. As all constexpr
functions are here inline, it can be done with a simple macro.
14 years ago
Vladimír Vondruš
d5be1b43a6
OpenGL ES 2: GLchar is not defined on BeagleBoard/Ångström Linux 2011.3.
...
Added the typedef manually, shouldn't clash with the "official", if
present.
14 years ago
Vladimír Vondruš
51aa660f6c
Decoupled framebuffer operations from Camera class.
...
Now it is possible to render without using any Object, Scene or Camera
classes. Framebuffer class now manages features, clearing and setting
viewport. Added position parameter to setViewport(), ability to clear
specified features in clear().
14 years ago
Vladimír Vondruš
9b642413bf
Doc: cleaned up something very ancient.
14 years ago
Vladimír Vondruš
65289db3d5
Using Set for Framebuffer::BlitMask.
14 years ago
Vladimír Vondruš
c150f92d4a
Added complement operator to Set.
14 years ago
Vladimír Vondruš
a7b9407674
Using explicit conversion operator instead of Set::toUnderlyingType().
14 years ago
Vladimír Vondruš
2a474e9005
Set::operator&= cannot be const.
14 years ago
Vladimír Vondruš
3cd991d04d
Forgot hiding also Mesh function implementation from documentation.
14 years ago
Vladimír Vondruš
92b4429e2c
New class ImageWrapper.
14 years ago
Vladimír Vondruš
ba4dec8ec0
Use array delete operator for deleting array.
14 years ago
Vladimír Vondruš
fa9836756a
SizeBasedCall: unneeded templated constructor.
14 years ago
Vladimír Vondruš
24e4f819df
Unneeded constructor parameter in TipsifyTest.
14 years ago
Vladimír Vondruš
9d31231471
Pedantic: first inline, then constexpr, then static.
...
Moreover all constexpr functions are meant to be inline here, mark them
as such.
14 years ago
Vladimír Vondruš
3824190a50
Fixed comma at the end of enumeration list (GCC 4.5 noticed it).
14 years ago
Vladimír Vondruš
c89ceea72f
Renamed configureMagnum -> magnumConfigure.
14 years ago
Vladimír Vondruš
6f65dd972c
Renamed visibility configuration headers to resemble library names.
14 years ago
Vladimír Vondruš
29723d0975
Fixed texture subdata setters.
...
Functions for setting 2D subimage of 3D texture / 1D subimage of 2D
texture introduced in 728ddb19a3 weren't
probably tested at all, as they are ambiguous overloads.
Now using std::enable_if, which works.
14 years ago
Vladimír Vondruš
6b55ca96f3
Barebone X/EGL context.
14 years ago
Vladimír Vondruš
b5699863f2
Doc: @todo++
14 years ago
Vladimír Vondruš
c7bb153d0a
Port to OpenGL ES 2.
...
Desktop OpenGL and OpenGL ES 2 support can be switched using CMake
TARGET_GLES option. All functionality not supported in ES is marked in
documentation.
If targetting OpenGL ES, GLES2/gl2.h is included instead of GLEW.
Mesh class now uses VAOs only in desktop OpenGL, in ES the buffers are
bound on each draw call.
14 years ago
Vladimír Vondruš
0ac52b1c8b
Doc++
...
Added some TODOs, hiding internal Mesh implementation from the
documentation.
14 years ago
Vladimír Vondruš
1720a67984
Trade::ObjectData: support for empty instances.
...
The instance has then ID -1.
14 years ago
Vladimír Vondruš
43fbbb91fa
Bumped version of AbstractImporter interface due to recent changes.
14 years ago
Vladimír Vondruš
28b28d66f1
AbstractImporter: Added functions for matching IDs and names.
...
Also added getters for names in all *Data classes.
14 years ago
Vladimír Vondruš
95e65ac830
AbstractImporter: strongly-typed Feature enum.
...
Function features() now returns strongly-typed set.
14 years ago
Vladimír Vondruš
d5d0e49536
Trade: using signed/unsigned int instead of size_t for IDs.
...
Some functions need to return "invalid ID", which in case of size_t
cannot be -1.
Also the plugins should behave the same in 32/64bit systems, so the type
should be the same for both.
14 years ago
Vladimír Vondruš
cc4d05781f
@todo++
14 years ago
Vladimír Vondruš
f4496a0ba2
Fixed typo.
14 years ago
Vladimír Vondruš
718f1f6743
Set implementation for strongly-typed enums.
14 years ago
Vladimír Vondruš
e66779df32
Shader: follow pipeline order in Type enum.
14 years ago
Vladimír Vondruš
4e86dfa6ca
Less verbose program parameter setters.
...
In future there might be functions which take values other than GL_TRUE
and GL_FALSE and this approach would be unsustainable.
14 years ago
Vladimír Vondruš
901c987d35
Coding style: where to put deleted constructors and assignment operators.
14 years ago
Vladimír Vondruš
2d18915dcc
Un-confused documentation.
14 years ago
Vladimír Vondruš
72f2bf3ff9
Support for setting shader program parameters.
...
Updated call order documentation to be more precise.
14 years ago
Vladimír Vondruš
8ad76ad7e5
Fixed Windows build.
...
* CMAKE_SHARED_LIBRARY_CXX_FLAGS is empty here, caused CMake errors.
* CMake's OBJECT target has a bug that it doesn't define target_EXPORTS
as with other library targets, so it's needed to define it manually.
It also fixes empty flags issue.
* Visibility headers weren't updated for OBJECT targets, they now also
catch *Objects_EXPORTS defines.
14 years ago
Vladimír Vondruš
4af08d04c1
Renamed visibility headers to distinguish them from API headers.
...
Also added note about that to coding style documentation.
14 years ago
Vladimír Vondruš
9170728c66
@todo++
14 years ago