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
Vladimír Vondruš
35c3f7d05d
Platform: link magnum-info to WindowlessEglApplication in EGL Linux builds.
10 years ago
Vladimír Vondruš
0c52d79707
Platform: oops.
10 years ago
Elliot Saba
e40533b841
Platform: Add Sdl2Application::InputEvent::Modifier::Super.
...
Maps to the Windows/⌘ key.
10 years ago
Vladimír Vondruš
140f378739
Platform: rename GlfwApplication::InputEvent::Modifier::AltGr to Super.
...
It's not AltGr, it's the Windows (or ⌘) key.
10 years ago
Elliot Saba
7fd78b28fb
Change GLFW keymappings to use actual GLFW defines
...
Note that the `Plus` and `Percent` keys are not available without using
the SHIFT key on the typical US English keyboard layout, and as such do
not have dedicated `#define`'s in `GLFW.h`.
10 years ago
Vladimír Vondruš
798ec9af9b
Platform: use BUILD_STATIC_PIC for windowless application libraries.
...
Makes sense now that they provide WindowlessGLContext which can be used
from shared libraries.
10 years ago
Vladimír Vondruš
ca499e07c5
Audio: fix compiler warning.
...
Eh, I'm not even able to do a single change without screwing up.
10 years ago
Vladimír Vondruš
4759f419c1
Audio: cover also the official Windows SDK from Creative in the checks.
10 years ago
Vladimír Vondruš
f68b40c5d9
Implemented *Framebuffer::copyImage() and copySubImage().
...
Default, ARB_DSA and EXT_DSA paths.
10 years ago
Vladimír Vondruš
1e6a88a9dd
Properly check that EXT_texture_array is supported in the test.
10 years ago
Vladimír Vondruš
273189b435
Mention that glPixelStore() is used in *Framebuffer::read().
10 years ago
Vladimír Vondruš
cc3e2df1e1
Fix Attribute documentation to reflect actual enum values.
10 years ago
Vladimír Vondruš
0b3e9cddbc
SceneGraph: ignore deprecated warnings in deprecated functions on GCC.
...
Gaah, why GCC can't ignore that by itself -- nobody cares if a
deprecated API uses another deprecated API. Clang does that right.
10 years ago
Vladimír Vondruš
5d3c0f4c6a
package: build GL tests also on non-desktop ES builds.
10 years ago
Vladimír Vondruš
8b044064b9
Use WindowlessEglApplication for windowless apps on non-desktop GLES.
...
It "just works", yay!
10 years ago
Vladimír Vondruš
05684c552f
Platform: fix warning in desktop GLES build.
10 years ago
Vladimír Vondruš
cac93ec3a5
Platform: make WindowlessEglApplication compile.
10 years ago
Vladimír Vondruš
6e666ebdc7
Doxygen warning fixes.
10 years ago
Vladimír Vondruš
387ab1b08d
Platform: compilation fixes for WindowlessNaClApplication.
...
Still can't test it, but at least fixing what Doxygen found.
10 years ago
Vladimír Vondruš
ebdf234772
Platform: removed refs to unimplemented features from GlfwApplication.
10 years ago
Vladimír Vondruš
f6cf1ba4c9
package/ci: build for MinGW and Windows RT GLES2/GLES3 on AppVeyor.
10 years ago
Vladimír Vondruš
bd1736a6cc
doc: improve Windows RT building docs.
10 years ago
Vladimír Vondruš
58718e24e2
doc: mention MAGNUM_BUILD_MULTITHREADED in Platform docs.
10 years ago