Vladimír Vondruš
7ad33d3f5b
Platform: properly link XEglApplication to EGL.
8 years ago
Vladimír Vondruš
b8fabec474
Math: remove unused variables from tests.
...
Thanks, Clang 6.
8 years ago
Vladimír Vondruš
98d384e249
Test: workaround bogus Clang 6 warnings about missing declarations.
...
Don't you see that it's all in an anonymous namespace?!
8 years ago
Vladimír Vondruš
8f9d1384b9
Vk: require at least CMake 3.7.
...
Older versions don't have FindVulkan and I can't be bothered.
8 years ago
Vladimír Vondruš
b1377033e8
Vk: initial Vulkan headers generated using flextGL.
8 years ago
Vladimír Vondruš
fec1a07b9b
Bootstrap Vulkan support.
8 years ago
Vladimír Vondruš
7b49479b07
GL: doc++
8 years ago
Vladimír Vondruš
b79c245a63
Doc++, allow to search literals without the nonobvious operator"" prefix.
8 years ago
Vladimír Vondruš
673caa23bf
Math: compiling Angle, Color and Half code snippets.
8 years ago
Vladimír Vondruš
d9936c40fd
Math: added Constants::piQuarter().
8 years ago
Vladimír Vondruš
c77e6d7a15
Platform: doc++
8 years ago
Vladimír Vondruš
0e2b251e39
Platform: GLFW doesn't allow to create GL 3.1 core contexts.
8 years ago
Vladimír Vondruš
f30ca8929e
Platform: prefer core GL contexts in GlfwApplication as well.
...
Basically copies the behavior over from Sdl2Application.
8 years ago
Vladimír Vondruš
3e025f6d5b
Platform: no need to store a global window instance pointer.
...
And it was foolish of me to ever attempt to think that GLFW has
the same limitation as GLUT in this regard. Sorry.
8 years ago
Vladimír Vondruš
606811735c
Platform: minor cleanup.
8 years ago
Samuel Kogler
6379a8458e
Fix uninitialized pointer check in GlfwApplication.
8 years ago
Vladimír Vondruš
d398c63182
Platform: properly request a depth buffer on Android.
8 years ago
Vladimír Vondruš
44f829acbd
Platform: fix WindowlessWglApplication on non-deprecated builds.
8 years ago
Vladimír Vondruš
71195cd6c1
Test: minor cleanup.
8 years ago
Vladimír Vondruš
26f1abb396
Platform: fix WindowlessCglContext on non-deprecated build.
8 years ago
Vladimír Vondruš
2fc9f0a13e
Platform: forgotten implementations of GLConfiguration.
...
Oh well. Need to have tests in this repo, not in magnum-bootstrap.
8 years ago
Vladimír Vondruš
23cae45efc
GL: otherwise Doxygen claims that MAGNUM_VERIFY_NO_GL_ERROR doesn't exist.
8 years ago
Vladimír Vondruš
21bf047cde
GL: fix documentaiton.
8 years ago
Vladimír Vondruš
a6a24cc7d9
Platform: properly forward-declare GL::Version.
...
Was workinng only by accident when deprecated features were enabled.
8 years ago
Vladimír Vondruš
8d0f922d40
Platform: hide irrelevant macros from Doxygen.
8 years ago
Vladimír Vondruš
b8fe2fb6c3
Platform: don't include the GL headers in GlfwApplication header.
...
So it's possible to use it with custom GL extension loaders. This is
done for SDL2 already.
8 years ago
Vladimír Vondruš
8018b17bc7
Doxygen: renamed \extension[2] to \gl_extension[2].
...
So it's clear that this is not a Vulkan extension link.
8 years ago
Vladimír Vondruš
d5a0516f8a
Split the OpenGL layer out, pt 29: SDL2 and GLFW apps w/o GL.
8 years ago
Vladimír Vondruš
675c49e79e
Split the OpenGL layer out, pt 28: non-GL-centric Platform::*Application.
...
The Platform::*Application::Configuration class was split into
Configuration and GLConfiguration, the latter containing only
GL-specific configuration. Moreover, createContext() and
tryCreateContext() were renamed to create() / tryCreate().
There's now a constructor and a create() / tryCreate() overload taking
GLConfiguration and this will be later extended with VkConfiguration,
for example. GL-specific getters/setters from Configuration are now
marked as deprecated and merged into GLConfiguration during context
creation.
Everything has still hard dependency on GL, that will be done in the
next commits.
8 years ago
Vladimír Vondruš
e2512ffee2
Text: unconditionally use TextureFormat::Luminance in GlyphCache on ES2.
...
Because now with the generic formats all images that are in
PixelFormat::R8Unorm are translated to GL::PixelFormat::Luminance on ES2
and WebGL 1. The DistanceFieldGlyphCache still has the original, but
that one didn't really work there in the first place. That'll get
patched later.
8 years ago
Vladimír Vondruš
583fbcce6d
GL: Doxygen being shitty again.
8 years ago
Vladimír Vondruš
49b0c9d2fc
Audio: Doxygen being shitty again.
8 years ago
Vladimír Vondruš
112b9fd394
TextureTools: accept only generic pixel formats in distancefieldcoverter.
8 years ago
Vladimír Vondruš
4d565a8f73
DebugTools: CompareImage now supports only generic pixel formats.
8 years ago
Vladimír Vondruš
4a88b4633d
DebugTools: support generic pixel formats in textureSubImage().
8 years ago
Vladimír Vondruš
4e757a3f64
Split the OpenGL layer out, pt 26: remove dependencies on the GL lib.
...
Primitives, MeshTools, Trade and TextureTools are not depending on the
GL library anymore.
8 years ago
Vladimír Vondruš
298e7c20a7
Split the OpenGL layer out, pt 23: adapted Platform.
8 years ago
Vladimír Vondruš
23b46ac91a
Split the OpenGL layer out, pt 22: adapted Text.
8 years ago
Vladimír Vondruš
7785698d35
Split the OpenGL layer out, pt 21: adapted DebugTools.
8 years ago
Vladimír Vondruš
adb4547ba0
Split the OpenGL layer out, pt 20: adapted Shaders.
8 years ago
Vladimír Vondruš
22fa80b35f
Split the OpenGL layer out, pt 19: adapted TextureTools.
8 years ago
Vladimír Vondruš
f8ec9c56f8
Split the OpenGL layer out, pt 18: adapted Trade.
8 years ago
Vladimír Vondruš
f279549044
Split the OpenGL layer out, pt 18: adapted MeshTools.
8 years ago
Vladimír Vondruš
6c06bb5718
Split the OpenGL layer out, pt 17: adapted GL tests.
...
Now the library compiles together with tests w/o deprecation warnings
... except for documentation snippets.
8 years ago
Vladimír Vondruš
fbe52532f6
Split the OpenGL layer out, pt 16: {Extensions::GL => GL::Extensions}.
...
Was Magnum::GL::Extensions::GL before and the redundancy was completely
unnecessary. Potential future extensions coming from GLX, EGL or whatnot
will most probably be in the Platform namespace in a completely separate
file, so this is not a problem.
All code internal to the GL library is affected, not much the outside,
as that is handled by the compatibility alias.
8 years ago
Vladimír Vondruš
9e58eaca61
Split the OpenGL layer out, pt 15: compatibility for Platform::Context.
8 years ago
Vladimír Vondruš
53e2043c6b
Split the OpenGL layer out, pt 14: Platform::{Context => GLContext}.
...
Compatibility header and alias in the next commit so Git is able to
recognize the file move.
8 years ago
Vladimír Vondruš
9e4ccf6a55
Split the OpenGL layer out, pt 13: renamed GL-related macros.
...
The MAGNUM_ASSERT_VERSION_SUPPORTED(),
MAGNUM_ASSERT_EXTENSION_SUPPORTED(), MAGNUM_VERIFY_NO_ERROR() macros are
now MAGNUM_ASSERT_GL_VERSION_SUPPORTED(),
MAGNUM_ASSERT_GL_EXTENSION_SUPPORTED() and MAGNUM_VERIFY_NO_GL_ERROR().
Backwards-compatible aliases are in the original headers, as usual.
8 years ago
Vladimír Vondruš
d1ebeef5af
MSVC compatibility: fix Trade::Implementation and Implementation clash.
...
Not sure why it happens only here.
8 years ago
Vladimír Vondruš
a629959d4c
Make deprecated GL-dependent functionality templated.
...
Otherwise MSVC (and probably MinGW as well) try to instantiate them in
the binary, (obviously) failing with a linker error.
8 years ago