Vladimír Vondruš
3da4870aa0
Math: minor cleanup.
10 years ago
Vladimír Vondruš
774481b682
Platform: MOAR keys in Sdl2Application.
...
And reordered GlfwApplication key enum to be consistent with the rest.
10 years ago
Vladimír Vondruš
fc489ff457
Math: oops, part 2.
10 years ago
Vladimír Vondruš
d3b18e145b
Platform: oops, committed too fast.
10 years ago
Vladimír Vondruš
dce3880d13
Math: default-constructed Color4 should have zero alpha.
...
Makes more sense than fully opaque black. On the other hand, creating
Color4 from Color3 or separate RGB components still sets alpha to one,
because that's the intuitive behavior.
10 years ago
Vladimír Vondruš
1398ffd24c
Platform: text input support for Sdl2Application.
10 years ago
Vladimír Vondruš
082e02a013
Platform: minor code reordering.
10 years ago
Vladimír Vondruš
0078f7a035
Platform: fix Sdl2Application build on Emscripten.
10 years ago
Vladimír Vondruš
889171303e
Mark EXT_shader_framebuffer_fetch as semi-supported.
10 years ago
Vladimír Vondruš
0dbd8a2f8f
Platform: doc++.
...
Also fixed a minor typo in enum name.
10 years ago
Vladimír Vondruš
d2f8821ce7
Implemented KHR_no_error.
10 years ago
Vladimír Vondruš
aa721781f1
DebugTools: fixed compilation on GLES2.
10 years ago
Vladimír Vondruš
4ed4cf1b56
external: updated generated GL headers.
...
Just a single bugfix, hah.
10 years ago
Vladimír Vondruš
44e1851809
Updated credits.
10 years ago
Vladimír Vondruš
66e17608e6
Text: introduce font ascent and descent.
...
It required some ABI-incompatible changes so I bumped the font and
font converter plugin interface strings to avoid crashes at runtime.
10 years ago
Vladimír Vondruš
5061d29926
Platform: don't set swap inteval implicitly in GlfwApplication.
10 years ago
Vladimír Vondruš
dc41cbbdb2
Platform: minor formatting updates.
10 years ago
Vladimír Vondruš
9a20dc2a70
Platform: backport GlfwApplication to GLFW 3.1.
...
So one can use it without compiling latest master.
10 years ago
Squareys
725e726c1e
Platform: Implement modifiers for GlfwApplication
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
accf8380f0
Platform: Implement WheelUp/Down analog to Sdl2Application
...
... for better portability.
Signed-off-by: Squareys <squareys@googlemail.com>
10 years ago
Squareys
e451b6dfdb
Platform: Add GlfwApplication
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
8f9918ea0d
DebugTools, TextureTools: no pixel_center_integer in GLSL ES.
...
This seems like yet another pointless restriction. Aargh.
10 years ago
Vladimír Vondruš
7694157679
Fix annoying unused variable warning on ES.
10 years ago
Vladimír Vondruš
23074760f3
Platform: make magnum-info actually useful on iOS.
10 years ago
Vladimír Vondruš
58c98cae3e
Added EXT_shader_framebuffer_fetch ES extension to the list.
...
And also ARM_shader_framebuffer_fetch and
ARM_shader_framebuffer_fetch_depth_stencil.
10 years ago
Vladimír Vondruš
9500040f8e
Added KHR_no_error desktop and ES extension.
10 years ago
Vladimír Vondruš
7878d039ec
Platform: support iOS in magnum-info.
10 years ago
Vladimír Vondruš
35da9ebfa0
Support iOS in GL tests.
10 years ago
Vladimír Vondruš
16943e644f
Test: reorder preprocessor branches.
10 years ago
Vladimír Vondruš
6379f8a616
Platform: added WindowlessIosApplication.
10 years ago
Vladimír Vondruš
59af7e1920
Fix compilation on ES.
10 years ago
Vladimír Vondruš
7ffe30c676
Oh, std::pair is not constexpr in C++11.
...
That's why.
This partially reverts commit 628201946b .
10 years ago
Vladimír Vondruš
da8bf1a184
DebugTools: reorder and document to make the non-orthogonality obvious.
...
Also apparently ordering of the functions in the *source* file is
important for Doxygen and the header order gets ignored completely. What
the hell.
10 years ago
Vladimír Vondruš
74e43a4f31
DebugTools: fallback to Texture::subImage() on desktop.
...
I still have to fill up the missing parts to make it orthogonal, but NO
DAMN TIME.
10 years ago
Vladimír Vondruš
a02135b699
Platform: ability to query raw extension string list in magnum-info.
10 years ago
Vladimír Vondruš
5ff451791a
Make the ES versions first-class on desktop OpenGL.
...
What this changes:
* Before, a Version::GLES310 shader was created with `#version 450`
directive, which is wrong, because an implementation might support
GLES 3.1 but not GL 4.5 so this was not working and also the syntax
is a bit different so this wasn't helpful at all.
* Similarly, Context::isVersionSupported(Version::GLES310) was checking
for support of OpenGL 4.5. Now it just checks for
`ARB_ES3_1_compatibility` extension.
* Added a small isVersionES() utility that just tells whether given
version is ES or not.
10 years ago
Vladimír Vondruš
628201946b
Made the version() functions constexpr.
...
Not sure why it wasn't like that before.
10 years ago
Vladimír Vondruš
9cbbd21416
DebugTools: fix static build on ES.
10 years ago
Vladimír Vondruš
ce3b78672b
DebugTools: I knew I would forget to revert some of the debug shit.
10 years ago
Vladimír Vondruš
4bc1841c2d
Doxygen workarounds.
...
WHYYYY.
10 years ago
Vladimír Vondruš
c9271da28c
DebugTools: support reading float textures in textureImage() on ES3.
10 years ago
Vladimír Vondruš
78d73fa98e
DebugTools: utility to get texture image on OpenGL ES.
10 years ago
Vladimír Vondruš
31f24474b6
DebugTools: utility to get buffer data on OpenGL ES.
10 years ago
Vladimír Vondruš
01e0292361
Extracted CubeMapTexture::Coordinate enum into CubeMapCoordinate.
...
Allows to break the dependency on the <Magnum/CubeMapTexture.h> header
in Framebuffer, TextureState and elsewhere. The old
CubeMapTexture::Coordinate enum is now just an alias, is marked as
deprecated and will be removed in a future release.
10 years ago
Vladimír Vondruš
a5941ac3ea
No need to set CMAKE_MODULE_PATH explicitly when crosscompiling anymore.
10 years ago
Vladimír Vondruš
9f9a8baf10
Platform: apparently there was't a single change that worked right away.
...
Ugh.
10 years ago
Vladimír Vondruš
082ca911ab
Platform: fix building of EglContext with Xcode.
...
The dreaded OBJECT libraries again. Reported the inconvenience here:
http://public.kitware.com/pipermail/cmake/2016-April/063178.html
10 years ago
Vladimír Vondruš
122cdd2282
Simplify BufferGLTest.
10 years ago
Vladimír Vondruš
05903fcad9
Clarify that it is possible to read UnsignedInt from framebuffer in ES3.
10 years ago
Vladimír Vondruš
4f94c26467
Added TARGET_HEADLESS option.
...
Toggles between using CGL/GLX/WGL (requiring running graphical desktop
environment) or EGL (without display attachment) for command-line
utilities and GL tests. Also exposed to the user through
MAGNUM_TARGET_HEADLESS CMake and preprocessor variables.
10 years ago