Vladimír Vondruš
9e613f6ec4
package/ci: rotten stuff gets more rotten.
7 years ago
Vladimír Vondruš
957e8470fe
GL: put extension docs to proper enum value.
...
It's relevant to the generic RGB/RGBA format, not the sized 16F formats
that aren't available in WebGL 1 anyway.
7 years ago
Vladimír Vondruš
f58a15b9a1
GL: update outdated info -- ASTC is on WebGL now.
7 years ago
Vladimír Vondruš
eef1981b43
GL: added hasTextureFormat() and textureFormat() helpers.
7 years ago
Vladimír Vondruš
7f70dc7385
Math: XFAIL most (all?) NoInit tests in Release builds.
7 years ago
Vladimír Vondruš
dc4c24da03
Vk: fix handling of unsupported formats.
...
Until now, Vulkan supported all formats. With the 3D ASTC ones not
anymore and that uncovered a bug.
7 years ago
Vladimír Vondruš
d9cef2feea
Add HDR ASTC pixel formats.
...
Both Vulkan and Metal have separate enums for these, GL is the only odd
one out.
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š
cd39463876
Shaders: verify that no GL errors happened during construction.
7 years ago
Vladimír Vondruš
8703497367
Remove redundant information from assert messages.
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š
64c9d40722
Minor cleanup.
7 years ago
Vladimír Vondruš
4874dbbd3c
doc: include snippet directory from plugins as well.
...
Used by BasisImporter.
7 years ago
Vladimír Vondruš
fe25169616
Updated toolchains submodule.
7 years ago
Vladimír Vondruš
0a55171e94
doc: updated changelog.
7 years ago
Squareys
b4ca71ef9b
AnyImageConverter: Delegate .basis files to BasisImageConverter
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Squareys
a1c2c9c6b3
AnyImageImporter: Delegate .basis files to BasisImporter
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
90c727c025
GL: test for ARB_gpu_shader_fp64 in tests that need it.
7 years ago
Vladimír Vondruš
5fbc3c0e0c
Link to D3D and Metal pixel format equivalents as well.
7 years ago
Vladimír Vondruš
0f708d13d6
Properly include configure.h from all Magnum headers.
7 years ago
Vladimír Vondruš
14bd07c559
GL: properly include a header for the deprecation macro.
7 years ago
Vladimír Vondruš
bc7fff792c
Doc++
7 years ago
Vladimír Vondruš
ba3ce069d4
GL: consistency in error message prefixes.
7 years ago
Vladimír Vondruš
44b008262e
Doc++
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š
b2494416f4
GL: debug output for DynamicAttribute enums.
...
Forgotten, apparently.
7 years ago
Vladimír Vondruš
9b21db0737
GL: don't expose half float attributes on WebGL 1.
...
They weren't in the docs but in the internals. That's wrong.
7 years ago
Vladimír Vondruš
17e960deb0
GL: fix signature of debug operators exposed only to Doxygen.
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š
21890253f1
GL: reorganize sRGB TextureFormat values to be together with the 8bit ones.
...
These do not belong into the "weird formats" section at the end.
7 years ago
Vladimír Vondruš
9d937ad3c8
GL: remove redundant ifdefs.
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š
b75308560f
GL: doc++
7 years ago
Vladimír Vondruš
c591f0b0c8
doc: assorted improvements, clarification and troubleshooting update.
7 years ago
Vladimír Vondruš
539f3f6066
GL: we can use PVRTC to test this code path on desktop.
7 years ago
Vladimír Vondruš
b0531c4cc1
WavAudioImporter: MSVC WHAT THE HELL.
...
On this day, MSVC linker started complaining about missing symbols like
WavImporter::doOpenData() in the WavHeaderTest. Mind you, there's
NOTHING the WavHeader.h would use from there. Neither the test. The only
thing that connects those two together is that WavHeader.h includes
WavImporter.h (probably just a leftover from the time where those two
actually depended on each other). My suspicion is that this got
triggered due to recent changes in AbstractPlugin (it's movable now) and
MSVC attempts to instantiate the destructor or whatnot, needing
references to the privately defined virtual functions. Or something. All
that while nothing from there is EVER used.
Removing the header dependency, hopefully this fixes it. Ugh.
7 years ago
Vladimír Vondruš
2a3d02d217
Math: an attempt to fix scatter() on GCC 4.8.
7 years ago
Vladimír Vondruš
bca7ed856d
OH GOD compilers I'm sorry.
...
I wonder how GCC 9 was able to survive this.
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š
7a1162acc7
Math: one more needless operator[] call in scatter().
7 years ago
Vladimír Vondruš
17b3c8fac5
Math: support numeric indexing in gather() / scatter() as well.
7 years ago
Vladimír Vondruš
f2f1cac598
Math: directly access Vector components in gather() / scatter().
...
Speeding up debug builds a bit.
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š
64ad4a566a
Platform: fix Sdl2Application on Emscripten with TARGET_GL disabled.
...
An old TODO.
7 years ago
Vladimír Vondruš
39e21b70d2
Doc++
...
Huh, what interesting things lie in old stashes.
7 years ago
Vladimír Vondruš
a035220552
Trade: this was not needed.
...
And made some valid asserts too silent to be heard.
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
Vladimír Vondruš
0408671e8f
Math: silence an annoying warning from MSVC about 64-to-32bit conversion.
7 years ago
Vladimír Vondruš
bc88faa215
Math: no Vector::operator-() and Vector2::perpendicular() on unsigned.
...
Reported by MSVC on Magnum Python Bindings.
7 years ago