kwin/libkwineffects
Martin Gräßlin cf35c26396 Rework the resolving of OpenGL function pointers
The macro GL_RESOLVE_WITH_EXT was fundamentally broken as it tried to
resolve a symbol first by it's name and then by the extension name if
the returned pointer is null.

From GLX spec:
"A non-NULL return value for glXGetProcAddress does not guarantee that an
extension function is actually supported at runtime. The client must also query
glGetString(GL EXTENSIONS) or glXQueryExtensionsString to determine if an
extension is supported by a particular context."

This macro is now reworked to be used only in case the symbol name does
not match our function name. E.g. glUniform1f vs glUniform1fARB.

The resolving itself also had quite some issues as:
* in same cases function pointers are not nulled
* in same cases only the arb or only the ext is checked
* in same cases the wrong extension is checked

This is now reworked to always check first the ARB extension if available
then the EXT extension and if both are not available the pointers are set
to NULL.
2012-10-04 17:17:45 +02:00
..
anidata.cpp add clipping support to AnimationEffect 2012-05-10 19:35:13 +02:00
anidata_p.h Add AnimationEffect class 2011-10-27 21:40:14 +02:00
CMakeLists.txt Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinanimationeffect.cpp Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
kwinanimationeffect.h add clipping support to AnimationEffect 2012-05-10 19:35:13 +02:00
kwinconfig.h.cmake Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwineffects.cpp Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
kwineffects.h Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
kwinglobals.cpp Ensure that Extension::init() is only performed once 2012-04-22 22:29:17 +02:00
kwinglobals.h Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinglplatform.cpp Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinglplatform.h Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwingltexture.cpp kwin: Don't enable/disable texturing when using shaders 2012-09-13 22:54:09 +02:00
kwingltexture.h kwin: adding proper clipping for transformed windows 2012-05-01 23:19:04 +02:00
kwingltexture_p.h kwin: cleaning up the GLTexture API 2012-01-31 23:10:58 +01:00
kwinglutils.cpp Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinglutils.h Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinglutils_funcs.cpp Rework the resolving of OpenGL function pointers 2012-10-04 17:17:45 +02:00
kwinglutils_funcs.h Provide OpenGL over Egl 2012-10-04 17:17:01 +02:00
kwinxrenderutils.cpp add offscreen render support to xrender 2012-03-21 00:35:31 +01:00
kwinxrenderutils.h add offscreen render support to xrender 2012-03-21 00:35:31 +01:00
Mainpage.dox Move kwineffects library into own directory 2011-02-19 10:01:31 +01:00
Messages.sh Improve message extraction 2011-02-20 16:02:33 +01:00