Vladimír Vondruš
ec20dea1e2
Platform: un-deprecate creation of Platform::Context without passing args.
...
I deprecated that because I wanted to be sure that I properly update all
my code to actually propagate the options. But now I see that this is
actually a valid case -- the engine being in a thread or in some other
way hidden from the outside *shouldn't* need access to argc/argv.
Also updated the docs to say it's completely harmless to propagate the
args.
8 years ago
Vladimír Vondruš
7dbe6a5163
Link to live version of magnum-{al-,}info utilities from the docs.
8 years ago
Vladimír Vondruš
8133ef31b0
Updated copyright year.
8 years ago
Vladimír Vondruš
a97384839b
Use privately Corrade Optional instead of the problematic std::optional.
...
Not in the public APIs yet (Trade etc.), as I need to solve backwards
compatibility first.
8 years ago
Vladimír Vondruš
c1dc6b98ae
AnySceneImporter: doc++
8 years ago
Vladimír Vondruš
e524912f92
Properly ignore symbol export macros for Doxygen.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
a4d32e650a
Move friend declarations into private class sections.
...
And hide them from Doxygen so it's not complaining. Related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=776986
8 years ago
Vladimír Vondruš
6cc8362eeb
Doc++
8 years ago
Vladimír Vondruš
ac3bdeea06
doc: fix GL extension link.
8 years ago
Vladimír Vondruš
fb258164ae
Fix Doxygen warnings in latest version.
...
Actually, now it is finally able to link to variadic funcs.
8 years ago
Vladimír Vondruš
1ec14c678b
Local Doxygen ignores for symbol export macros.
...
It was impossible to put all macros including the ones from other
projects into the global Doxyfile. Much cleaner now <3
8 years ago
Vladimír Vondruš
eee9cbb353
MeshTools: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
c54739d6c9
Audio: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
d49b8efe9e
Platform: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
23cf84cdae
Math: what? there's no such thing.
8 years ago
Vladimír Vondruš
05bb8b419a
Math: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
6029cfae62
Update documentation of utilities for the new theme.
9 years ago
Vladimír Vondruš
36f5030ffd
DebugTools: use ANSI text file instead of a terminal screenshot.
9 years ago
Vladimír Vondruš
eec6cad9e8
Platform: remove unneeded cruft from docs.
9 years ago
Vladimír Vondruš
017c0ad94f
Primitives: test for circle mesh primitive as well.
...
So I see what's looping and what not.
9 years ago
guillaume.giraud@gmail.com
059f1396b0
Primitives: adding one extra vertex in solid circle primitive.
9 years ago
Vladimír Vondruš
6ae21f23b5
Revert "Platform: Move emscripten port of Sdl2Application to SDL2"
...
Size of all executables got inflated by *half a megabyte* because of
this. I'm not sure if the change is worth it, so reverting for now.
This reverts commits
c01961ba6b
5fb3f435dd
fada6fba05
9 years ago
Vladimír Vondruš
fada6fba05
Platform: doc++
9 years ago
Squareys
5fb3f435dd
Platform: Move emscripten port of Sdl2Application to SDL2
...
Signed-off-by: Squareys <squareys@googlemail.com>
9 years ago
Vladimír Vondruš
f7c6a4d066
CMake: don't trust the MSVC variable.
9 years ago
Squareys
db56be54a0
Shaders: @mosra is evil.
9 years ago
Vladimír Vondruš
32613a592a
Implemented glClearBuffer() APIs from GL 3.0 / GLES 3.0.
...
According to my browser, glClear() can't be used to clear integer
framebuffers, so this APIs are needed.
9 years ago
Vladimír Vondruš
5f3ff712bc
Platform: show Emscripten windowless app log only after it loads.
...
Otherwise it obscures the information about downloading.
9 years ago
Vladimír Vondruš
94dc9b1149
Platform: fix deprecation warning.
9 years ago
Vladimír Vondruš
48990755ab
Platform: fix dependencies of ScreenedApplication header.
9 years ago
Criss
98f920527e
Math: get rid of needless GenerateReverseSequence utility.
9 years ago
Vladimír Vondruš
40b06e08cf
Revert "Platform: use saner APIs."
...
Didn't realize that this would put two newlines there, instead of just
one. So it's not a saner API.
This reverts commit 8e2ecc922b .
9 years ago
Vladimír Vondruš
9733988686
Platform: fix severe aliasing artifacts with defaults on Emscripten.
...
The default for Sdl2Application canvas size was 800x600, but the canvas
was sized to 640x480 by the default CSS style. Sorry about this.
9 years ago
Vladimír Vondruš
8e2ecc922b
Platform: use saner APIs.
9 years ago
Vladimír Vondruš
c77782c3f4
Audio: ported magnum-al-info to Emscripten.
9 years ago
Vladimír Vondruš
404c23e63d
Platform: ported magnum-info to Emscripten.
9 years ago
Vladimír Vondruš
3cae6a4a86
Platform: don't assume canvas is in all windowless Emscripten apps.
...
Some apps might not use GL context at all.
9 years ago
Vladimír Vondruš
215beaa3be
Platform: ability to pass command-line args to Emscripten browser apps.
9 years ago
Vladimír Vondruš
76d6e1c120
Fix the mess with WebGL 2 extensions.
...
EXT_sRGB is core in WebGL 2 and so it's not available as an extension,
while WEBGL_texture_compression_s3tc was accidentally left out for WebGL
2.
9 years ago
Vladimír Vondruš
fda77b8965
Platform: port WindowlessEglApplication to Emscripten.
...
Makes it finally possible to have magnum-info and GL tests.
9 years ago
Vladimír Vondruš
99483385e6
Don't forward-declare things for platforms where they aren't.
9 years ago
Vladimír Vondruš
16d5cbea14
Don't expose compute shader limit APIs on WebGL.
...
No such thing.
9 years ago
Vladimír Vondruš
929329b1f8
Fix the ability to create sRGB textures on ES2/WebGL1.
...
Since 98a676ef65 , on ES2 and WebGL1 the
Texture::setStorage() emulation passes the pixel format to both <format>
and <internalFormat> of glTexImage() APIs. On desktop the go-to way to
create a sRGB texture is by passing GL_SRGB to <internalFormat> and
GL_RGB to <format>, but here GL_RGB was passed to both and thus the
information about sRGB was lost.
With the new PixelFormat::SRGB and PixelFormat::SRGBAlpha enums that
are present only on ES2/WebGL1 this case is fixed -- sRGB texture format
will get translated to sRGB pixel format and that used for both
<format> and <internalFormat>.
Another case is when EXT_texture_storage is available -- passing unsized
GL_SRGB_EXT or GL_SRGB_ALPHA_EXT to glTexStorageEXT() is an error and
there's apparently no mention of this in any extension, making it
impossible to create sRGB textures using EXT_texture_storage. I bit the
bullet and tried passing the (numerical value of) GL_SRGB8 and
GL_SRGB8_ALPHA8 to it. At least on my NV it worked, so I enabled these
two in TextureFormat for ES2. No EXT_texture_storage is on WebGL1, so
they are only on ES2.
These two sized TextureFormat::SRGB8 and TextureFormat::SRGB8Alpha8
formats are translated to GL_SRGB and GL_SRGB_ALPHA and so using them
unconditionally for all platforms (except WebGL1) "just works".
9 years ago
Vladimír Vondruš
d2f8e3bc9e
Platform: updated grossly outdated iOS/Android/Emscripten docs.
9 years ago
Vladimír Vondruš
f470b4369c
Math/Algorithms: update XFAIL for WebAssembly.
9 years ago
Vladimír Vondruš
6d6e9522e6
Vanish last remmants of NaCl.
9 years ago
Vladimír Vondruš
1c433486cd
Consistently use macOS instead of OSX.
9 years ago
Vladimír Vondruš
2145ae9b96
Dropped NaCl support.
9 years ago
Vladimír Vondruš
bb31182ec3
Test: add XFAIL to NVidia driver bug that's happening since May or so.
9 years ago