Vladimír Vondruš
d3fd195849
Re-enable ES extensions everywhere except NaCl and Emscripten.
12 years ago
Vladimír Vondruš
7468887e99
Re-enable extension calls on OpenGL ES except for NaCl and Emscripten.
12 years ago
Vladimír Vondruš
e201b5a480
package: enable EglContext everywhere possible.
12 years ago
Vladimír Vondruš
c09a929b0d
Extension loading for OpenGL ES.
...
Added EglContext, wired flextGLInit() to be called on all GLES platforms
except for Emscripten and NaCl.
12 years ago
Vladimír Vondruš
b0cbb4066c
Added definitions for OpenGL ES function pointers.
...
Using GLES extension functions in the code won't cause linker failures
anymore, but their addresses aren't being loaded yet. As said before,
NaCl and Emscripten is still a special case.
12 years ago
Vladimír Vondruš
5a8e165014
Use flextGL also for OpenGL ES.
...
Currently just regenerated the stock headers using flextGL, reducing
line count a bit. No dynamic extension loading or function pointers yet,
trying to make as little changes as possible.
12 years ago
Vladimír Vondruš
420c43fc7a
Minor cleanup of generated GL header.
12 years ago
Vladimír Vondruš
770dde6039
Platform: fix compilation of NaCl applications.
12 years ago
Vladimír Vondruš
c8c32ae1d9
Trade: be more explicit.
12 years ago
Vladimír Vondruš
056ada8b99
Doc++
12 years ago
Vladimír Vondruš
92a24fd637
Add missing test for multisample texture framebuffer attachment.
12 years ago
Vladimír Vondruš
76a4f4ab2f
Neither multisample nor rectangle textures have mip levels.
...
Removed superfluous level parameter from related
Framebuffer::attachTexture{,Layer}() overloads (which should otherwise
be always set to 0).
12 years ago
Vladimír Vondruš
515e54f46e
Removed obsolete workarounds.
12 years ago
Vladimír Vondruš
a13f8f3455
Fixed test errors related to EXT_texture_storage on ES2.
12 years ago
Vladimír Vondruš
ffb868cbe1
Platform: fix compilation of GLX applications on ES.
12 years ago
Vladimír Vondruš
c2974f5ced
Removed dead code.
...
As we now have separate class for Texture2D and RectangleTexture, this
assertion is no longer needed (expecting the user to be sane).
12 years ago
Vladimír Vondruš
61bebc3417
Enabled TextureFormat::R8 and RG8 on ES2, clarified the docs.
...
There's much more to fix.
12 years ago
Vladimír Vondruš
33b3989a01
Ensure that the renderbuffer is bound before setting storage.
12 years ago
Vladimír Vondruš
adccc04c9a
Revert "Shaders: somehow I need to enable the extension also on ES3."
...
Apparently not needed anymore with recent drivers.
This reverts commit 331433effa .
12 years ago
Vladimír Vondruš
c637002532
Shaders: fix MeshVisualizer on ES.
...
The extension line must appear before any other non-preprocessor token.
12 years ago
Vladimír Vondruš
f98b39df4f
Doc++, minor cleanup.
12 years ago
Vladimír Vondruš
611159fa2b
Doc++
...
Why the warning about undocumented AbstractQuery::begin() appeared just
now?
12 years ago
Vladimír Vondruš
0908778eee
modules: fix dependency finding for GlxContext.
12 years ago
Vladimír Vondruš
f7f28bafde
Expect failure in MeshGLTest.
...
After updating my NVidia drivers the double matrix tests are extracting
only the first two values and I don't know why.
12 years ago
Vladimír Vondruš
91649d32c4
Disable "Buffer detailed info" debug message for tests on NV (spammy).
12 years ago
Vladimír Vondruš
a605306bb5
Added DebugMessage::setEnabled().
12 years ago
Vladimír Vondruš
4a6f53cdc8
Added non-allocating char array overload to DebugMessage::insert().
12 years ago
Vladimír Vondruš
9c1d00351a
package: build GlxContext by default on Linux.
12 years ago
Vladimír Vondruš
c7e4f92f1c
Platform: added publicly usable *Context libraries.
...
They contain the same platform-specific stub as is used in *Application
libraries to load GL function pointers.
12 years ago
Vladimír Vondruš
9a4b7e3a32
Using flextGL instead of glLoadGen for GL extension loading.
...
The function pointer loading is now moved to Application classes to make
it possible to decide about platform-specific API at usage time, not at
library compilation time.
Currently it's not possible to create the Magnum context any other way
than through Application classes, will solve that in next commits.
12 years ago
Vladimír Vondruš
75955ad1b9
Platform: include windows.h in WindowlessWglApplication.
...
The flextGL header doesn't include it anymore so I need to include it
explicitly myself.
12 years ago
Vladimír Vondruš
f48cfee9f9
Platform: minor cleanup.
12 years ago
Vladimír Vondruš
05e0c8dcaa
Disable TextureFormat::RGB10 for ES3.
...
It was defined in OES_required_internalformat which I don't want to
support in ES3+.
12 years ago
Vladimír Vondruš
6c766df568
Move function pointer loading into platform-specific class.
...
This way it will be possible decouple the main library from
platform-specific GLX/WGL/CGL/EGL... API.
12 years ago
Vladimír Vondruš
0cdd722a1e
SceneGraph: fix compilation on MinGW-w64 GCC 4.9.1.
...
Previously (<= 4.9.0) it behaved similarly to MSVC 2013, but the issues
with missing inline functions of classes declared as extern template
appeared again. This way doesn't work with MSVC, so I need to maintain
two separate symbol exporting scenarios. Damn you, DLL hell.
12 years ago
Vladimír Vondruš
24e88afefa
Decide between ANGLE/NV implementation for Framebuffer::blit() on ES.
...
Currently both disabled until extension loader is in place.
12 years ago
Vladimír Vondruš
8c18bd0995
There is glDiscardSubFramebuffer() in EXT_discard_framebuffer.
...
The relevant functions are now a no-op on ES2.
12 years ago
Vladimír Vondruš
623ed89328
Removed dead code.
...
Stuff that won't be present on ES targets anyway because it's already
disabled somewhere else.
12 years ago
Vladimír Vondruš
3619541f9e
Minor cleanup.
12 years ago
Vladimír Vondruš
37c7f285c3
DebugTools: "fix" flaky test.
...
Somehow the compiler is producing less and less precise code.
12 years ago
Vladimír Vondruš
217b53ceb2
Display all headers in project view of IDEs.
...
Finally makes development with QtCreator usable.
12 years ago
Vladimír Vondruš
b79c3d9305
Platform: properly set debug postfix also for WindowlessCglApplication.
12 years ago
Vladimír Vondruš
36c85988a8
Platform: minor cleanup.
12 years ago
Vladimír Vondruš
f5db09b667
Audio: minor cleanup.
12 years ago
Vladimír Vondruš
eb32fb1c40
Proper no-op fallback for *Framebuffer::invalidate*().
...
The documentation of ARB_invalidate_subdata mentions that all the
functions are really just a hint for the implementation to make some
performance optimizations and they are not affecting behavior at all. So
it's perfectly fine to do nothing if the extension is not supported.
I didn't do this originally as I mistakenly thought that invalidating
depth buffer would somehow behave the same as clearing it, but that's
not the case.
12 years ago
Vladimír Vondruš
6fa9d36005
TextureTools: const is available since GLSL 4.20.
12 years ago
Vladimír Vondruš
df699b75b5
TextureTools: properly create compatibility shader.
12 years ago
Vladimír Vondruš
5303979315
Shaders: make the helper function inline.
...
Will be used outside of the library and I don't want to create
another inter-library dependency.
12 years ago
Vladimír Vondruš
746b4eb692
Platform: specify dependencies for Application libs on single place.
12 years ago
Vladimír Vondruš
25bbc57d4c
modules: minor cleanup.
12 years ago