Vladimír Vondruš
9e287c5671
Code cleanup.
11 years ago
Vladimír Vondruš
7aef7f44f5
Compressed image support, part 5: added EXT_texture_compression_s3tc.
...
And related WebGL extension. Why the hell do they need their own naming
again?!
11 years ago
Vladimír Vondruš
8ff4911236
Compressed image support, part 4: updated format documentation.
11 years ago
Vladimír Vondruš
fee676733b
Compressed image support, part 3: added CompressedColorFormat enum.
11 years ago
Vladimír Vondruš
a808c3c7fb
Compressed image support, part 2: renamed ImageReference to ImageView.
...
With pixel pack/unpack support it will be possible to create views onto
sub-images, renamed the class to reflect that.
The old Magnum/ImageReference.h and ImageReference types are now aliases
to ImageView.h and ImageView types, are marked as deprecated and will be
removed in future release.
11 years ago
Vladimír Vondruš
da3cb5a8ad
Compressed image support, part 1: generalized AbstractImage class.
...
When pixel pack/unpack parameter support is done, this class will
contain only stuff that's common to both compressed and uncompressed
images. Currently that's nothing, so the class is empty.
Note the hilarious bug in both GCC and Clang: if you remove the `_dummy`
member, both of them start complaining about weird completely unrelated
stuff.
11 years ago
Vladimír Vondruš
022d9db601
SceneGraph: fixed Doxygen warnings.
11 years ago
Vladimír Vondruš
a0dc49b575
Doc++
11 years ago
Vladimír Vondruš
b6e5a27c92
Split format debug output tests to separate file.
...
Makes more sense when tests for texture, renderbuffer etc formats are
added.
11 years ago
Vladimír Vondruš
20e5d9512f
Trade: what was this doing here?!
11 years ago
Vladimír Vondruš
778a260036
package/ci: update MinGW-w64 Jenkins configuration.
11 years ago
Vladimír Vondruš
387a70622e
package/archlinux: use proper features in MinGW-w64 PKGBUILD.
11 years ago
Vladimír Vondruš
7949ed9700
MeshTools: fix linker errors on Windows.
11 years ago
Vladimír Vondruš
e18ee47510
External: flextGL now respects API/profile restrictions for extensions.
11 years ago
Vladimír Vondruš
34281dd9c2
External: updated to new version of flextGL.
...
Stuff's just reordered alphabetically, no other change.
11 years ago
Vladimír Vondruš
0b7d62ffcc
Add forgotten test for NoCreate TimeQuery constructor.
11 years ago
Vladimír Vondruš
3f07144cfa
SceneGraph: this constructor should be always there.
...
Probably forgot to revert this when I had Camera2D/3D subclasses for
deprecated build (and thus this constructor was only needed in those
subclasses).
11 years ago
Vladimír Vondruš
115fd0c41c
Math: include macros header only on deprecated build.
11 years ago
Vladimír Vondruš
75eb797686
Math: make the Doxygen workaround more obvious and less verbose.
11 years ago
Vladimír Vondruš
eed8043a63
Minor cleanup.
11 years ago
Vladimír Vondruš
eae48a3380
Math: simplify Quaternion default constructor.
...
It should generate the same (constexpr) code, but this way it doesn't
go through replicating the zero value four times and just
zero-initializes the data array in vector. Also fixes "not a constexpr"
issues with GCC 4.6 in compatibility branch (but these shouldn't be
there anyway).
11 years ago
Vladimír Vondruš
41f5b95eba
Use ArrayView instead of separate data/size params for shader uniforms.
...
The previous AbstractShaderProgram::setUniform(Int, UnsignedInt, T*)
function is now alias to the new one, is marked as deprecated and will
be removed in some future release.
11 years ago
Vladimír Vondruš
36ab0827c4
Shaders: one more try.
11 years ago
Vladimír Vondruš
5e95c7f08a
Shaders: fix WebGL 2 compilation.
...
This is starting to be a little annoying.
11 years ago
Vladimír Vondruš
7041ff95c9
Shaders: fix MeshVisualizer test compilation on desktop GL.
11 years ago
Vladimír Vondruš
ba3935d4fc
Shaders: fix MeshVisualizer compilation on WebGL.
11 years ago
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