kwin/effects/flipswitch
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
..
CMakeLists.txt Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00
flipswitch.cpp Introduce a build option KWIN_BUILD_OPENGL_1_COMPOSITING 2012-10-25 11:34:12 +02:00
flipswitch.desktop
flipswitch.h Merge branch 'KDE/4.9' 2012-08-17 17:59:49 +02:00
flipswitch.kcfg Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00
flipswitch_config.cpp Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00
flipswitch_config.desktop
flipswitch_config.h Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00
flipswitch_config.ui Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00
flipswitchconfig.kcfgc Use KConfigXT in FlipSwitch effect 2012-09-15 11:24:11 +02:00