Vladimír Vondruš
bfa2a42638
Don't differentiate between vertex and index count in Mesh.
...
Only one value from these two was used in the end, wasting precious
bytes. Also these two values were used to differentiate between indexed
and non-indexed mesh (instead of relying on actual index buffer being
bound), which was very confusing. This approach looks more clean. The
MeshView class is not yet updated, as the change would expose some
features that aren't possible in current implementation (base vertex
specification).
Merged Mesh::setVertexCount() and Mesh::setIndexCount() into one
Mesh::setCount(), the two original functions are now guarded aliases to
the new one, are marked as deprecated and will be removed in future
release, similarly for the getters.
In particular, if the mesh is indexed, setVertexCount() does nothing and
vertexCount() returns 0. The setIndexCount() and indexCount() do and
return the same regardless of whether the mesh is indexed or not.
12 years ago
Vladimír Vondruš
d772f51050
Hide texture state members which are not used on ES.
...
Shaved eight bytes off total memory footprint, yay!
12 years ago
Vladimír Vondruš
54cb177bb0
Properly initialize variables for texture limits in state tracker.
...
And I was wondering how it is possible that there new NVidia drivers
were allowing up to 32 PB textures on my humble laptop graphics :)
12 years ago
Vladimír Vondruš
153f57f5b1
Fix CubeMapTexture mipmap generation test.
...
On new NVidia drivers 337.12 it reports that the texture is not cube map
complete.
12 years ago
Vladimír Vondruš
ee403494fb
Doc++
12 years ago
Vladimír Vondruš
74ae14b44a
Remove unused members from ES build.
12 years ago
Vladimír Vondruš
8c0c80a5c3
Implemented ARB_texture_swizzle.
12 years ago
Vladimír Vondruš
1b1ad41ae1
Renamed internal function to avoid name clashes.
12 years ago
Vladimír Vondruš
11ea906e47
Doc++
...
Sometimes the specification hides the information very well.
12 years ago
Vladimír Vondruš
325d139353
Doc++
12 years ago
Vladimír Vondruš
ef897de79e
Implemented depth texture compare mode and function.
12 years ago
Vladimír Vondruš
3e40bdd443
Doc++
...
Also remove redundant preprocessor branches.
12 years ago
Vladimír Vondruš
bbd1d94e73
Platform: nicer vector value display in magnum-info.
12 years ago
Vladimír Vondruš
f16a607a6f
Platform: display max texture size in magnum-info.
12 years ago
Vladimír Vondruš
2cbcdeaeb4
Queries for max supported texture size.
12 years ago
Vladimír Vondruš
f9e49283e6
Fix includes.
...
Vector3 was used but not included.
12 years ago
Vladimír Vondruš
99281a1bd1
Cleaned up duplicate stuff in CMakeLists.
12 years ago
Vladimír Vondruš
004e94abda
doc: more GL command mapping updates.
12 years ago
Vladimír Vondruš
8a98ab0675
Implementation of ARB_stencil_texturing.
12 years ago
Vladimír Vondruš
af9772bdc0
Add forgotten check to extension-dependent texture tests.
12 years ago
Vladimír Vondruš
424526a7c8
Integer texture borders are not available in OpenGL ES.
12 years ago
Vladimír Vondruš
1e60a306ca
doc: updated Sampler documentation.
...
Reference actual *Texture methods from there, it will be some time until
actual sampler objects are implemented.
12 years ago
Vladimír Vondruš
7afe12910a
Platform: display max lod bias in magnum-info.
12 years ago
Vladimír Vondruš
4f4131b320
Implemented texture LOD parameters.
12 years ago
Vladimír Vondruš
653804b518
Added EXT_shader_texture_lod ES2 extension.
12 years ago
Vladimír Vondruš
7f653dc50e
doc: regroup gl*Draw*() commands in the table.
...
Group similar ones together (all the *Instanced ones will probably be
implemented using the same function).
12 years ago
Vladimír Vondruš
82ccb08164
doc: fix typo.
...
Embarrassingly enough it was copied to two another places.
12 years ago
Vladimír Vondruš
d45857feb0
doc: texture documentation updates.
...
Remove duplicates, add minimal multisample docs, update GL function
mapping table.
12 years ago
Vladimír Vondruš
24a03cd9ac
Merge branch 'master' into compatibility
12 years ago
Vladimír Vondruš
ea4b226b7e
Create also plugin test debug libraries with -d suffix.
...
This affects only Windows when tests are enabled.
12 years ago
Vladimír Vondruš
78cb3b8e4e
modules: added MAGNUM_BINARY_INSTALL_DIR variable to FindMagnum.cmake.
...
Will be used in depending projects for e.g. installing DLLs on Windows.
12 years ago
Vladimír Vondruš
cd144ff73a
Merge branch 'master' into compatibility
12 years ago
Vladimír Vondruš
d2a3e71215
Proper cross-platform ordering of function attributes.
12 years ago
Vladimír Vondruš
317304bf87
Merge branch 'master' into compatibility
...
Conflicts:
src/Magnum/AbstractShaderProgram.cpp
src/Magnum/CubeMapTextureArray.h
src/Magnum/Shader.cpp
12 years ago
Vladimír Vondruš
1ab87a4de5
Workarounds for platforms without std::to_string().
...
I hate this.
12 years ago
Vladimír Vondruš
799e073351
package: strip all crosscompiled binaries.
12 years ago
Vladimír Vondruš
7723cab975
Removed last remaining bits of pre-2.8.8 CMake compatibility.
...
The compatibility was last updated probably sometime in 2012 and it is
just too much maintenance burden to keep it.
12 years ago
Vladimír Vondruš
518ea9dfb2
GCC 4.4 compatibility: explicit std::reference_wrapper constructor.
12 years ago
Vladimír Vondruš
35d0ef2e2c
GCC 4.4 compatibility: no lambdas.
...
The fugly lambda probably wasn't good idea anyway. So much ugly stuff
just to avoid having mutable variable doesn't cut it.
12 years ago
Vladimír Vondruš
f90ccaded5
GCC 4.5 compatibility: no range-for loops.
...
Yet again, because I forgot to enable ObjImporter plugin when testing.
12 years ago
Vladimír Vondruš
52ab6a113b
Prefix plugin test libraries also with Magnum*.
...
They need to be installed into possibly system-wide location on Windows
and thus we need to avoid name clashes (or at least explicitly show that
e.g. TgaImporterTestLib.dll belongs to Magnum and is not any OMG virus).
12 years ago
Vladimír Vondruš
5c1939a49e
package: adapt GCC 4.4/4.5 PKGBUILD to recent changes.
12 years ago
Vladimír Vondruš
e4721fd618
MSVC 2013 compatibility: aaargh gaah.
...
I have this weird feeling that this stuff won't be fixed in next
release.
12 years ago
Vladimír Vondruš
3da924f2fa
MSVC 2013 compatibility: work around internal compiler error.
12 years ago
Vladimír Vondruš
49f7cd5bcd
MSVC 2013 compatibility: nullptr-related issues.
...
I wonder why this wasn't an issue on GCCC < 4.6.
12 years ago
Vladimír Vondruš
9445e71005
GCC 4.4 compatibility: can't construct std::tuple this way.
...
This was the most cryptic error message ever.
12 years ago
Vladimír Vondruš
045f463194
GCC 4.4 compatibility: no comparison operators for strongly-typed enums.
12 years ago
Vladimír Vondruš
b100f34f24
GCC 4.4 compatibility: explicit std::reference_wrapper cconstructor.
12 years ago
Vladimír Vondruš
7898f9b0f3
GCC 4.4 compatibility: ambiguous std::to_string() overload.
12 years ago
Vladimír Vondruš
da5255c833
GCC 4.5 compatibility: no bool conversion of std::integral_constant.
12 years ago