Vladimír Vondruš
0646a6a12e
Contexts: updated default window names.
14 years ago
Vladimír Vondruš
11823f6600
Context: use glGetString(GL_EXTENSIONS) on GL 2.1.
...
glGetStringi() is since GL 3.0.
14 years ago
Vladimír Vondruš
141b20a612
Renamed Contexts::*Context to *ContextHandler.
...
Finally (and hopefully) consistent and non-confusing naming.
14 years ago
Vladimír Vondruš
07df630b24
Modified Sdl2WindowContext for source compatibility with others.
...
Stripped off key repeat and separate function for mouse wheel handling.
14 years ago
Vladimír Vondruš
ad19b2734b
More renaming: Context -> WindowContext.
14 years ago
Vladimír Vondruš
fa774370aa
GCC 4.6 doesn't support template aliases.
14 years ago
Vladimír Vondruš
3d77885555
Revert "Overflow test for large types in Math::normalize() started working."
...
It was working because of some weird state of my build dir, expecting
fail again.
This reverts commit 75d0505a60 .
14 years ago
Vladimír Vondruš
e95c31720e
GCC 4.6 compatibility of Extension class.
...
It doesn't like const members, as std::vector doesn't have proper move
semantic yet.
14 years ago
Vladimír Vondruš
5121d8ba99
Removed last trace of QtTest library.
14 years ago
Vladimír Vondruš
4927be44cf
Context class must be instantiated after initializing extensions.
14 years ago
Vladimír Vondruš
1cc13db704
Timeline class.
14 years ago
Vladimír Vondruš
75d0505a60
Overflow test for large types in Math::normalize() started working.
...
I don't know what caused that... :-)
14 years ago
Vladimír Vondruš
4152e1fc9d
Better ability to create portable shaders.
...
Now the #version string is added from Shader class itself, making it
possible to do workarounds for older versions more conveniently. As a
consequence, #version must not be part of shader source anymore.
14 years ago
Vladimír Vondruš
13bb600c3e
Creating Context instance in all *Context classes.
...
The naming is now kinda schizofrenic, hope I come up with something
better.
14 years ago
Vladimír Vondruš
c2949d6b59
More Xlib workarounds...
14 years ago
Vladimír Vondruš
ae28de197b
Classes for handling version and extension information.
14 years ago
Vladimír Vondruš
a5ab6253b7
Contexts refactoring.
...
Contexts attached to window are now *WindowContext, pure contexts are
just *Context.
14 years ago
Vladimír Vondruš
bd665cb280
More texture and renderbuffer internal formats supported in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
f15906b28b
Fixed linking errors when only OpenGL ES 2 is available.
...
This is currently toggled with TARGET_OPENGLES2 option, which is enabled
by default when TARGET_OPENGLES is enabled.
14 years ago
Vladimír Vondruš
7a066672cd
Queries (except for timing ones) are available in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
ac3a8b55d6
New Compute shader stage in OpenGL 4.3.
14 years ago
Vladimír Vondruš
1c8bda59b2
Unsigned uniforms and retrievable hint supported in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
6c244eb703
CubeMapTexture is always seamless on OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
b067a6d1dc
Several new buffer targets and usages are available on OpenGL ES 3.0.
...
In turn also BufferedImage is now available on OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
3271896b15
Deprecated uniformLocation() in favor of GL 4.3 explicit uniform location.
14 years ago
Vladimír Vondruš
5310326e69
Enabled RGB565 and BPTC textures, as they are now in headers.
14 years ago
Vladimír Vondruš
e378195d20
Added headers for OpenGL 4.3 and OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
e213979559
Fixed compilation on OpenGL ES.
14 years ago
Vladimír Vondruš
d88171aaae
Simplified linking step.
14 years ago
Vladimír Vondruš
23f93cd65e
Mention @fn_gl and @def_gl in Coding Style manual.
14 years ago
Vladimír Vondruš
035bd4d376
Links to documentation of related gl*() function.
...
Each function touching OpenGL now has list of all related functions
touching OpenGL.
14 years ago
Vladimír Vondruš
f3a07f82f4
Method chaining for textures.
14 years ago
Vladimír Vondruš
0bf1b62080
Framebuffer: ability to specify which polygon facing to cull
14 years ago
Vladimír Vondruš
dfb4e0f807
Mesh: ability to specify which polygons are front facing.
14 years ago
Vladimír Vondruš
d5614a2f2c
Mesh: added support for polygon offset.
14 years ago
Vladimír Vondruš
fd1ae3f775
Mesh: added support for provoking vertex selection.
14 years ago
Vladimír Vondruš
092d2fc897
Doc++
...
* Workarounds for unsupported features in OpenGL ES.
* Initial values for some states.
14 years ago
Vladimír Vondruš
7d3435f483
SceneGraph: method chaining also for Camera.
...
Mention it also in documentation to hint users to use it.
14 years ago
Vladimír Vondruš
6b5c20bc83
Grouped global mesh settings together.
14 years ago
Vladimír Vondruš
b8d18d01ec
Using initializer lists in Primitives tests.
14 years ago
Vladimír Vondruš
b7d6a7e67d
De-inlined MeshTools::CompressIndices.
...
The class doesn't export anything templated in its API, so it's a waste
to have everything in the header.
14 years ago
Vladimír Vondruš
08c8696978
Doc++, added missing inline.
14 years ago
Vladimír Vondruš
fe62f547de
Reduced #includes in headers.
...
Magnum.h now doesn't include anything except OpenGL headers, thus
changes in Math library don't trigger recompilation of everything, but
only of things really depending on it.
Math constants moved to separate file for similar reasons, de-inlined
some functions to remove the need for some #includes.
14 years ago
Vladimír Vondruš
c78cc95284
Physics: Moved Point constructor to source file.
...
Point has virtual functions, this avoids creating vtable for it in every
compilation unit.
14 years ago
Vladimír Vondruš
7fbf28f4a1
Added Cylinder primitive.
14 years ago
Vladimír Vondruš
e17835e3b6
Primitives: Ability to specify number of cylinder rings on Capsule.
14 years ago
Vladimír Vondruš
de2b1b77d5
Using Compare::Containers in primitive unit tests.
14 years ago
Vladimír Vondruš
d12ce5b2b4
Fixed copy-pasta documentation.
14 years ago
Vladimír Vondruš
30032a5971
Don't confuse vertices and vertex positions.
...
Mesh consists of vertices, each vertex has position, texture coordinate,
color, normal, etc.
14 years ago
Vladimír Vondruš
6882cd9447
Fixed example (strongly typed enums) in AbstractShaderProgram.
14 years ago