kwin/libkwineffects
Martin Gräßlin 5a6d9400b2 Split SceneOpenGL into a concrete SceneOpenGL1 and SceneOpenGL2
SceneOpenGL turns into an abstract class with two concrete subclasses:
* SceneOpenGL1
* SceneOpenGL2

It provides a factory method which first creates either the GLX or EGL
backend which is passed to a static supported() method in the concrete
sub classes. These method can test whether the backend is sufficient to
be used for the OpenGL version in question. E.g. the OpenGL 2 scene
checks whether the context is direct.

The actual rendering is moved into the subclasses with specific OpenGL 1
and OpenGL 2 code. This should make the code more readable and requires
less checks whether a Shader is bound. This is now known through the
Scene: the OpenGL1 scene will never have a shader bound, the OpenGL2 scene
will always have a shader bound.

To make this more reliable the ShaderManager is extended by a disable
method used by SceneOpenGL1 to ensure that the ShaderManager will never
be used. This also obsoletes the need to read the KWin configuration
whether legacy GL is enabled. The check is moved into the supported
method of the OpenGL2 scene.

REVIEW: 106357
2012-09-16 21:28:11 +02:00
..
anidata.cpp add clipping support to AnimationEffect 2012-05-10 19:35:13 +02:00
anidata_p.h
CMakeLists.txt Add CMake variable to rename kwin binaries 2012-05-10 10:25:15 +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
kwineffects.cpp Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
kwineffects.h Getter/setters for opacity, saturation and brightness in WindowPaintData 2012-07-19 18:25:48 +02:00
kwinglobals.cpp Ensure that Extension::init() is only performed once 2012-04-22 22:29:17 +02:00
kwinglobals.h -pedantic 2012-06-07 00:38:13 +02:00
kwinglplatform.cpp Initialize variables in GLPlatform 2012-06-13 09:19:27 +02:00
kwinglplatform.h More getters for GlPlatform 2012-03-04 15:21:10 +01: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
kwinglutils.cpp Split SceneOpenGL into a concrete SceneOpenGL1 and SceneOpenGL2 2012-09-16 21:28:11 +02:00
kwinglutils.h Split SceneOpenGL into a concrete SceneOpenGL1 and SceneOpenGL2 2012-09-16 21:28:11 +02:00
kwinglutils_funcs.cpp Swap vsync order, trade in 1frame lag 2012-05-17 11:41:26 +02:00
kwinglutils_funcs.h Swap vsync order, trade in 1frame lag 2012-05-17 11:41:26 +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
Messages.sh