Vladimír Vondruš
28d7400a82
Math: doc++
10 years ago
Vladimír Vondruš
a499331955
Math: um...
10 years ago
Vladimír Vondruš
60b6889ca6
Platform: disable hidden visibility for Android Native App Glue.
...
Otherwise the ANativeActivity_onCreate() won't get exported and the
app will fail to start. Of course they just don't care and produce
crappy code that apparently nobody uses in production environment.
10 years ago
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š
16092109e2
package/ci: um...
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š
102b5bf7b6
package/ci: work around iOS Simulator not finding OpenGLES.framework.
10 years ago
Vladimír Vondruš
5b82162a4d
package/ci: build for iOS on Travis CI.
...
What's done:
* The build matrix now has four targets -- Linux desktop, OSX desktop,
iOS GLES2 and iOS GLES3.
* Putting the commands into separate bash scripts, which are called
based on what's the actual build matrix item.
* Displaying *all* test output (colored) for visual verification.
10 years ago
Vladimír Vondruš
72a7a79959
CMake: set proper bundle identifier prefix for test cases on 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š
53d80a77f9
doc: remove outdated info about module dir for toolchains.
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š
67bd8a9b99
modules: don't expose internal variables of FindSDL2.cmake in cache.
10 years ago
Vladimír Vondruš
471b7a58f6
Math: fix narrowing conversion in ColorTest.
...
MSVC complained.
10 years ago
Vladimír Vondruš
6af22cfbbe
package/ci: cache downloaded files on AppVeyor.
...
Hopefully resolves the timeout errors.
10 years ago
Vladimír Vondruš
401b2d4abc
package/ci: remove unused AppVeyor build matrix.
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š
5d2cec9e1c
Doc++
10 years ago
Vladimír Vondruš
6255fc1d01
doc: fix old documentation about default Color4 having full alpha.
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š
ac21a6d53f
package/ci: now it's me who's merging without looking at the diff.
...
Cc: @Squareys ;)
10 years ago
Vladimír Vondruš
44e1851809
Updated credits.
10 years ago