Vladimír Vondruš
1411e2e85b
Math: work around GCC 4.9 crash in Android NDK.
...
Seems to be only in case of this particular function in the test and
nowehere else. Won't bother investigating further.
10 years ago
Vladimír Vondruš
598b5fdc1b
external: remove extension functions that are not in GLES2.
...
Moreover iOS GLES2 header doesn't have these defined, breaking the
build.
10 years ago
Vladimír Vondruš
8677465379
Work around Xcode project limitations in more cases.
...
Not sure why this wasn't a problem with OSX build, only iOS.
10 years ago
Vladimír Vondruš
80dc656ccc
Recognize OES_fbo_render_mipmap ES2 and WebGL 1 extension.
10 years ago
Vladimír Vondruš
a5f2eece48
external: up-to-date generated GL header for NaCl.
10 years ago
Vladimír Vondruš
ad962415a2
Oh, so it weren't NVidia drivers' fault after all.
...
Just me trying to compare freed memory and, of course, failing.
10 years ago
Vladimír Vondruš
258ab1a92c
Disallow calling data() on rvalue Image and Trade::ImageData.
...
That would cause accessing freed data. Use release() instead (and then
you are on your own). The AbstractShaderProgram GL test now fails to
compile.
10 years ago
Vladimír Vondruš
9a7908523d
Use hex color literal for describing clear color value.
10 years ago
Vladimír Vondruš
1fc6be2a64
Platform: added Sdl2Application::multiGestureEvent().
10 years ago
Vladimír Vondruš
a22f955582
Platform: SDL2 text editing *is* available in Emscripten.
10 years ago
Vladimír Vondruš
e36b5e3517
Platform: added Sdl2Application::MouseEvent::clickCount().
10 years ago
Vladimír Vondruš
6da8da79a8
Platform: properly prefix private member variables.
10 years ago
Vladimír Vondruš
471b7a58f6
Math: fix narrowing conversion in ColorTest.
...
MSVC complained.
10 years ago
Vladimír Vondruš
9fa0d8c796
Math: fix lerp() with BoolVector.
...
For some reason I swapped the order and took from the second parameter
when the value was 0. Probably because of the ?: operator.
10 years ago
Vladimír Vondruš
7fecf73492
Math: minor cleanup.
10 years ago
Vladimír Vondruš
fcb7277524
Platform: added Sdl2Application::windowSize().
10 years ago
Vladimír Vondruš
a4fbea42d0
Math: proper implementation of Vector::isZero() for integers.
...
The thing is:
* Doing std::abs() and comparing to some epsilon value is crazy thing
to do with integers.
* When using unsigned integers, Clang rightfully complained that
calling std::abs() on these is a sign of insanity. This fixes it too.
10 years ago
Vladimír Vondruš
8d3fb52a7f
Platform: split text input rect setup into separate function.
...
* It might change during the text editing process and thus we need to
reposition it.
* And it's also not possible to connect a parameter-less signal to it
on Clang, which is unfortunate.
10 years ago
Vladimír Vondruš
683fd63416
Fix build on ES.
...
:(
10 years ago
Vladimír Vondruš
62176eac1e
Math: oh I screwed up again!
...
I blame my Python calculator :P
10 years ago
Vladimír Vondruš
c5f64c2663
Math: 8-bit and float RGB and RGBA literals.
...
Shiny!
10 years ago
Vladimír Vondruš
52f2d297ca
Math: put angle literals into dedicated Literals namespace.
...
Similarly as it is done in STL for C++14 literals, the user has to
explicitly put them to scope with `using` keyword to avoid accidental
collisions. If MAGNUM_BUILD_DEPRECATED is set, they are still brought to
the root namespace, but that will be removed in a future release.
10 years ago
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