Vladimír Vondruš
be09303e28
Removed deprecated Texture::Target enum.
...
Use dedicated Texture, TextureArray, RectangleTexture,
MultisampleTexture classes instead.
11 years ago
Vladimír Vondruš
95247c7d0b
Removed deprecated Context::Flag::Robustness enum value.
...
Use Context::Flag::RobustAccess instead.
11 years ago
Vladimír Vondruš
7fc34f9791
Removed deprecated parameter-less *Mesh::draw() overload.
...
Use the one with explicit shader parameter instead.
11 years ago
Vladimír Vondruš
fa0e518185
Removed deprecated *Mesh::set*{Range,Count}() functions.
11 years ago
Vladimír Vondruš
7e675acaeb
MeshTools: removed deprecated removeDuplicates() overload.
...
Use the general one instead.
11 years ago
Vladimír Vondruš
0896297493
MeshTools: removed deprecated interleave() overload.
...
Use the general one instead.
11 years ago
Vladimír Vondruš
b6051944e6
MeshTools: removed deprecated compressIndices() overload.
...
Use the general one instead.
11 years ago
Vladimír Vondruš
e09c2f7a87
MeshTools: removed deprecated combineIndexedArrays() overload.
...
Use the general one instead.
11 years ago
Vladimír Vondruš
503ce1f948
Removed deprecated *Texture::maxLayers().
...
Use Shader::maxCombinedTextureImageUnits() instead.
11 years ago
Vladimír Vondruš
ddcd679f85
Shaders: removed deprecated texture unit enums.
...
Use dedicated texture setters instead.
11 years ago
Vladimír Vondruš
d5df77fec8
SceneGraph: removed deprecated list-argument functions taking pointers.
...
Use functions taking list of references instead.
11 years ago
Vladimír Vondruš
84f30d0dcc
Audio: removed deprecated list-argument functions taking pointers.
...
Use function taking references instead.
11 years ago
Vladimír Vondruš
da93defad5
Removed deprecated FramebufferBlit::*Buffer enum values.
...
Use values without the Buffer suffix.
11 years ago
Vladimír Vondruš
ae26266e25
Removed long-deprecated DebugMarker.h header.
...
Use DebugOutput.h and DebugMessage class instead.
11 years ago
Vladimír Vondruš
43ccdb6d31
MeshTools: fix test on build without assertions.
11 years ago
Vladimír Vondruš
96d99ac4f8
Remove unused Context::{major,minor}Version() functions.
...
Superseeded by Context::version() and various utilities around Version
enum.
11 years ago
Vladimír Vondruš
d92a006770
Attempt to fix build without assertions no. 8.
...
Hopefully final this time.
11 years ago
Vladimír Vondruš
feba35ff72
Attempt to fix build without assertions no. 7.
11 years ago
Vladimír Vondruš
5a3c0b18ac
Attempt to fix build without assertions no. 6.
11 years ago
Vladimír Vondruš
f0b2d1c9c7
Attempt to fix build without assertions no. 5.
11 years ago
Vladimír Vondruš
0715bf89ea
Fix query tests on ES2.
11 years ago
Vladimír Vondruš
d848ea29e7
Attempt to fix build without assertions no. 4.
...
This is starting to be repetitive.
11 years ago
Vladimír Vondruš
00cb2bc724
Fix Mesh test build on ES2.
...
Yeah, thanks, Jenkins, for being so thorough, but... eh.
11 years ago
Vladimír Vondruš
45c6265ef7
Attempt to fix build without assertions no. 3.
11 years ago
Vladimír Vondruš
0ca141d431
Attempt to fix build without assertions no. 2.
11 years ago
Vladimír Vondruš
f42ef9098d
Attempt to fix build without assertions.
11 years ago
Vladimír Vondruš
dc2433c35f
Fix Mesh test build on ES.
11 years ago
Vladimír Vondruš
36c40e5b27
package/ci: test also build without asserts in Jenkins.
11 years ago
Vladimír Vondruš
4ce2875262
Disable glDrawRangeElements() on WebGL 2.
...
It currently crashes Firefox (38) on "Not Implemented" assert, so just
call glDrawElements() instead until it is properly implemented.
11 years ago
Vladimír Vondruš
aa31c0e0f5
Use glGetString(GL_EXTENSIONS) instead of glGetStringi() on WebGL 2.
...
Or at least until Emscripten has implementation for it.
11 years ago
Vladimír Vondruš
cb6299458c
Don't query GL_{MMAJOR,MINOR}_VERSION on WebGL 2.
...
It doesn't make any sense -- WebGL 2 doesn't provide any equivalent
functionality for this and so I don't even know what values should this
return (3.0? 2.0?). Instead I just check for "WebGL 2" string prefix and
treat it as ES 3.0.
11 years ago
Vladimír Vondruš
226974bf2c
TextureTools: work around compiler warning.
11 years ago
Vladimír Vondruš
20d09aad09
Fix Emscripten build.
11 years ago
Vladimír Vondruš
58907e41e5
Properly check extension availability in transform feedback test.
11 years ago
Vladimír Vondruš
ea1c335a2b
Ability to wrap and release existing OpenGL objects.
...
Allows for better interaction with third-party libraries. I should
probably write a new documentation page about OpenGL wrapping.
11 years ago
Vladimír Vondruš
362f53f94c
Cleanup.
11 years ago
Vladimír Vondruš
0e81a96121
Instantiate whole class instead of each function separately.
11 years ago
Vladimír Vondruš
13ca01c826
Minor code reorganization.
11 years ago
Vladimír Vondruš
e84bcde790
Fix type conversion errors in Mesh test shader code.
...
Reported by latest NVidia drivers (352.09), apparently worked until now.
Huh.
11 years ago
Vladimír Vondruš
23eeca3ed0
TgaImporter, TgaImageConverter: doc++
11 years ago
Vladimír Vondruš
2424d47567
Try to not use MAGNUM_TARGET_GLES3.
...
It's confusing and should be removed (what if we have ES4?).
11 years ago
Vladimír Vondruš
bd107a2290
modules: EGL is not Sdl2Application dependency on WebGL.
11 years ago
Vladimír Vondruš
db65e56e1c
package/archlinux: added WebGL 2.0 Emscripten PKGBUILD.
11 years ago
Vladimír Vondruš
5e7593e7af
package/ci: enable WebGL 2.0 in Emscripten Jenkins configuration.
11 years ago
Vladimír Vondruš
c525d7c896
package: don't use Ninja for Emscripten as it cannot handle deps somehow.
...
Stuff that's depending on particular header is not recompiled after
changing the header. With make it works.
11 years ago
Vladimír Vondruš
bbbe99b786
Audio, Trade: fixed compilation with GCC 5.1.
...
Huh.
11 years ago
Vladimír Vondruš
d3e83f797d
Expose CHROMIUM_map_sub only for NaCl.
...
It's not even in official registry.
11 years ago
Vladimír Vondruš
93147d896d
Initial support for WebGL 2.
...
The actual WebGL 2 distinction was done as a part of previous WebGL
cleanup. It compiles, but is completely broken, as Emscripten has some
missing bits to go through at least Context class creation.
11 years ago
Vladimír Vondruš
92e923d056
First-class WebGL support, part 14: reduced available extensions.
...
This was the actual problem. Most of ES extensions are not available in
WebGL, thus the GL headers and the code was far more bloated than it
needed to be. The GL header is now reduced and the previous 13 commits
were disabling features that aren't actually available in WebGL.
The final executable size is reduced by ~50 kB, which actually isn't
much, but still something.
Some ES extensions (ANGLE_depth_texture and ANGLE_instanced_arrays) have
now WEBGL_* prefix. I'm still using the original prefix in the
implementation because there are headers for these, but in public docs
and elsewhere they are exposed with WEBGL_*.
11 years ago
Vladimír Vondruš
61d9697f00
First-class WebGL support, part 13: reduce version enum.
11 years ago