Vladimír Vondruš
326fcf91cb
Trade: doc++
10 years ago
Vladimír Vondruš
db18016ef0
Trade: test construction and assignments of the container classes.
10 years ago
Vladimír Vondruš
1bfa4c9846
Trade: make most constructors and assignments noexcept.
10 years ago
Vladimír Vondruš
7d8b2ce9a6
Print value of invalid enums in debug output, test those cases.
10 years ago
Vladimír Vondruš
3ab77b9112
Stress how Array instances returned from plugins should look like.
10 years ago
Vladimír Vondruš
f3f4f1c779
Platform: include version-specific APIs in Doxygen, too.
10 years ago
Vladimír Vondruš
6a8c121c81
Platform: glfwGetKeyName() is since 3.2.
10 years ago
Vladimír Vondruš
26d0df06b7
Test ResourceState debug output.
10 years ago
Vladimír Vondruš
b969c71403
Audio: minor cleanup.
10 years ago
Vladimír Vondruš
d9f83f1fd2
Audio: test Buffer construction.
10 years ago
Vladimír Vondruš
771b4d517a
Exclude debug operators from code coverage.
10 years ago
Vladimír Vondruš
e86d9100e3
package/ci: ignore all GL-related code in the code coverage report.
...
Can't run tests for that on Travis...
10 years ago
Vladimír Vondruš
4fe3afed2d
package/ci: enable coverage reports on Travis CI.
10 years ago
Vladimír Vondruš
bd24edd2ad
Platform: doc cleanup.
10 years ago
Vladimír Vondruš
8e632130b8
Platform: added *Application::KeyEvent::keyName().
...
The SDL2 variant works better than expected, however the GLFW variant
underdelivers -- no key names for modifier keys, the accent keys are not
UTF-8... I don't care ATM, will solve it once someone actually
complains.
10 years ago
Vladimír Vondruš
7c631d714a
Platform: expose key repeat in *Application::KeyEvent::isRepeated().
10 years ago
Elliot Saba
c5e22ae560
Platform: send GLFW_REPEAT events through `keyPressEvent()`
10 years ago
Vladimír Vondruš
ac1cda6334
Math: simplify Constants test by making it templated.
10 years ago
Vladimír Vondruš
96e57ff876
Math: simplify the SVD test code by making it templated.
10 years ago
Vladimír Vondruš
d998cb0f76
Fix another pixel storage corner case.
...
The test passes again.
10 years ago
Vladimír Vondruš
612fa59dd6
Test another pixel storage corner case.
...
The calculated size is again larger than expected. This is getting
tiresome.
10 years ago
Vladimír Vondruš
bf393fad59
Math: fix/workaround constexpr test compilation on MSVC 2015.
10 years ago
Vladimír Vondruš
951f116f5b
Math: added RectangularMatrix::flipped{Cols,Rows}().
10 years ago
Vladimír Vondruš
633d792e3d
Math: added Vector::flipped().
10 years ago
Vladimír Vondruš
ab6ffe68ee
Math: Added Algorithms::qr().
10 years ago
Vladimír Vondruš
ed0e4adeda
Text: don't leak AbstractLayouter subclasses.
...
They are passed in a std::unique_ptr<AbstractLayouter> and with the
non-virtual destructor their destructors weren't called. Found by
AddressSanitizer.
10 years ago
Vladimír Vondruš
fab154290c
Fix compilation on not-exactly-recent updates of MSVC 2015.
10 years ago
Vladimír Vondruš
c3e31b69ad
SceneGraph: fix compilation of Camera class with double as T.
...
Thanks to @ManuelK89 for the report. Actually I should add proper test
cases for both float and double version, but I have other high-priority
tasks ATM, so it has to wait until later.
10 years ago
Vladimír Vondruš
ce0941130c
Fix wrongly calculated expected PixelStorage test values on WebGL 1.
10 years ago
Vladimír Vondruš
feecf4009b
Fix build on ES2/WebGL 1.
10 years ago
Vladimír Vondruš
4988c1ccf7
Ability to control the amount of console output in engine initialization.
10 years ago
Vladimír Vondruš
00891e941d
Ability to pass const char** arguments to Platform::Context.
10 years ago
Vladimír Vondruš
176a72653e
Platform: update WindowlessWindowsEglContext to match the WglContext.
...
Applied 78ddfad543 on this class. Also
fixed suspicious window creation -- the private member variable was
never initialized.
10 years ago
Vladimír Vondruš
fbb363e9d0
Platform: work around horrible wglMakeCurrent() API design.
...
It fails when a null HDC parameter is passed to it. WHAT THE HELL.
10 years ago
mdietsch
78ddfad543
Platform: avoid registering WNDCLASS more than once.
...
Fixes an issue when creating the context more than once in a single
application. Also changed the API calls to be explicitly "W" and added
proper error reporting to this part of code.
10 years ago
Vladimír Vondruš
1cfd2dc7b5
Fix image data size computation with pixel storage skip applied.
...
It now tries to find smallest line/rectangle/cube that covers the area.
Previously it was a bit more in some cases.
10 years ago
Vladimír Vondruš
edf77e6062
package/ci: removed old debug output.
10 years ago
Vladimír Vondruš
cb064f1fba
package/ci: minor consistency updates.
10 years ago
Vladimír Vondruš
eaeda24399
Don't restrict Double usage on OpenGL ES.
...
Restrict only what's not defined by GL on the ES flavor (double
attributes and uniforms). I love the smell of burning code.
10 years ago
Vladimír Vondruš
286aaf2541
package/ci: this is not true anymore.
10 years ago
Squareys
64d94a12b2
modules: Handle SDL2 library achitecture when building on windows.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
946aab3e87
Platform: properly restore previous GL context in WindowlessWglApp.
...
Now it is actually possible to create another context and not break the
current GL state on Windows.
10 years ago
Vladimír Vondruš
7685cdf112
Fix CMake configuration in case CMAKE_CXX_FLAGS is empty.
...
Thanks @LB-- for pointing that out!
10 years ago
Vladimír Vondruš
24ad2fef27
Properly export Framebuffer::DrawAttachment::None.
...
Was causing linker failures on Windows.
10 years ago
Vladimír Vondruš
4c45341353
Test also using Framebuffer::DrawAttachment::None.
10 years ago
Vladimír Vondruš
288a1f265c
Math: this shouldn't have been here.
...
Fixes test failures on *all* platforms. Ha!
10 years ago
Vladimír Vondruš
1e5e4843a9
Platform: expose also modifier keys in KeyEvent::Key enum.
...
Was done for GLFW but not for SDL2. Also updated the docs to reflect the
connection between them.
10 years ago
Vladimír Vondruš
c2d2737ca6
Math: test and document Matrix4::*projection() harder.
10 years ago
Vladimír Vondruš
41253de1d5
Math: make Matrix4::transformPoint() work with projection matrices.
...
Dividing by w instead of ignoring it.
10 years ago
Vladimír Vondruš
9b744250cf
Don't use deprecated Corrade functionality.
10 years ago