Vladimír Vondruš
87ac8a8cd2
Shaders: support object ID output in Flat and Phong.
7 years ago
Vladimír Vondruš
c9d26a0628
doc: it doesn't make sense to use indexed outputs for this.
7 years ago
Vladimír Vondruš
8ef975616f
Primitives: textured circle primitive.
7 years ago
Vladimír Vondruš
6c434c7b21
Primitives: remove cruft deprecated in 2018.04.
7 years ago
Vladimír Vondruš
13b4bf8461
Math: use __builtin_sincos for sincos() on GCC.
...
Makes this thing faster on Debug. But I'm not sure whether it's due to
less function calls or this intrinsic being actually faster, heh.
Probably a combination of both.
7 years ago
Vladimír Vondruš
f84a91ea06
DebugTools: improve CompareImage failure message.
...
The comparison is <=, so if it passes, it's not "below".
7 years ago
Vladimír Vondruš
a0232e8506
DebugTools: CompareImage can now compare against pixel views.
...
This is getting too good.
7 years ago
Vladimír Vondruš
069c81b9cb
Deprecate passing nullptr to images.
...
Causes too much pain. Ugh.
7 years ago
Vladimír Vondruš
377ff068f3
Doc++
7 years ago
Vladimír Vondruš
0fac99149d
doc: add more stuff to Windows-specific docs.
7 years ago
Vladimír Vondruš
206122b405
Platform: make it possible to create & add a Screen in one step.
7 years ago
Vladimír Vondruš
081f784836
Platform: improve ScreenedApplication docs.
7 years ago
Vladimír Vondruš
e08cdced88
Platform: make ScreenedApplication available for AndroidApplication.
7 years ago
Vladimír Vondruš
2828548d7d
Platform: expose mouseScrollEvent() and text*Event() in Screen APIs.
...
Because not all applications implement these, it's done via a "mixin". I
never did such a thing before, just got an idea that it could work and
I'm equally amazed and horrified that it actually DOES WORK. The Screen
will now expose the MouseScrollEvent, TextInputEvent and
TextEditingEvent typedefs only if the underlying application has them
too and provides the overrideable mouseScrollEvent(), textInputEvent()
and textEditingEvent() also only if the underlying application has them
-- that also means you can't `override` those if the app doesn't provide
such APIs, which acts as a nice check against accidental overgenericity.
7 years ago
Vladimír Vondruš
37996e12b7
doc: improve docs about external CMake modules.
...
Hopefully this stops more people from running into issues with those.
7 years ago
Vladimír Vondruš
ed6cde9536
DebugTools: support --save-diagnostic in CompareImage.
7 years ago
Vladimír Vondruš
5d9fb386f5
DebugTools: make CompareImage work correctly with NaNs and infinities.
7 years ago
Vladimír Vondruš
ab4b9f9600
Doc++
7 years ago
Vladimír Vondruš
3cf9dbf409
Math: added component-wise equal()/notEqual() for vectors.
7 years ago
Vladimír Vondruš
0d71c1d1cc
Search plugins relative to library DLLs on Windows.
...
Makes Windows users' lives slightly easier.
7 years ago
Vladimír Vondruš
249459d710
doc: work around another EGL include issue by including less.
7 years ago
Vladimír Vondruš
f6503d52d9
modules: we don't need GL(ES) include files.
...
Don't try to look for them if we don't use them. It only makes people
install additional outdated crap on their machines for no reason. The
only case where platform-specific GL headers are needed is in case of
iOS which doesn't provide any means of function pointer loading, but
there the include is passed implicitly from the framework.
7 years ago
Vladimír Vondruš
fa50929c78
modules: explicitly link to Emscripten GL and OpenAL libraries.
...
Emscripten's MINIMAL_RUNTIME requires -lGL or -lopenal to be specified
(the default does that implicitly). It doesn't hurt to do that every
time and it makes the Find modules slightly simpler.
7 years ago
Vladimír Vondruš
38ef891682
Doc++
7 years ago
Vladimír Vondruš
df6582d948
Platform: ask for debug context if --magnum-gpu-validation is enabled.
...
Also mention the option more prominently in related docs.
7 years ago
Vladimír Vondruš
b1abf4d507
doc: unify this line with other projects.
7 years ago
Vladimír Vondruš
23cc24b183
doc: updated changelog.
7 years ago
Vladimír Vondruš
8131701e7e
Doc++, updated credits and changelog.
7 years ago
synnick
0364e14dac
Grammar and clarity edits for the Scene Graph feature doc
7 years ago
synnick
a1d0513974
Correct a few grammar errors in docs
7 years ago
synnick
0a10308ed2
Copy edit the matrix-vector doc page
7 years ago
Vladimír Vondruš
07b3253714
GL: make it possible to read pixel data into mutable image views.
...
UGH I hate cube maps and all the driver bugs that make them so freaking
annoying to implement.
7 years ago
Vladimír Vondruš
1b7c2d9666
Use Basic[Mutable]ImageView aliases instead of nondescript raw types.
7 years ago
Vladimír Vondruš
93789721b2
De-inline Image headers, remove dependency on ImageView.
...
This means users have to add some more #includes on their side. Sorry
but it's for your own good :P
7 years ago
Vladimír Vondruš
41b975cb69
New Mutable[Compressed]ImageView types for non-const image data views.
7 years ago
Vladimír Vondruš
3d5f7b9a3c
Make r-value [Compressed]Image[Data]::data() return an Array.
...
Instead of them being deleted. This was not possible in the times where
GCC 4.7 compatibility was a thing, but now that's long gone.
And of course I forgot the l/r-value overloads on CompressedImage :/
7 years ago
Vladimír Vondruš
1c25bdba7a
Deprecate templated [Compressed]Image{,View,Data}::data().
...
This one returned a raw pointer, losing all size information, One should
instead use the non-templated data() along with Containers::arrayCast()
for a properly type-checked conversion.
There's *a lot* of tests using the deprecated functionality. I need to
change one more thing before updating those.
7 years ago
Vladimír Vondruš
15c417ac70
Doc++
...
These aliases are no longer needed as search can handle them properly;
removed superfluous prefix from page name.
7 years ago
Vladimír Vondruš
50902e72d7
Platform: check for non-null GL_VENDOR before comparing it.
...
Otherwise, when context creation fails *really bad*, this crashes
somewhere deep in __strncmp_sse42 or so.
7 years ago
Vladimír Vondruš
035642748f
TgaImporter: properly handle files with too short data.
7 years ago
Vladimír Vondruš
8d98f1161e
Shaders: clamp shininess factor in Phong to minimize artifacts.
...
I feel this makes the shader code unnecessarily slow to handle bad
parameters. But eh, until I actually benchmark, I shouldn't be making
assumptions.
7 years ago
Vladimír Vondruš
a1cc0cb62d
Math: off-center Matrix4::perspectiveProjection().
7 years ago
Vladimír Vondruš
8791488f4a
MeshTools: show how generate*NormalsInto() can be used with std::vector.
7 years ago
Vladimír Vondruš
cfbfdb72c0
doc: compile MeshTools snippets also when GL is disabled.
7 years ago
Vladimír Vondruš
32a090954a
doc: updated changelog.
7 years ago
Vladimír Vondruš
7604309014
DebugTools: make it clearer that ForceRenderer takes a reference.
7 years ago
Vladimír Vondruš
be6d334a1c
doc: updated changelog.
7 years ago
Vladimír Vondruš
a03e237926
CMake: clean up docs related to MAGNUM_PLUGINS_DIR.
...
Now with the plugin paths being autodetected those variables have less
use and are more important during the build than during actual use.
7 years ago
Vladimír Vondruš
057475fb8a
CMake: don't enable -fPIC by default on Emscripten.
...
Causes weird errors on latest version.
7 years ago
Vladimír Vondruš
51cd4b3dd0
GL: fixed a 64-to-32-bit conversion warning on MSVC.
7 years ago