Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago
Vladimír Vondruš
15f27148b7
Doc: building updates and fixes.
14 years ago
Vladimír Vondruš
9cf48eee56
Platform: removed unneeded AbstractApplication base.
...
It's really not needed to have useless class defining only one function
(which wouldn't be used everywhere anyway).
14 years ago
Vladimír Vondruš
e1cd13021b
Platform/Application renaming.
...
Because with NaCl WindowContext doesn't make sense anymore, the classes
are now renamed:
* Contexts namespace -> Platform
* *WindowContext -> Application
Hopefully this is (one of) last crazy renaming runs.
14 years ago
Vladimír Vondruš
4d3dd19b9d
Initial NaCl support.
...
* Explicitly set OpenGL ES 2.0 support.
* Provide information about NaCl target to users.
14 years ago
Vladimír Vondruš
ae9914c587
Provide information about compatibility and ES 2.0 target to users.
14 years ago
Vladimír Vondruš
5d72cdc6a6
Updated toolchains submodule with NaCl support.
14 years ago
Vladimír Vondruš
17ee1d7fd8
Shaders: portable vertex color shader (currently 2D only).
14 years ago
Vladimír Vondruš
81b69f17e1
Shaders: another iteration in porting of Phong and Flat shaders to GLES.
...
Hope the reduced precision won't hurt.
14 years ago
Vladimír Vondruš
a4d5d3682b
Doc: added page with links to valuable "best practices" information.
14 years ago
Vladimír Vondruš
2779455c5f
Moved configuration to root CMakeLists so it is near to option() calls.
14 years ago
Vladimír Vondruš
93a5e7230f
Use OpenGL ES 2.0 specific definitions for extension-only functionality.
...
If targetting explicitly OpenGL ES 2.0, only gl2.h is included (not
gl3.h).
14 years ago
Vladimír Vondruš
9ccb1869fc
Added headers for OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
79e39585d3
Updated external OpenGL headers.
14 years ago
Vladimír Vondruš
45a236fb07
Temporary workaround for extension-only functionality in ES 2.0.
...
Will be re-enabled when some solution for extensions is done.
14 years ago
Vladimír Vondruš
b6b15e387f
Don't compile and install unsupported functionality if targetting ES 2.0.
14 years ago
Vladimír Vondruš
9701c8dacb
If targetting exactly ES 2.0, hide everything not available there.
...
Some target platforms supply their own OpenGL headers, thus we cannot
use our own from ES 3.0 and compilation fails.
On the other hand, this will be better for users as usage of unsupported
features will be catched right during compilation and not at runtime.
14 years ago
Vladimír Vondruš
dfccdf9b7e
Minor pedantic ordering fix.
14 years ago
Vladimír Vondruš
7c7163e17b
FindOpenGLES2.cmake: added library name for NaCl.
14 years ago
Vladimír Vondruš
67dbdd4b00
Fixed compiler warning when compiling with OpenGL ES support.
14 years ago
Vladimír Vondruš
5e648b2701
Fixed Color3/Color4 support in shader attributes.
14 years ago
Vladimír Vondruš
bef497c46a
SceneGraph rework, part 7: Drawable and Camera features.
...
* Camera is now templated also on underlying floating-point type.
* Drawable objects can be split into groups (e.g. for separated
rendering of transparent objects)
* Added (long time missing) test for draw() function.
14 years ago
Vladimír Vondruš
a65a0430d0
SceneGraph rework, part 6: base for grouped features.
14 years ago
Vladimír Vondruš
4e53b17f8d
SceneGraph rework, part 5: bulk transformation computing.
14 years ago
Vladimír Vondruš
ac38af4ef1
SceneGraph: cleanup and reorganization of Object test.
...
No functional change.
14 years ago
Vladimír Vondruš
342d2f46ac
SceneGraph: allow features to access scene and object's dirty status.
...
The downside of this is that the functions are now virtual, which makes
them slower than before. Maybe final qualifier would help?
AbstractObject::sceneObject() is marked as private in Object to avoid
confusion.
14 years ago
Vladimír Vondruš
abac1d26dc
SceneGraph rework, part 4: faster rotation for X, Y and Z axes.
...
By default implemented using rotate() so transformation implementers
don't need to bother, but MatrixTransformation3D reimplements it using
optimized rotation functions.
14 years ago
Vladimír Vondruš
06398dcf7c
SceneGraph rework, part 3: splitting base object.
...
Functionality present in Object is now split into three main components:
* Object itself, handling parent/children relationships
* Transformation implementation and interfaces for common functionality
* Object features, providing transformation caching and base for
cameras, collision shapes, rigid bodies etc.
Some functionality depending on former implementation is temporarily
disabled and will be reworked later.
14 years ago
Vladimír Vondruš
f66ded2d60
SceneGraph rework, part 2: introductional documentation.
...
To make sure we know where it all goes.
14 years ago
Vladimír Vondruš
f062f2dd86
SceneGraph rework, part 1: removed Light object.
...
It's nearly useless and doesn't contain any useful code. Will be done
differently.
14 years ago
Vladimír Vondruš
89bf91c487
Use full template name when accessing parent class.
14 years ago
Vladimír Vondruš
9459d4c6a1
Using isVersionSupported() instead of plain comparison.
...
It is more descriptive and easier to fix/modify when it is in one place.
14 years ago
Vladimír Vondruš
e4a6832eab
Accidentaly forgot commented-out code.
14 years ago
Vladimír Vondruš
6dc27374a4
Assert when creating Shader with unsupported version.
14 years ago
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