Vladimír Vondruš
5647add6fe
Merged two internal pixel storage calculating functions into one.
...
I guess this might fix *some* issues.
10 years ago
Vladimír Vondruš
f83bbc01ad
Don't compare random memory in PixelStorage GL test.
10 years ago
Vladimír Vondruš
fe4487a303
Removed outdated comment.
10 years ago
Vladimír Vondruš
02e5c3c5e2
Fix EXT_DSA impl of CubeMapTexture::setCompressedSubImage().
10 years ago
Vladimír Vondruš
43d6c57415
Avoid crash in CubeMapTexture GL test w/o ARB_compressed_pixel_storage.
10 years ago
Vladimír Vondruš
659759d2ef
Revert "More vendor-specific XFAIL cases in Mesh GL test."
...
This is behaving properly on AMD 15.300.1025.0.
This reverts commit 8dd4dfcf2b .
11 years ago
Vladimír Vondruš
dd3db921b0
Don't compare random memory in PixelStorageGLTest.
11 years ago
Vladimír Vondruš
39149998d1
Platform: actually properly implement WindowlessWglApplication.
...
That was unprofessional from me, sorry, because it didn't even compile.
When I got it to compile, it crashed right away, because I was querying
GLX function instead of WGL function. But even after that it was still
crashing BECAUSE APPARENTLY YOU HAVE TO CREATE CONTEXT TO BE ABLE TO
CREATE CONTEXT, YO DAWG.
Fuck all this GL shit. Gimme something sane already. Ugh.
11 years ago
Vladimír Vondruš
b777135116
MSVC 2015 Update 1: in-class constexpr initialization works now.
11 years ago
Vladimír Vondruš
6e8c16c960
MSVC 2015 Update 1: fixed nearly all constexpr bugs.
11 years ago
Vladimír Vondruš
9a73b32397
Better formatting for the Context command-line arguments.
11 years ago
Vladimír Vondruš
5a7460f570
Platform: added `--short` option to magnum-info.
...
Also updated the documentation.
11 years ago
Vladimír Vondruš
d648d29100
Platform: superfluous endif.
11 years ago
Vladimír Vondruš
eb871ccce2
Don't display "Using driver workarounds" when there aren't any.
11 years ago
Vladimír Vondruš
9e4a86cc7c
Ability to disable OpenGL extensions from command-line.
...
Added `--magnum-disable-extensions` option next to the already existing
`--magnum-disable-workarounds`. Specified extensions are not used
automatically and also report as disabled and unsupported when asked using
Context::isExtensionSupported() and Context::isExtensionDisabled().
11 years ago
Vladimír Vondruš
503a6b2dc5
Fix AMD complaints about misaligned data in Mesh GL test.
11 years ago
Vladimír Vondruš
8dd4dfcf2b
More vendor-specific XFAIL cases in Mesh GL test.
11 years ago
Vladimír Vondruš
ea65ff39fb
Print an error if the user tries to disable unknown workaround.
11 years ago
Vladimír Vondruš
cf89f5306d
Platform: avoid using C-style casts.
11 years ago
Vladimír Vondruš
4d67544fda
Try to explicitly enable debug output in GL tests.
11 years ago
Vladimír Vondruš
c36573934f
Platform: ability to request debug context in windowless applications.
...
Binary AMD drivers require the user to explicitly request the debug
context on context initialization, otherwise all debug functions are
no-op. This allows us to use debug functionality in command-line utils
and, mainly, GL functionality tests.
The Windows versions are coded without testing, so I hope I did not break
something :)
11 years ago
Vladimír Vondruš
16576552d2
Initialize GL object label size to 0 to prevent uninit mem access.
...
On AMD drivers the debug output has to be explicitly enabled on context
creation, otherwise all debug functions are no-op, thus causing the functions
to read uninitialized memory.
11 years ago
Vladimír Vondruš
5bad5e8a9a
Platform: Sdl2Application header cleanup.
11 years ago
Vladimír Vondruš
3bbb67c3f9
Platform: leave Sdl2Application window positioning on the system.
11 years ago
Vladimír Vondruš
a4f858ad9c
Avoid "incomplete texture" GL errors in cube map test on Mesa.
11 years ago
Vladimír Vondruš
fb8755b0c4
package/debian: don't enable the EglContext, it needs further dependencies.
11 years ago
Vladimír Vondruš
afd4ca73e7
CMake: enable MACOSX_RPATH by default.
11 years ago
Vladimír Vondruš
4fdf96d4d7
doc: CMake subprojects made the Getting Started guide MUCH simpler.
11 years ago
Vladimír Vondruš
6ebe8fb131
CMake: enable PIC by default when building static libs/plugins.
...
Common use case is to have static libraries and dynamic plugins, which
means that the static libraries need to have PIC enabled.
11 years ago
Vladimír Vondruš
e102a776ad
modules: use HINTS instead of PATHS for find_path().
...
Because the value is not hardcoded but rather depending on previous
introspection and CMake documentation suggests using different keyword
for this.
11 years ago
Vladimír Vondruš
c8a9417e70
CMake subproject support, part 3: ability to override configure.h location.
...
Similarly as in Corrade, but this did not require any user-facing
changes.
11 years ago
Vladimír Vondruš
986099a5d3
CMake: use CORRADE_INCLUDE_DIRS instead of CORRADE_INCLUDE_DIR.
11 years ago
Vladimír Vondruš
cde7955046
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
9bc98c3f10
CMake subproject support, part 2: export MAGNUM_* variables.
...
This way the FindMagnum.cmake module will have everything found already
and so it will do only some additional management on top.
11 years ago
Vladimír Vondruš
447ca6a2ff
CMake subproject support, part 1: use project-relative paths.
...
Otherwise it would reference directory relative to source root and not
project root, which is not always the same.
11 years ago
Vladimír Vondruš
7b9e5184b7
Removed old amd-explicit-location-crash workaround.
...
Seems to be not crashing anymore.
11 years ago
Vladimír Vondruš
3d9d70f153
Support for layered texture attachments in Framebuffer.
...
I.e. rendering to a layer addressed by `gl_Layer` in geometry shader.
11 years ago
Vladimír Vondruš
e5909819fe
Make it possible to attach cube map and multisample arrays on ES3 AEP.
...
Somehow I forgot to enable this when doing support for the
ANDROID_extension_pack_es31a extension.
11 years ago
Vladimír Vondruš
291b5bd3a8
Fix Framebuffer::attachCubeMapTexture() behaving as a layered attachment.
...
The DSA function does not accept any texture target parameter so the
cube map texture was bound as a whole (and thus behaving as a layered
attachment) instead of just a single face. Thanks to @chpatrick for the
report.
11 years ago
Vladimír Vondruš
dd40dcd8d0
Clear random data at the end in PixelStorage test.
...
The driver leaves garbage there and the test is failing.
11 years ago
Vladimír Vondruš
40a12441c0
Math: haha, pushed without test.
...
Kill me.
11 years ago
Vladimír Vondruš
6e73dee096
Math: avoid dependency on Functions.h in DualQuaternion.h.
...
Is it still justifiable to do things like this or am I too paranoid
about compilation times now?
11 years ago
Squareys
0e05c7289e
Math: Fix sclerp of dual quaternions with equal rotation and add test.
...
When rotation is identical, the rotation of the first dual quaternion is
returned instead, together with the linearly interpolated translation of
both (lerp of the vectors of the dual part). The additional include is
needed for `Math::lerp(Vector<3, T>, Vector<3, T>, T)`.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
80daa088ba
Fix Doxygen warning about undocumented stuff.
11 years ago
Vladimír Vondruš
c0d21e2146
Trade: provide a way to access importer-specific data from all classes.
11 years ago
Vladimír Vondruš
ded598128a
Recognize some more driver-specific workarounds.
11 years ago
Vladimír Vondruš
540e36b2e3
MeshTools: fix the fix for CORRADE_NO_ASSERT build.
11 years ago
Vladimír Vondruš
2f770bb210
MeshTools: fix warnings in build with CORRADE_NO_ASSERT.
11 years ago
Vladimír Vondruš
b0fd865e52
Fix build with CORRADE_NO_ASSERT.
...
The variable is needed always.
11 years ago
Vladimír Vondruš
9ebd6ad46d
Math: added pow(), log() and exp().
...
Just wrappers around std::pow(), std::log() and std::exp() to have the
complete toolbox consistent.
11 years ago