Revision 694ed62...
Go back to digest for 6th February 2011Features in KDE Base
Martin Gräßlin committed changes in [kde-workspace/graesslin/kwin-gles] /:
Core profile compatible basic scene rendering.
Adds a shader to render an untransformed scene. renderGLGeometry is not used any more and replaced by generated triangles stored in a GLVertexBuffer.
The GLVertexBuffer has a new attribute to decide whether a core profile compatible rendering has to be performed.
Currently windows and EffectFrames can make use of the new shader.
The shader contains a debug mode which colours all rendered fragments in green. It is currently enabled in scene_opengl.
Rendering transformed geometries (without shader) is currently broken.
File Changes
Added 2 files
- kwin/scene-fragment.glsl
- kwin/scene-vertex.glsl
Modified 8 files
- kwin/resources.qrc
- kwin/scene_opengl.cpp
- kwin/scene_opengl.h
- kwin/lib/kwineffects.cpp
- kwin/lib/kwinglutils.cpp
- kwin/lib/kwinglutils.h
- kwin/lib/kwinglutils_funcs.cpp
- kwin/lib/kwinglutils_funcs.h
10 files changed in total