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
Vladimír Vondruš
ab35741221
Math: minor cleanup, reordering and test renaming.
11 years ago
Vladimír Vondruš
9696bebaeb
Platform: ability to request sRGB-capable framebuffer in Sdl2Application.
11 years ago
Vladimír Vondruš
2a7875ad49
Platform: doc++.
11 years ago
Vladimír Vondruš
508ca2e99f
Platform: don't overwrite user-specified context flags in Sdl2Application.
11 years ago
Vladimír Vondruš
8c4756a9e4
Platform: use amd-nv-no-forward-compatible-core-context only when needed.
...
Query its status only if we are really on that driver so it doesn't appear
in the list of used workarounds.
11 years ago
Vladimír Vondruš
cbf3e427a1
Recognizing `amd-nv-no-forward-compatible-core-context` workaround.
11 years ago
Vladimír Vondruš
356491e1df
More transparent way to handle driver workarounds.
...
The engine can now list all driver workarounds that were used during the
initialization. Any listed workaround can then be disabled from the
command-line using `--magnum-disable-workarounds` command-line
parameter. The disabling and querying API is private and undocumented,
because the driver workarounds should be disabled only by end-users and
not application developers. The workaround list is now empty, but will
be filled up in the following commits and the workarounds will be
probably documented only privately in Implementation/driverSpecific.hpp,
as it is really something that should be used only to debug driver
problems.
11 years ago
Vladimír Vondruš
cb897a497f
Recognize and ignore --magnum-* command-line options in utilities.
11 years ago
Vladimír Vondruš
f684882d63
Platform: reduce amount of included files, cleanup.
11 years ago
Vladimír Vondruš
e7383d88fc
Initial support for passing arguments directly to the engine.
...
The parameterless Platform::Context::Context() constructor and
Platform::Context::tryCreate() function are deprecated in favor
functions that take argc/argv pair. The Context class now accepts
arguments starting with --magnum-* prefix. Currently there are none
except for the implicit --magnum-help, but that will change with the
following commits.
11 years ago
Vladimír Vondruš
1ccd9ee1d4
package/debian: don't forget to install CMake modules.
11 years ago
Vladimír Vondruš
342b3c2b60
Fix failing TransformFeedback GL test on Mesa.
11 years ago
Vladimír Vondruš
d2454ba6f3
Remove lvalue restrictions when converting images to image views.
...
It is a valid usecase, e.g. when saving a screenshot in an oneliner:
pngImageConverter->exportToFile(defaultFramebuffer.read(
defaultFramebuffer.viewport(), {PixelFormat::RGB,
PixelType::UnsignedByte}), "screenshot.png");
11 years ago
Vladimír Vondruš
ba6dceb37b
Updated CREDITS.md.
11 years ago
Vladimír Vondruš
d91cb8f9e8
Disallow default construction of tag types.
...
Caused ambiguous overload problems when using {} in function calls. The tags
should be always specified explicitly.
11 years ago
Vladimír Vondruš
a58cbd8153
Avoid creating tag types more than once.
11 years ago
Vladimír Vondruš
cd740671a6
Don't use raw GL calls (that are even deprecated) in tests.
...
Fixes ContextGLTest on Mesa.
11 years ago
Vladimír Vondruš
d7d4bfccaf
doc: updated Debian building docs.
11 years ago
Vladimír Vondruš
45135ece7b
package: proper Debian build dependencies.
...
Otherwise dpkg-buildpackage fails during CMake step, which is wrong.
11 years ago
Vladimír Vondruš
72705691ce
Added Debian packaging temporaries to .gitignore.
11 years ago
Vladimír Vondruš
3c6598df11
Ignore only root build folders.
11 years ago
Vladimír Vondruš
b3e4314c49
Updated CREDITS.md.
11 years ago