Vladimír Vondruš
f5b1672540
GL_TEXTURE_COMPRESSED_IMAGE_SIZE is *always* size of one cubemap face.
...
For some reason I thought it's size of one face pre-ARB_DSA and size of
all six faces on ARB_DSA. NVidia drivers (which return different size
based on whether the texture is immutable, which is totally crazy)
didn't help with that at all. Now I realized this while fixing test
failures on Mesa. IIRC I couldn't find a clear explanation in the spec
anyway, so I'll just bite the bullet and assume *this* is the correct
way now. Mesa tests now pass instead of saying that my provided buffer
size is too small.
9 years ago
Vladimír Vondruš
1c98f2a901
Test: don't require GLSL 4.00 if not strictly necessary.
9 years ago
Vladimír Vondruš
96fa501f0b
Test: don't even try if there are not enough XFB streams available.
...
Fixes unnecessary test failure on soft Mesa.
9 years ago
Vladimír Vondruš
b053ba5c32
Test: fix unnecessary test failure on macOS.
9 years ago
Vladimír Vondruš
d443cb58ae
Test: don't require GLSL 4.10 if not strictly needed.
...
Fixes test failures on soft Mesa drivers that support only GLSL 3.30.
9 years ago
Vladimír Vondruš
18057600c7
Test: cap multisample texture sample count to implementation limits.
...
Fixes a bunch of unnecessary failures on soft Mesa drivers.
9 years ago
Vladimír Vondruš
d7b0f3f4ea
Test: expect failure in CubeMapTexture::invalidateSubImage() on Mesa.
...
It's been like this for some time and I don't see any obvious workaround
to it except to invalidating the whole texture.
9 years ago
Vladimír Vondruš
c870a1a6e8
Ability to detect Mesa drivers.
9 years ago
Michael Dietschi
b12fe77910
Fix a possible OOB access when reading vector/matrix from configuration.
9 years ago
Vladimír Vondruš
06a7677fbe
Math: test underflow/overflow when parsing vector/matrix from Configuration.
...
Fails as overflow is not handled.
9 years ago
Vladimír Vondruš
c16b87d25d
modules: mark internal variable as such.
9 years ago
Vladimír Vondruš
fafb89709f
package/debian: updated copyright year.
9 years ago
Vladimír Vondruš
40b261086d
package/debian: disable -Bsymbolic-functions as it breaks Interconnect.
9 years ago
Vladimír Vondruš
0ade19a814
package/debian: build as Release.
9 years ago
Vladimír Vondruš
4d13b011d3
Mention IMGUI integration in Related Projects.
9 years ago
Vladimír Vondruš
38b2e78dcd
package/ci: gather code coverage only once.
9 years ago
Vladimír Vondruš
425873959c
Updated documentation link in README.
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Vladimír Vondruš
f222449bdf
Minor code reordering.
9 years ago
Vladimír Vondruš
f9bca9e2a7
Platform: no need to define UNICODE.
...
That's defined globally now.
9 years ago
Vladimír Vondruš
a83be88b88
Platform: put code comment on a correct place.
9 years ago
Vladimír Vondruš
76cc3f092a
Audio: use new-style file embedding for tests.
9 years ago
Émile Grégoire
dae1e8e9cf
Started adding folders for Visual Studio.
...
See https://gitter.im/mosra/magnum/archives/2017/03/25
9 years ago
Alice Margatroid
8c73040138
Forgot one push_back -> emplace_back in Audio
9 years ago
Alice Margatroid
58270fe9f0
push_back -> emplace_back
9 years ago
Alice Margatroid
e762fc1efc
Modernize #1
9 years ago
Vladimír Vondruš
46e118879f
Test: use Containers::arrayView() and arrayCast() to simplify code.
9 years ago
Vladimír Vondruš
30fa9645c1
Primitives: fix Cylinder test to follow the bugfix.
...
Also added a bunch of comments to prevent confusing myself again next
time and spaced the indices evenly to make them readable. All those
poorly done things contributed to the bug.
9 years ago
Émile Grégoire
ef771364fe
Fixed issue in Primitives::Cylinder::solid() where the last ring of faces wouldn't be created when using cap ends because of wrong offset.
9 years ago
Vladimír Vondruš
3541e9f1fa
Platform: proper include for WinRT SDL_WinRTRunApp().
9 years ago
Vladimír Vondruš
12f826ce53
doc: don't build snippets on iOS.
...
They cause random linker failures. Wtf.
9 years ago
Vladimír Vondruš
51cb8bd2da
package/ci: removed unmaintained and outdated Jenkins configs.
9 years ago
Vladimír Vondruš
5754fce668
package/ci: don't exit if iOS build *doesn't* fail.
...
That was a brainfart.
9 years ago
Vladimír Vondruš
ab76bdad7d
package/archlinux: properly run WebGL 2 (and not WebGL 1) tests.
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
286514a7b7
package/ci: actually really cache the GLFW build.
9 years ago
Vladimír Vondruš
d6f5f43d60
Shaders: modernize coding style.
...
* Always prefix private members with an underscore
* Use in-class initialization of the uniform locations
* Use {} for default flag value
9 years ago
Émile Grégoire
60e181d1b3
Use https for GL function links.
9 years ago
Vladimír Vondruš
ae9095de16
Remove most of the "MSVC 2015 can't handle {} here" workarounds.
9 years ago
Vladimír Vondruš
2b34c269db
Doxygen warning fixes.
9 years ago
Vladimír Vondruš
025ef780b2
Workaround for that one damn Doxygen bug.
9 years ago
Vladimír Vondruš
f4ca50a7ca
WavAudioImporter: test for size of imported data.
...
In order to increase a chance for spotting a serious regression.
9 years ago
Vladimír Vondruš
044fd3d4f9
WavAudioImporter: vertical/horizontal code compression.
9 years ago
Vladimír Vondruš
a3fc2d1742
package/ci: properly exit if iOS build fails.
9 years ago
Vladimír Vondruš
cb7f490748
package/ci: explicitly test building w/o deprecated features.
9 years ago
Vladimír Vondruš
6fa2643e63
package/ci: get rid of JOBS_LIMIT and hardcode the value instead.
...
No need to have that configurable.
9 years ago
Vladimír Vondruš
3b3f71faa9
doc: adapted GL function/extension to Khronos domain move.
...
Followup to previous commit -- links to opengl.org are now redirected to
khronos.org and the extension links have the same format for both GL and
GLES. That allows me to remove some of the Doxygen aliases and use just
a single set of the functions for both GL and GLES.
9 years ago
Émile Grégoire
a47429bd3f
Fix href to OpenGL reference generated by Doxygen.
...
The doc was moved to khronos.org and the URL schema was changed.
9 years ago
Vladimír Vondruš
1e8a5c927b
Shaders: added NoCreate constructors to all classes.
...
Makes it possible to have instance of them even before any context is
active.
9 years ago
Vladimír Vondruš
087194d9c0
Shaders: make constructors explicit by default.
9 years ago