Vladimír Vondruš
5f36f41817
Make all non-GL tests building and passing on WebGL/Emscripten.
...
Yay!
10 years ago
Vladimír Vondruš
bc468b60e5
package/archlinux: build and run Emscripten tests.
10 years ago
Vladimír Vondruš
c1e45f5e14
Platform: Sdl2Application::windowSize() is not available in Emscripten.
10 years ago
Vladimír Vondruš
93cf86a076
Platform: mouse click count is not available in Emscripten.
10 years ago
Vladimír Vondruš
e873af7777
Platform: make text input actually working on Emscripten.
...
The event handlers were still disabled and SDL_IsTexInputActive() needs
to be emulated.
10 years ago
Vladimír Vondruš
c13fbae1b8
package/ci: don't do what's not needed on iOS Simulator.
10 years ago
Vladimír Vondruš
d8fb555a6a
package/ci: consistent build directory naming.
10 years ago
Vladimír Vondruš
b069484a52
Updated toolchains submodule.
10 years ago
Vladimír Vondruš
5ae55c15c7
Platform: doc++
10 years ago
Elliot Saba
c817f8412e
Allow horizontal-only scrolling
10 years ago
Vladimír Vondruš
62c5479732
doc: improve crosscompiling variables documentation.
10 years ago
Vladimír Vondruš
9613e0b2b2
modules: properly handle platforms with empty CMAKE_FIND_LIBRARY_PREFIXES.
...
For example Windows with MSVC. The variable is set to empty list, which
we need to preserve when setting it back. Otherwise CMake complains
loudly.
10 years ago
Vladimír Vondruš
b5816196c0
Explicitly use Magnum::Math::Literals namespace.
10 years ago
Vladimír Vondruš
04983da23a
Don't use EXT_DSA function in ARB_DSA path.
...
Good news: this should fix the Object Picking example on Mesa, finally.
10 years ago
Vladimír Vondruš
563888e02e
Platform: fix copypaste error in GLFW application.
10 years ago
Vladimír Vondruš
dd05633001
doc: clarify how to specify path to SDL2 in Getting Started Guide.
10 years ago
Vladimír Vondruš
942ce73f83
doc: don't use deprecated functionality.
10 years ago
Vladimír Vondruš
02c1c8cfd4
Platform: don't copy windowless app docs from windowed apps.
...
The docs weren't correct in 90% cases -- mainly in case of
createContext() function, docs of which were extended to clearly specify
what's done inside.
10 years ago
Vladimír Vondruš
9508d94aae
Math: ability to save and restore Deg and Rad from configuration.
10 years ago
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