Vladimír Vondruš
905cd2fb9f
Doc++
13 years ago
michael chung
5218fda6f8
Platform : This commit will allow failsafe core context creation on Mac OS X.
...
Before this commit the default context creation in tryCreateContext
would create the OpenGL 2.1 context.After this commit by default,
the OpenGL 3.2 context is created by default, if this fails
tryCreateContext will fall back to creating a OpenGL 2.1 context.
13 years ago
Vladimír Vondruš
ca053ac102
Install also AbstractObject.h.
...
How on earth could I forget.
13 years ago
Vladimír Vondruš
e7d7cc1f98
modules: added comment explaining include path issues with SDL1/OSX.
13 years ago
michael chung
7476b78c64
1.Build problems on Mac OS X (10.9)
...
Recommended fix:
https://github.com/mosra/magnum/blob/master/modules/FindSDL2.cmake#L46 to list only SDL_scancode.h (i.e. remove SDL.h)
Test:
Add SDL2 Lib to the /Libraries/Frameworks/
Builds file.
Add SDL2 Lib and SDL1 to the /Libraries/Frameworks/
Build fails.
Remove SDL.h from at line 46.
Builds fine.
Remove SDL 1 from the /Libraries/Frameworks/
Builds fine.
13 years ago
Vladimír Vondruš
33775e33ca
Fixed compilation of test on ES2.
13 years ago
Vladimír Vondruš
50d0cb6e1e
Minor cleanup.
...
Fixes Clang warnings.
13 years ago
Vladimír Vondruš
85a2246911
Add missing file.
...
Aargh.
13 years ago
Vladimír Vondruš
7f22b9c214
Support for debug message callback from KHR_debug.
13 years ago
Vladimír Vondruš
3ad9050e15
Disallow overriding exec() in GL tests.
13 years ago
Vladimír Vondruš
f2d3ecca7c
Platform: display DebugMessage limits in magnum-info.
13 years ago
Vladimír Vondruš
ea98281612
New class DebugMessage for inserting debug messages via KHR_debug.
...
Previously this was done in DebugMarker only via GREMEDY_string_marker
on desktop and EXT_debug_marker on ES, now supporting both three on
desktop and KHR/EXT version on ES. The old DebugMarker is now only a
thin wrapper around DebugMessage, is marked as deprecated and will be
removed in future release.
13 years ago
Vladimír Vondruš
e88143fb9e
Added EXT_debug_marker extension to the list and GL headers.
13 years ago
Vladimír Vondruš
dfd86079bc
Minor cleanup.
13 years ago
Vladimír Vondruš
c9104906e7
Use CORRADE_TARGET_WINDOWS instead of _WIN32.
13 years ago
Vladimír Vondruš
c4a28965cb
modules: updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
2c73bbb0b9
Remove offensive comment.
...
EXT_debug_label originated in ES and that was way before KHR_debug. In
fact, KHR_debug is inspired after that.
13 years ago
Vladimír Vondruš
34954a54e3
Use std::string::data() instead of std::string::c_str().
...
Meaningless changes on meaningless day.
13 years ago
Vladimír Vondruš
f1e2bf3b93
Fixed documentation links to EXT_debug_label.
13 years ago
Vladimír Vondruš
4c33f86101
Doxyfile: added annother variant of extension links.
13 years ago
Vladimír Vondruš
d1144b0484
GCC 4.6 compatibility: no std::string::pop_back().
13 years ago
Vladimír Vondruš
c24bae8431
Fix tests on ES build.
13 years ago
Vladimír Vondruš
92a161fbda
Platform: display label limits in magnum-info.
13 years ago
Vladimír Vondruš
b2325dda2f
Support for object labels from KHR_debug and EXT_debug_label.
...
Can't test EXT_debug_label, as that is apparently OSX 10.9-only. Added
GL tests for all implemented objects. KHR_debug is selected first, if
that is not available, fall back to EXT_debug_label. If neither is
available, the functions are no-op.
I hope EXT_debug_label gets replaced by KHR_debug later, thus it is now
only "emulated" through KHR_debug enums.
13 years ago
Vladimír Vondruš
100527cd3d
Remove obsolete glLoadGen-related workarounds.
13 years ago
Vladimír Vondruš
11da68aff4
external: updated glLoadGen-generated GL headers.
...
Added EXT_debug_label to them.
13 years ago
Vladimír Vondruš
0d262bda41
Added EXT_debug_label extension to the list.
13 years ago
Vladimír Vondruš
bfe6033348
Minor cleanup.
13 years ago
Vladimír Vondruš
f0ec6ffb21
Xlib.h, I hate you sincerely.
13 years ago
Vladimír Vondruš
c74c107e7f
Add Mesh::id() for consistency.
13 years ago
Vladimír Vondruš
d4162a4160
Platform: add dummy title setting function to NaClApplication.
...
So the user doesn't need to wrap it in #ifdefs when porting to NaCl.
13 years ago
Vladimír Vondruš
fc1a486f00
Platform: ignore Sdl2Application title in Emscripten.
13 years ago
Vladimír Vondruš
27a80cb76e
Shaders: doc++
13 years ago
Vladimír Vondruš
5b56235084
Adapted to Corrade changes.
13 years ago
Vladimír Vondruš
48ee52b14f
Remove misleading comment.
...
We need 2.8.8 for much more things.
13 years ago
Vladimír Vondruš
f796b5a781
Ignore CORRADE_DEPRECATED() macro in Doxygen.
13 years ago
Vladimír Vondruš
2157123de0
Updated toolchains submodule.
13 years ago
Vladimír Vondruš
8850f69f20
external: updated Optional with Native Client support.
13 years ago
Vladimír Vondruš
0204669735
Platform: add at least some support for wheel events to NaClApplication.
...
In NaCl the wheel event is something completely different than mouse
event and in my opinion overly complicated (the scrolled distance is
measured in pixel precision!).
To preserve at least some compatibility with other toolkits, the events
are shoved into normal MouseEvent. Sadly the event doesn't contain any
position information.
13 years ago
Vladimír Vondruš
282ee58c62
Math: work around missing std::round() in NaCl newlib.
...
Also test that our implementation behaves the same.
13 years ago
Vladimír Vondruš
744cc2f806
Text: fix error in fontconverter utility documentation.
13 years ago
Vladimír Vondruš
ae9c02d591
Text: actually have some sane default plugin dir.
13 years ago
Vladimír Vondruš
dfeeff779b
Shaders: oops.
13 years ago
Vladimír Vondruš
0e370efa0c
Work around missing types in NaCl's `gl2.h`.
13 years ago
Vladimír Vondruš
dbafac0ba3
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
1251d44aec
Use "" instead of <> for inter-project includes.
13 years ago
Miguel Martin
0670f59c95
Added colour uniform to flat shader (event when texturing is enabled)
...
This enables blending and transparency
Default colour is white (and fully opaque)
13 years ago
Vladimír Vondruš
28de7cb72d
Text: fix array index type in Renderer.
...
When we have 256 vertices and >256 indices, we need more than 8 bits to
index the index array. The tests are passing again.
13 years ago
Vladimír Vondruš
6dd40e744d
Text: it's totally fine to have 256 vertices indexed with UnsignedByte.
13 years ago
Vladimír Vondruš
8331696707
Text: test that proper index type is used in Renderer.
...
Something smells fishy here.
13 years ago