Vladimír Vondruš
c8dfb6789b
Shaders: fix assertion in MeshVisualizer.
...
It would break on GL 2.1 or when instantiating the shader on ES < 3.1
without wireframe enabled.
11 years ago
Vladimír Vondruš
b0f455e653
Platform: proper vector value alignment in magnum-info.
11 years ago
Vladimír Vondruš
527eab2326
Platform: reordered magnum-info limits to make sense also on ES3.
...
A lot of ES3 functionality does not have any equivalent extension, thus
the limits were under wrong headers.
11 years ago
Vladimír Vondruš
3adec2432c
Implemented EXT_tessellation_shader AEP extension.
11 years ago
Vladimír Vondruš
0ccd9aa26e
Shaders: ported MeshVisualizer to use geometry shaders also on ES3+AEP.
...
Please note that in ES3 there is a behavioral change -- geometry shader
is no longer explicitly disabled, but it is enabled by default and you
have to disable it if you don't have the required extension or don't
want to use it.
11 years ago
Vladimír Vondruš
cb44f06359
Added NV_shader_noperspective_interpolation ES3 extension.
11 years ago
Vladimír Vondruš
9d61c57855
Shaders: assert that the shader compiled fine.
11 years ago
Vladimír Vondruš
5dd0c40421
Shaders: gl_VertexID is supported in GLES 3.0.
11 years ago
Vladimír Vondruš
2a83b447ad
Shaders: this statement has no side-effect.
11 years ago
Vladimír Vondruš
84439c48b1
Removed redundant ifdefs.
11 years ago
Vladimír Vondruš
52be3a44b1
Implemented EXT_geometry_shader AEP extension.
11 years ago
Vladimír Vondruš
258b4b2e56
Allocate enough space for all shader state.
...
What the hell.
11 years ago
Vladimír Vondruš
995e503ca4
Properly check for compute shader availability on ES3.
11 years ago
Vladimír Vondruš
118b31777d
Split BufferTextureFormat enum to separate file for consistency.
11 years ago
Vladimír Vondruš
69699cb6c2
Mention that EXT_texture_sRGB_decode is also covered by AEP.
11 years ago
Vladimír Vondruš
70cb1041aa
Implemented EXT_texture_buffer AEP extension.
11 years ago
Vladimír Vondruš
fc523595e1
Document that KHR_debug is covered by AEP too.
...
So one can just check for ANDROID_extension_pack_es31a and not for all
the twenty particular ones.
11 years ago
Vladimír Vondruš
c0baad30a2
Implemented EXT_texture_cube_map_array AEP extension.
11 years ago
Vladimír Vondruš
4276d65a75
Implemented EXT_texture_border_clamp AEP extension.
...
Replaced NV_texture_border_clamp enum values with EXT ones, as this is a
superset of the NV extension.
11 years ago
Vladimír Vondruš
ca7434453d
Test integer border clamp also for 1D textures.
...
Why did I forget that one?
11 years ago
Vladimír Vondruš
e0a84da26a
Properly test 2D texture depth stencil mode on ES3.
...
Wasn't enabled for ES by mistake.
11 years ago
Vladimír Vondruš
7891f33bab
Properly test border sampling for cube map textures on ES.
...
Not sure why I did not do that. The NV_texture_border_clamp extension
does not mention any restriction to 2D/3D textures.
11 years ago
Vladimír Vondruš
c4b74f72a8
Implemented OES_texture_stencil8 AEP extension.
11 years ago
Vladimír Vondruš
6f2b39ea94
Implemented OES_texture_storage_multisample_2d_array AEP extension.
11 years ago
Vladimír Vondruš
361ab62fe9
Added ANDROID_extension_pack_es31a extensions.
...
Just added them to the list, nothing integrated or implemented yet. Also
added some more stuff into OpenGL mapping table, as I apparently forgot
some entries.
11 years ago
Vladimír Vondruš
0dba2601e3
Added KHR_blend_equation_advanced{,_coherent} extensions.
11 years ago
Vladimír Vondruš
654b1b2a18
Enlarged extension availability array to make room for even more.
11 years ago
Vladimír Vondruš
a80370865c
Updated GLES3 extension headers.
11 years ago
Vladimír Vondruš
5668b3c9a3
Updated GLES2 extension headers.
11 years ago
Vladimír Vondruš
11525b56db
Updated GL extension headers and API mapping table.
11 years ago
Vladimír Vondruš
8d3f3ae718
Fix compiler warning in tests on ES build.
11 years ago
Vladimír Vondruš
83824094df
doc: fix ES extension links.
11 years ago
Vladimír Vondruš
d4e37b2d80
doc: overview of OpenGL wrapper layer.
11 years ago
Vladimír Vondruš
7c92005148
doc: link to ANGLE overview.
11 years ago
Vladimír Vondruš
7dc9889bc2
doc: make use of NoCreate tag.
11 years ago
Vladimír Vondruš
adf88d5535
Ability to instantiate OpenGL objects without creating them.
...
Similarly to what's now done with NoInit tags for Containers::Array and
all math types such as Vector, there's now NoCreate tag for creating
wrappers without actually creating the underlying OpenGL object. The
instance is then equivalent to moved-from state. Useful to avoid
needless creation/deletion of OpenGL object in case you would overwrite
the instance later anyway:
Mesh mesh{NoCreate};
std::unique_ptr<Buffer> indices, vertices;
std::tie(mesh, indices, vertices) = MeshTools:compile(...);
11 years ago
Vladimír Vondruš
3b5e650af5
Math: fix compilation of tests under libc++.
...
std::forward() is not constexpr in C++11.
11 years ago
Vladimír Vondruš
b7ef34f591
Fix compilation under libc++.
11 years ago
Vladimír Vondruš
911ed52413
Math: test constexpr-ness of subclass types.
...
Fails with libc++ because std::forward() is not constexpr in C++11 (yes,
I'm adding the test solely because of that).
11 years ago
Vladimír Vondruš
1d9e6210d8
Use anonymous typed enum instead of static const member variable.
...
The reason behind this is that it's not possible to take address of the
enum value -- the generated code can be simpler and no symbol is
exported.
11 years ago
Vladimír Vondruš
13622cf7ae
modules: avoid repeating the same include dirs over and over.
...
Similarly to the _LIBRARIES above, just add stuff that is not already
there.
11 years ago
Vladimír Vondruš
c853f39f26
modules: this made no sense.
...
if(SOMETHING)
# ...
else()
# SOMETHING is not set, this statement does nothing
unset(SOMETING)
endif()
11 years ago
Vladimír Vondruš
94a59fc381
modules: append to list instead of replacing it.
11 years ago
Vladimír Vondruš
8ae9ac6a7c
package: update PKGBUILD version.
11 years ago
Vladimír Vondruš
41ed9c9e0f
Properly initialize AbstractFramebuffer::blit() implementation on WebGL 2.
11 years ago
Vladimír Vondruš
9e4a960170
Don't show RenderbufferFormat::DepthStencil on WebGL 2.
...
Just the Depth24Stencil8 format.
11 years ago
Vladimír Vondruš
4389a58cce
MeshTools: added compressIndicesAs().
...
Much more convenient and "good enough" alternative to compressIndices().
11 years ago
Vladimír Vondruš
9e766ec352
MeshTools: const++.
11 years ago
Vladimír Vondruš
792500d463
MeshTools: simplify internal implementation of compressIndices().
11 years ago
Vladimír Vondruš
2c6ea0b0f1
Revert "Enable only C++ to speed up CMake run."
...
Doesn't work on 2.8.12 and we want to support >= 2.8.9.
This reverts commit d5026d08d3 .
11 years ago