Vladimír Vondruš
9fad16182e
Platform: implement AndroidApplication::MouseMoveEvent::relativePosition().
7 years ago
Vladimír Vondruš
35bf229ed5
Platform: add Sdl2Application::Configuration::WindowFlag::{OpenGL,Vulkan}.
7 years ago
Vladimír Vondruš
b3759b6a98
GL: ensure gl_PointCoord works correctly also on compatibility profile.
7 years ago
Vladimír Vondruš
8d2d848fe9
Doc++
7 years ago
Vladimír Vondruš
52ff540407
Primitives: fix and make gradient function params consistent.
7 years ago
Vladimír Vondruš
3629af231b
GL: new amd-windows-broken-dsa-cubemap-copy workaround.
7 years ago
Vladimír Vondruš
9fa87652e6
GL: new amd-windows-dsa-createquery-except-xfb-overflow workaround.
7 years ago
Vladimír Vondruš
d06914a1bd
doc: hint that Optional is a safer NoCreate.
7 years ago
Vladimír Vondruš
82f53862e1
Platform: Sdl2Application::mainLoopIteration() now returns a bool.
...
To indicate when the app desires to exit.
7 years ago
Vladimír Vondruš
24f7d45364
Implement globals shared across DLLs on Windows.
7 years ago
Vladimír Vondruš
ca326fdb18
GL: pile on more workarounds for CubeMapTexture DSA code paths.
...
Ugh why this has to be SO TERRIBLE. I'm starting to have extremely low
expectations for similar parts of Vulkan drivers by the same vendors.
7 years ago
Vladimír Vondruš
60c18f93a1
GL: implement time queries for WebGL 2, and workarounds, and ...
...
There's a new firefox-fake-disjoint-timer-query-webgl2 workaround and a
half-page of text listing various caveats and issues you might run into.
Also exposing them in the OpenGLTester (although quite shitty at this
point).
7 years ago
Vladimír Vondruš
05b9509dba
Expose UnsignedLong and Long on Emscripten.
...
The "64-bit integers have to be emulated and it's slow" problem doesn't
apply for WebAssembly anymore.
7 years ago
Vladimír Vondruš
6ebe264e61
doc: updated credits and changelog.
7 years ago
Vladimír Vondruš
3538ac96a9
doc: further improve the Getting Started Guide.
...
I'm coming to a realization that a ZIP file with all stuff bundled would
be the only possible way to supply this to unsuspecting Windows users
(as opposed to CMake pros that come to Windows from a Unix world).
Co-authored-by: Alan Jefferson <alanjefferson.contact@gmail.com>
7 years ago
Vladimír Vondruš
744bd219d4
doc: further iterate on plugin CMake usage, update changelog.
7 years ago
Vladimír Vondruš
1e6ae7c863
doc: mention the new Emscripten helper message coming from toolchains.
7 years ago
Vladimír Vondruš
65b589f765
New explicit-uniform-location-is-less-explicit-than-you-hoped workaround.
...
Intel drivers on Windows. Surprisingly unsurprising.
7 years ago
Vladimír Vondruš
dac61f51cc
Trade: implement passing importer/converter options to imageconverter.
7 years ago
Vladimír Vondruš
6b64ee6240
doc: rewrite the Getting Started Guide to be better for Windows users.
7 years ago
Vladimír Vondruš
3076080553
doc: mention Visual Studio startup project in Windows troubleshooting guide.
7 years ago
Vladimír Vondruš
ef1fbd8e4b
CMake: copy SDL / GLFW DLLs to CMAKE_RUNTIME_OUTPUT_DIRECTORY.
...
Shall make Windows users' life a bit less painful.
7 years ago
Vladimír Vondruš
3a243a04b2
CMake: put all binaries into a dedicated location in the build dir.
...
This makes it possible to:
- finally use Magnum as a CMake subproject on Windows and have your
executables not fail to run with a "DLL missing" error (and the
setting is put to cache so superprojects just implicitly make use of
that)
- run tests on Windows without having to install first
- use dynamic plugins from a CMake subproject on any platform without
having to install first or load them by filename --- and the plugin
directory is now easily discovered as relative to
libraryLocation() of the library implementing given plugin interface
7 years ago
Vladimír Vondruš
00e3a1f6d8
doc: updated changelog.
7 years ago
Vladimír Vondruš
20b6a9f085
doc: remove old EXT_DSA function reference.
...
That extension got killed ages ago.
7 years ago
Vladimír Vondruš
f7d739058b
Platform: device selection in WindowlessEglApplication.
7 years ago
Vladimír Vondruš
7f4da303cb
Require at least CMake 3.4.
7 years ago
Vladimír Vondruš
dbb4cb39a1
GL: improve Framebuffer usage docs.
7 years ago
Vladimír Vondruš
3f9c541753
GL: add ES-only TextureFormat::BGRA[8].
...
And clarify their purpose. This was an accidental ommision, as there's
no need for such a thing on desktop.
7 years ago
Vladimír Vondruš
a1a59ec4ea
Shaders: assert on the wireframe flag when calling related setters.
...
This is to be consistent with other shaders -- failing loudly is better
than habing to spend ages wondering why it doesn't render the thing.
7 years ago
Vladimír Vondruš
414845d07c
doc: update source SVG for a newer Inkscape.
7 years ago
Vladimír Vondruš
a0f0015211
Shaders: de-inline uniform setters.
...
Reduces includes in the header quite a lot, yay.
7 years ago
Vladimír Vondruš
9616273e18
Shaders: improve MeshVisualizer docs.
7 years ago
Vladimír Vondruš
5b1c521f99
DebugTools: provide verbose diagnostic from CompareImage.
7 years ago
Vladimír Vondruš
14d602ab0e
doc: updated changelog.
7 years ago
Vladimír Vondruš
fb45e5c9ca
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
eef1981b43
GL: added hasTextureFormat() and textureFormat() helpers.
7 years ago
Vladimír Vondruš
893d5d38bc
ASTC: the pain never ends (3D formats).
...
GL has an extension, but only for ES, not on desktop. Vulkan has
nothing yet (due to there being just ARM that implements it, no other
vendor), except those being listed in a KTX format specification.
7 years ago
Vladimír Vondruš
75bfd41baf
Add a table describing block size of all known compressed pixel formats.
...
Needed for a bunch of features (and feature parity in
CompressedImageView).
7 years ago
Vladimír Vondruš
0a55171e94
doc: updated changelog.
7 years ago
Vladimír Vondruš
c6c8dcb456
GL: make DynamicAttribute constructible directly from an Attribute.
...
Otherwise trying to mirror all the properties is quite error-prone.
7 years ago
Vladimír Vondruš
06aac867ae
GL: make AbstractTexture destructor protected.
...
Right now there isn't any work done in subclass destructors, but that
may change in the future due to driver workarounds being added. So
better be prepared.
7 years ago
Vladimír Vondruš
b5371f7a6b
GL: TextureFormat::R3B3G2 had a typo in the name.
...
Use R3G3B2 instead. The íold name is preserved for compatibility, but
marked as deprecated and scheduled for removal in a future release.
7 years ago
Vladimír Vondruš
c591f0b0c8
doc: assorted improvements, clarification and troubleshooting update.
7 years ago
Vladimír Vondruš
057007facb
Make ImageViews of lower dimensions convertible to higher dimensions.
...
Otherwise using GL::TextureArray is quite annoying.
7 years ago
Vladimír Vondruš
17b3c8fac5
Math: support numeric indexing in gather() / scatter() as well.
7 years ago
Vladimír Vondruš
acc8d8994b
Math: added scatter(), renamed swizzle() to gather().
...
The swizzle() function is still present, only marked as deprecated and
scheduled to be removed in some future release.
7 years ago
Vladimír Vondruš
39e21b70d2
Doc++
...
Huh, what interesting things lie in old stashes.
7 years ago
Vladimír Vondruš
71a9f1bbbf
Reserve zero [Compressed]PixelFormat for an invalid value.
...
Catches accidents better -- just look at the diff. Might catch accidents
in your code now as well, so beware!
7 years ago
Vladimír Vondruš
8da9ce829c
modules: propagate dependencies of aliases in FindMagnum.cmake better.
7 years ago