Vladimír Vondruš
b9fbbb117b
Don't use constexpr here.
...
* The class has std::vector in it.
* The class has virtual destructor.
14 years ago
Vladimír Vondruš
350fb3a64c
Fixed documentation of Vector::angle().
14 years ago
Vladimír Vondruš
2dd0a68329
Internal "traits" cleanup.
...
Don't use constexpr class members, as their usage is not so convenient
compared to classic inline functions.
14 years ago
Vladimír Vondruš
02267d1439
Doxygen configuration.
...
* Don't extract local classes.
* Don't include header code in documentation (the only purpose would be
to scare users off).
* Include template implementation files in documentation.
14 years ago
Vladimír Vondruš
1437043c62
Fixed compiler warning.
14 years ago
Vladimír Vondruš
a021e4e209
Using CORRADE_INTERNAL_ASSERT() for, ahem, internal issues.
14 years ago
Vladimír Vondruš
b2f42f234e
Documentation fixes and updates.
14 years ago
Vladimír Vondruš
ba86c3d2f8
Avoid crash when glGetString(GL_EXTENSIONS) returns nullptr.
14 years ago
Vladimír Vondruš
6f6d3d09b2
Blind port of FlatShader to OpenGL 2.1 and OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
084294e60b
Blind port of PhongShader to OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
c72390d139
EglContextHandler: better error handling.
14 years ago
Vladimír Vondruš
ca061091f9
Using nullptr instead of 0.
14 years ago
Vladimír Vondruš
a3c908f5fa
Don't show Query for ES 2.0 target.
...
It isn't (and won't be) supported there, so why not hide it.
14 years ago
Vladimír Vondruš
1c67fc3c66
Fixed unintialized variable.
...
Accidentaly found when running unit tests on GLES build.
14 years ago
Vladimír Vondruš
81ae500fd8
Fixed typo.
14 years ago
Vladimír Vondruš
0cb857b66f
@todo++
14 years ago
Vladimír Vondruš
818fdefbd6
Added convenience function Context::supportedVersion().
14 years ago
Vladimír Vondruš
ef3a28e5d4
Added missing value to Framebuffer::DefaultReadAttachment.
14 years ago
Vladimír Vondruš
264a2e768f
Don't compile/install desktop-only features if targeting OpenGL ES.
14 years ago
Vladimír Vondruš
b12792d15a
Updated OpenGL ES support in textures.
14 years ago
Vladimír Vondruš
4bfc745970
Updated OpenGL ES support in queries.
14 years ago
Vladimír Vondruš
fc0b405ccb
Updated OpenGL ES support in Framebuffer.
14 years ago
Vladimír Vondruš
50a0e5558e
Updated OpenGL ES support in Mesh and IndexedMesh.
...
VAOs could be supported with extensions, thus not disabling them for
ES2.
14 years ago
Vladimír Vondruš
e2023ab278
Updated OpenGL ES support in Context and related files.
14 years ago
Vladimír Vondruš
bb2fe188db
Updated OpenGL ES support in Buffer and related classes.
14 years ago
Vladimír Vondruš
29893ebe82
Updated OpenGL ES support in shaders.
14 years ago
Vladimír Vondruš
1db86e7388
Updated Doxygen commands for OpenGL ES, mentioned them in coding style.
14 years ago
Vladimír Vondruš
a755a0a8aa
Doc++
...
I had no idea what that code was doing. Better to be documented.
14 years ago
Vladimír Vondruš
930c9f2a5d
Don't have `default:` in switches where all cases need to be handled.
...
Also added assert for cases which shouldn't be reached.
14 years ago
Vladimír Vondruš
efa7cbc079
Fixed Mesh move constructor and move assignment operator.
...
Forgot to move integer and long attributes. Also using move instead of
copy for vectors.
14 years ago
Vladimír Vondruš
68f0bac60a
Fixed compilation of Contexts::EglContextHandler.
14 years ago
Vladimír Vondruš
3191b477df
Typedef 2D and 3D alternatives of FlatShader.
...
More intuitive than e.g. FlatShader<2>.
14 years ago
Vladimír Vondruš
d46bc34390
Moved flat shader from internal physics implementation to Shaders.
...
It is so general that it can be reused elsewhere.
14 years ago
Vladimír Vondruš
fe8d36db56
Doc++
14 years ago
Vladimír Vondruš
e9329745e8
Using `override` keyword in all places I can think of at this time.
14 years ago
Vladimír Vondruš
6ebe42c3a9
Compatibility mode for GCC 4.6.
...
4.6 doesn't support `override` keyword, using preprocessor macro to
simply hide it. The compatibility mode must be explicitly enabled,
though, using GCC46_COMPATIBILITY CMake option.
14 years ago
Vladimír Vondruš
b5fc786478
Renamed Matrix4::[xyz]Rotation() to Matrix4::rotation[XYZ]().
...
* "Rotation around [XYZ]" makes more sense than "[XYZ] axis rotation".
* This naming will appear in autocompletion.
* SceneGraph transformation methods will be named similarly
rotate[XYZ]() (because [xyz]Rotate() is weird even more).
14 years ago
Vladimír Vondruš
f707e91599
Better parameter names in Matrix transformation methods.
...
Mainly it is now explicitly stated in parameter name that rotation axis
must be normalized.
14 years ago
Vladimír Vondruš
c460fdc059
Doc++
14 years ago
Vladimír Vondruš
bf55b5854b
TypeTraits: Default inheritance type for structs is public.
...
Simplified already too long lines.
14 years ago
Vladimír Vondruš
259a9f6666
Type-checked vertex attributes with type conversion possibility.
...
* Normalization of e.g. color components passed as unsigned byte to
float values is possible.
* BGRA vector component ordering is possible.
* Proper type checking, allowing only GLSL-equivalent types to be used
as attributes.
* Reverted back to typedef'ing shader attributes, as type conversion
can now be specified in constructor.
14 years ago
Vladimír Vondruš
cb1c3f0b2b
Preparation for type checked vertex attributes.
...
Currently it was possible to pass e.g. five-component vector or 2x1
matrix to shader, we don't want that.
14 years ago
Vladimír Vondruš
42af2c1a49
Fixed serious copy/paste error.
...
Unnoticed since c1cf94fb46 .
14 years ago
Vladimír Vondruš
adb4d06b95
Have consistent template order (first size, then type).
14 years ago
Vladimír Vondruš
eec4e7d099
Implementation of double vertex attributes in Mesh.
14 years ago
Vladimír Vondruš
5efa8402e5
Marking some non-implemented features as "won't be supported".
14 years ago
Vladimír Vondruš
9f48ba1d53
Added @todo and new extension.
14 years ago
Vladimír Vondruš
84850b5bf9
Updated AbstractShaderProgram documentation.
...
* #version directive doesn't belong to shader sources, since it is
specified in Shader constructor.
* It's not needed to call use() before setUniform() anymore.
14 years ago
Vladimír Vondruš
6278db11e2
Don't show links to extension functions in non-proportional font.
14 years ago
Vladimír Vondruš
77716dacdd
Mesh rework, part 7: using EXT_direct_state_access for vertex pointers.
14 years ago