kwin/effects/cube
Martin Gräßlin cf5de22586 Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING
If the build option is enabled KWIN_HAVE_OPENGL_1 is passed as a compile
flag when build against OpenGL.

This compile flag is meant to replace the KWIN_HAVE_OPENGLES. So far code
has been ifdefed for special behavior of OpenGL ES 2.0 and to remove
fixed functionality calls which are not available in OpenGL ES 2.0.

With this build flag the fixed functionality calls which are only used in
the OpenGL1 Compositor can be removed and keeping the KWIN_HAVE_OPENGLES
for the real differences between OpenGL 2.x and OpenGL ES 2.0.

E.g. a call like glColor4f should be in an
glColor4f(1.0, 1.0, 1.0, 1.0);

while a call like glPolygonMode should be in an
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);

Building for OpenGL ES 2.0 of course implies that KWIN_HAVE_OPENGL_1 is
not defined.
2012-10-25 11:34:12 +02:00
..
data Remove textureWidth/textureHeight from all Shaders 2011-06-19 20:54:13 +02:00
CMakeLists.txt Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cube.cpp Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
cube.desktop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
cube.h Effects can provide support information through properties 2012-08-17 17:49:49 +02:00
cube.kcfg Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cube_config.cpp Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cube_config.desktop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
cube_config.h Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cube_config.ui Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cube_inside.h KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
cube_proxy.cpp KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
cube_proxy.h KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
cubeconfig.kcfgc Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslide.cpp Introduce dedicated OpenGL1 and OpenGL2 compositing types 2012-09-29 15:33:57 +02:00
cubeslide.desktop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
cubeslide.h Effects can provide support information through properties 2012-08-17 17:49:49 +02:00
cubeslide.kcfg Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslide_config.cpp Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslide_config.desktop SVN_SILENT made messages (.desktop file) 2012-06-12 17:07:51 +02:00
cubeslide_config.h Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslide_config.ui Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00
cubeslideconfig.kcfgc Use KConfigXT in Cube/CubeSlide effect 2012-09-14 10:39:27 +02:00