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š
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
Vladimír Vondruš
9d0fc0d9d3
GCC 4.5 compatibility: cannot deduce init list in templated function.
12 years ago
Vladimír Vondruš
78e50b72c4
GCC 4.5 compatibility: no forward enum declarations.
12 years ago
Vladimír Vondruš
4a5ea35961
GCC 4.5 compatibility: no range-based for.
12 years ago
Vladimír Vondruš
c473fa8c61
GCC 4.5 compatibility: cannot silence warnings in functions.
12 years ago
Vladimír Vondruš
f923a36d3a
Merge branch 'master' into compatibility
...
Conflicts:
src/Magnum/AbstractTexture.cpp
src/Magnum/Context.cpp
src/Magnum/CubeMapTexture.h
src/Magnum/CubeMapTextureArray.h
src/Magnum/Magnum.h
src/Magnum/MeshTools/Duplicate.h
src/Magnum/Platform/Sdl2Application.h
src/Magnum/SceneGraph/Object.hpp
src/Magnum/Shader.cpp
src/Magnum/Shapes/Test/ShapeTest.cpp
src/Magnum/Test/AbstractShaderProgramTest.cpp
src/Magnum/Test/ColorTest.cpp
12 years ago
Vladimír Vondruš
6c56012431
package: strip CI build.
12 years ago
Vladimír Vondruš
4808b516cc
package: build both debug and release libs in PKGBUILD-release.
12 years ago
Vladimír Vondruš
5101e3a60c
Install also debug plugins to different location.
...
Following changes done in Corrade.
12 years ago
Vladimír Vondruš
bfe6c6fbb6
package: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
1e6e4c3f73
Install and find debug libraries with "-d" suffix.
...
Makes it possible to have both debug and release libraries installed. If
both libraries are present when finding the package, proper version is
used based on what configuration is used in depending project.
12 years ago
Vladimír Vondruš
a08fa16d4e
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
8533971931
package: remove superfluous character.
12 years ago
Vladimír Vondruš
b921d0c95c
Fix compilation on GCC 4.6.
...
Can't have both constexpr and const.
12 years ago
Vladimír Vondruš
ab6e645b0e
Compressed formats are not available for multisample textures.
12 years ago
Vladimír Vondruš
0a2b8088a6
Added MultisampleTexture::setStorage().
...
With this function multisample texture implementation is pretty much
done. Also implemented all the tests.
12 years ago
Vladimír Vondruš
32fee76081
Multisample textures also won't have any image setting functions.
12 years ago
Vladimír Vondruš
55d9a2f5c6
Multisample textures don't have mip levels.
...
Another victim of copy-paste, which was never tested in practice because
of incomplete implementation.
12 years ago
Vladimír Vondruš
b28876ec70
Doc++
12 years ago
Vladimír Vondruš
f46cda1900
Remove redundant ifdefs and docs from desktop-GL-only code.
12 years ago
Vladimír Vondruš
6f0a238376
Disable also NV_framebuffer_blit on ES2.
...
Until we have proper extension loader implemented (caused
FramebufferGLTest to assert).
On a related note, NVidia drivers 334.21 support *a lot* of ES2
extensions. Wow.
12 years ago
Vladimír Vondruš
e3b0d1d4ce
Shaders: use texture multi-bind functionality in Phong shader.
12 years ago
Vladimír Vondruš
2e3a00ab8b
Fix (workaround) failing texture tests.
...
With ARB_multi_bind it is needed to associate the texture with some
target before calling glBindTextures(), otherwise the texture is
treated as invalid.
12 years ago
Vladimír Vondruš
cc66fa76ba
Support ARB_multi_bind for textures.
12 years ago
Vladimír Vondruš
580a723d61
Added *Texture::unbind().
...
Will be used in fallback implementation of multi-bind.
12 years ago
Vladimír Vondruš
e2abc39766
Save texture target along with ID in state tracker.
...
Makes later unbinding easier (i.e. we don't need to cycle through all
possible/supported targets and call glBindTexture(target, 0) with each.
12 years ago
Vladimír Vondruš
2696397021
Verify that *Texture::bind() doesn't emit any GL errors.
...
Can't verify much more at this time.
12 years ago
Vladimír Vondruš
f0df35aa65
Forgot to update state tracker in ARB_multi_bind texture binding impl.
...
Would cause random weird issues with texture configuration/upload if
ARB_multi_bind is available and EXT_direct_state_access is not. Probably
not an issue, since EXT_direct_state_access is probably available on all
drivers which support also ARB_multi_bind.
12 years ago
Vladimír Vondruš
ecf7bfa2c1
Minor cleanup.
12 years ago
Vladimír Vondruš
116f474fab
Removed long-deprecated *::maxSupported*() limit queries.
...
Use alternatives without the "Supported" substring instead.
12 years ago
Vladimír Vondruš
14a6b85612
Platform: removed long-deprecated InputEvent::Modifier::*Button values.
...
Use *Event::buttons() and *Event::Button enum instead.
12 years ago
Vladimír Vondruš
49e0aa3dc4
Removed long-deprecated Buffer::set*Data() raw pointer overloads.
...
Use overloads taking Containers::ArrayReference instead.
12 years ago
Vladimír Vondruš
dc2c13c9d2
Removed long-deprecated Matrix2 and Matrix2d typedefs.
...
Use Matrix2x2 and Matrix2x2d instead.
12 years ago
Vladimír Vondruš
99086a3675
Removed long-deprecated ImageFormat.h header, ImageFormat/ImageType enums.
...
Use ColorFormat.h header, ColorFormat and ColorType enums instead.
Amazingly enough there was a bug in Magnum.h (ColorType was typedef'd to
itself instead of ImageType).
12 years ago
Vladimír Vondruš
dfb051b74a
Removed long-deprecated Magnum/Swizzle.h header and Magnum::swizzle().
...
Use Math/Swizzle.h and Math::swizzle() instead.
12 years ago
Vladimír Vondruš
a24ea3ce25
Ability to set base and max mip level on textures.
...
Curiously this functionality is not available on ES2, just the max limit
is supported by APPLE_texture_max_level extension.
12 years ago
Vladimír Vondruš
8590d351b1
Doc++
12 years ago
Vladimír Vondruš
de64c2e3e4
Proper class/function names for *Texture GL tests.
...
Another copypase bug.
12 years ago
Vladimír Vondruš
bf1d2e26fa
Support for setting border color on integer textures.
...
EXT_texture_integer implementation is now complete. Just GL 3.0 subset,
though, as apparently glClearColorI*() is not part of it.
12 years ago