Vladimír Vondruš
578e3635dc
Platform: add constructor for *Application::Arguments structs.
...
Apparently calling std::optional<Arguments>::emplace() doesn't work on a
struct that doesn't have any constructor.
11 years ago
Vladimír Vondruš
2e5eddc83b
MagnumFont, MagnumFontConverter: fix linker errors in tests on Windows.
11 years ago
Vladimír Vondruš
082fc1fe04
Display also all headers in project view of IDEs.
11 years ago
Vladimír Vondruš
defc04f6ac
Cleanup.
11 years ago
Vladimír Vondruš
98f5d8abf7
Platform: properly propagate return code from WindowlessWglApplication.
11 years ago
Vladimír Vondruš
d2b1685a71
Properly check extensions in BufferTextureGLTest.
11 years ago
Vladimír Vondruš
551e12f939
Added Test/AbstractOpenGLTester.h to project view of IDEs.
11 years ago
Vladimír Vondruš
e2bee28aa0
Properly initialize debug group implementation pointers in all cases.
...
Caused crash when using debug groups on platforms without KHR_debug.
11 years ago
Vladimír Vondruš
e647cecf55
Skip Renderbuffer::label() test if no extension is available.
11 years ago
Vladimír Vondruš
d86311bae9
Fix unused variable warning when building w/o assertions.
11 years ago
Vladimír Vondruš
fbe654cbe7
Trade: constexpr CameraData aren't a good idea anyway.
11 years ago
Vladimír Vondruš
f5abdda5e1
Fix linker errors with Framebuffer::InvalidationAttachment on Windows.
11 years ago
Vladimír Vondruš
9c5be808d0
Mark some files as having LF only to fix tests on Windows.
11 years ago
Vladimír Vondruš
d36b7acae3
Platform: fix compilation on Emscripten.
...
Uh.
11 years ago
Vladimír Vondruš
155a484e67
Platform: added Sdl2Application::tickEvent().
...
If implemented by the user, it is called periodically after processing
input events and before draw event and does not depend on whether there
are any input events or the application needs to redraw.
11 years ago
Vladimír Vondruš
3a968b035f
Finally deprecated Timeline::setMinimalFrameTime().
...
Replaced with combination of setSwapInterval() and
setMinimalLoopPeriod() on Platform::Sdl2Application.
11 years ago
Vladimír Vondruš
16057eeaff
Platform: ability to cap main loop period directly on Sdl2Application.
...
Complement to VSync in case it cannot be enabled or when no drawing is
done and the app is just waiting for an event.
11 years ago
Vladimír Vondruš
87e964ce69
Fixed build on GCC < 5.1 and Clang.
...
Apparently I can't do a change without breaking stuff somewhere. Sigh.
11 years ago
Vladimír Vondruš
b9f382f8f8
doc: mention the new base-qt bootstrap.
11 years ago
Vladimír Vondruš
387f3b78d6
Ability to move-construct Context.
...
Useful in this case:
std::optional<Platform::Context> context;
context = Platform::Context{};
This was currently possible only with calling context.emplace(), which
in my opinion is confusing and looks like a no-op. Move assignment is
still not allowed, because having two separate state trackers (and
deleting one of them) currently makes no sense.
11 years ago
Vladimír Vondruš
a8f04ec7a9
Proper naming of private variable.
11 years ago
Vladimír Vondruš
562d71dbe6
Math: ability to convert ranges from/to external representation.
11 years ago
Vladimír Vondruš
fbe4330298
Math: cleanup in tests.
11 years ago
Vladimír Vondruš
1a389f7a00
Math: work around bug in GCC 5.1 which broke the tests.
...
Reported here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66450 .
11 years ago
Vladimír Vondruš
52434fb55c
Math: ability to convert dual quaternions from/to external representation.
...
Still undocumented feature.
11 years ago
Vladimír Vondruš
94c4225165
Math: ability to convert quaternions from/to external representation.
...
Still undocumented feature.
11 years ago
Vladimír Vondruš
3afb810099
Math: ability to convert dual complex from/to external representation.
...
Still undocumented feature.
11 years ago
Vladimír Vondruš
690a3ad408
Math: ability to convert complex numbers from/to external representation.
...
Still undocumented feature.
11 years ago
Vladimír Vondruš
229d0b130c
Math: test code reorganization.
11 years ago
Vladimír Vondruš
fa3ec12dba
Math: actually test the conversion and not some random copy constructor.
11 years ago
Vladimír Vondruš
4027874b8d
Math: cleanup.
11 years ago
Vladimír Vondruš
1fcdffad41
Doc++
11 years ago
Vladimír Vondruš
e299e5e6af
Properly check for extensions in Framebuffer GL test.
11 years ago
Vladimír Vondruš
233a15b422
Added Framebuffer::detach().
11 years ago
Vladimír Vondruš
936397e229
Cleanup.
11 years ago
Vladimír Vondruš
4720a8db96
Implement NV_polygon_mode ES extension.
11 years ago
Vladimír Vondruš
df6acb10ab
Implement EXT_sRGB_write_control ES extension.
11 years ago
Vladimír Vondruš
6313791812
Don't expose EXT_sRGB on ES3/WebGL2 builds.
...
It is superseded by core functionality. The only annoyance is that you
need to use TextureFormat::SRGB in ES2 and TextureFormat::SRGB8 in ES3,
but that's with many other formats anyway. Also apparently the unsized
format is still allowed in core desktop GL, which is a shame.
11 years ago
Vladimír Vondruš
3bb62b7707
Ability to filter-out driver-specific "success" shader compilation logs.
...
Intel drivers on Windows print out "No errors." when the shader is
compiled/linked successfully. I consider that as unnecessary spam and
filter it out.
11 years ago
Vladimír Vondruš
608a80c20d
Improve ANGLE driver detection.
...
It is now also on ES3, avoid mistakenly detecting Internet Explorer
WebGL implementation as ANGLE (it has the same properties).
11 years ago
Vladimír Vondruš
5e9c0fc3c4
Merged driver-specific stuff into one dedicated file.
11 years ago
Vladimír Vondruš
826f174899
Platform: give up on any XHTML sanity.
...
F this thing.
11 years ago
Vladimír Vondruš
5a299af887
Doc++
11 years ago
Vladimír Vondruš
3bc7e66457
Trade: implement CameraData class.
11 years ago
Vladimír Vondruš
f8e2ebed00
Math: test NaN comparison behavior of Unit class.
...
Passes, obviously. What was I thinking.
11 years ago
Vladimír Vondruš
baea970e1f
Trade: no need to export empty type.
11 years ago
Vladimír Vondruš
ff6cc7b969
Simplify Mesh class internals.
...
The original goal was to avoid branches when binding the vertex
attributes for drawing, so I stored float, integral and double
attributes in separate std::vector instances and then was going through
each one of them in separate loop. In retrospect that was _not_ a good
idea, because it results in larger Mesh class, two more allocations
resulting in far more pointer chasing and more complicated
constructor/destructor.
Now everything is stored in a single vector. I may optimize it further
by not calling the constructor/destructor on it when VAOs are used.
11 years ago
Vladimír Vondruš
ad2b26c0b2
Trade: why am I returning naked pointer from a function?!
11 years ago
Vladimír Vondruš
cecb4863f7
Fix internal framebuffer binding on WebGL.
...
For some weird reason this was failing only on the Viewer example and
not anywhere else. Huh.
11 years ago
Vladimír Vondruš
8648d93324
Support Internet Explorer.
...
It claims to have WebGL 0.94.
11 years ago