Vladimír Vondruš
daaf89a1a1
Added (explicit) operator bool to Set.
...
So things like if(!(set & Enum::Value)) are possible.
14 years ago
Vladimír Vondruš
fd0b01510c
Removed superfluous operators from Set class.
...
Moreover returning base type from & operator is bad, really bad: if it
results in 0, how it will map to original enum?
14 years ago
Vladimír Vondruš
000ac51583
Forgot to install visibility header for Shaders.
...
Hope this is the last bug caused by recent modularization.
14 years ago
Vladimír Vondruš
bf649d3bb8
Follow CMake coding guidelines in FindMagnum.cmake.
14 years ago
Vladimír Vondruš
3d750c5e7d
Don't check if OpenGL ES 2 was found when looking for EglContext.
...
Missed in 7e62a19401 .
14 years ago
Vladimír Vondruš
9f59288253
Checking whether Magnum was build for OpenGL ES in FindMagnum.cmake.
14 years ago
Vladimír Vondruš
1b989aa0cd
Don't use FindMagnum.cmake for populating *_INSTALL_DIR variables.
...
It's overly complicated to hack around all find_* algorithms just to
find some dependencies and set three variables.
14 years ago
Vladimír Vondruš
3a4041ce69
Updated FindMagnum.cmake documentation.
14 years ago
Vladimír Vondruš
7e62a19401
Don't try to find OpenGL ES more times than necessary.
14 years ago
Vladimír Vondruš
3c1c3d4668
Document Doxygen's inability to create full path, if it doesn't exist.
14 years ago
Vladimír Vondruš
6bd43a9f95
Modularization of building and installation process.
...
By default everything except contexts is built, features can be
enabled/disables using WITH_* CMake options.
14 years ago
Vladimír Vondruš
5c70b482e7
Fail when Qt4 is not found and BUILD_TESTS is set to true.
...
It's up to user to disable building of tests if Qt4 is not found,
instead of failing silently without user noticing it.
14 years ago
Vladimír Vondruš
92aab9753d
Fixed compilation of EglContext.
...
Introduced in 59ca55abe0 , we need 'None'
after all.
14 years ago
Vladimír Vondruš
75a6030205
(Incomplete) coding style for CMake code.
14 years ago
Vladimír Vondruš
6add425bb3
Cleaned up CMakeLists.txt.
14 years ago
Vladimír Vondruš
59ca55abe0
Undefine None from Xlib.h to avoid conflicts (e.g. in Framebuffer).
14 years ago
Vladimír Vondruš
d56270835e
Matrix3 code cleanup.
...
Don't assume the values are float, use T(0) instead of 0.0f.
14 years ago
Vladimír Vondruš
4b352e43f0
Doc: @todo++
14 years ago
Vladimír Vondruš
6ae92d5056
Matrix4 code cleanup
...
* Don't assume the values are float, use T(0) instead of 0.0f.
* Explicitly specify templated type.
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