Vladimír Vondruš
de9c289328
Adapted all code and doc snippets to GL library changes.
6 years ago
Vladimír Vondruš
8ba2cac0ee
DebugTools, MeshTools, TextureTools: handle broken gl_VertexID.
...
DebugTools::textureSubImage(), MeshTools::fullScreenTriangle() and
TextureTools::distanceField() all plagued by this on SwiftShader.
7 years ago
Vladimír Vondruš
28d89611f3
DebugTools: fix textureSubImage() for float textures on ES3.
...
By accident the returned image had zero size.
7 years ago
Vladimír Vondruš
a36d8eb033
Remove use of std::reference_wrapper where possible.
...
What's left is *a lot* of places taking monstrous
std::vector<std::reference_wrapper> and that can't be changed to
std::vector<Containers::Reference> in a source-compatible way. Even that
would be only a temporary change, since the goal is to fully avoid
dependency on STL in those cases.
The final version of these APIs should take
Containers::ArrayView<Containers::Reference> and be implicitly
convertible froom e.g. std::vector<Containers::Reference>. That's
definitely possible, but not in time for 2019.01, so instead of forcing
users to temporary pass a `{vec.begin(), vec.size()}` everywhere instead
of just `vec`, I'm rather keeping these APIs intact.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
4a88b4633d
DebugTools: support generic pixel formats in textureSubImage().
8 years ago
Vladimír Vondruš
7785698d35
Split the OpenGL layer out, pt 21: adapted DebugTools.
8 years ago
Vladimír Vondruš
14c235f8ee
Deprecated {Compressed,}Image::setData() functions.
...
They just mirror what the constructor already does. The classes are
also movable, so why not just move a new instance over.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
aa721781f1
DebugTools: fixed compilation on GLES2.
10 years ago
Vladimír Vondruš
da8bf1a184
DebugTools: reorder and document to make the non-orthogonality obvious.
...
Also apparently ordering of the functions in the *source* file is
important for Doxygen and the header order gets ignored completely. What
the hell.
10 years ago
Vladimír Vondruš
74e43a4f31
DebugTools: fallback to Texture::subImage() on desktop.
...
I still have to fill up the missing parts to make it orthogonal, but NO
DAMN TIME.
10 years ago
Vladimír Vondruš
9cbbd21416
DebugTools: fix static build on ES.
10 years ago
Vladimír Vondruš
c9271da28c
DebugTools: support reading float textures in textureImage() on ES3.
10 years ago
Vladimír Vondruš
78d73fa98e
DebugTools: utility to get texture image on OpenGL ES.
10 years ago