Comment 5 for bug 1093565

Revision history for this message
HRJ (harshad-rj) wrote :

The problem seems to be that in compiz 0.9, a lot of code related to OpenGL has changed.

More details here: http://wiki.compiz.org/Development/zero-nine/GLESPorting

THe part releveant to the color filter plugin is:

"ARB Assembly Program Usage

As GL_ARB_fragment_program is not part of the OpenGL core profile or OpenGL|ES, it was removed in favor of GLSL shaders. Unfortunately, that means that any plugin that uses GLFragment to generate GPU assembly shaders needs to have that part rewritten. That warrants another article as it is a much larger subject."

So, someone needs to write a color-filter plugin that doesn't use ARB syntax. It needs to take GLSL shaders as input.

For my part, I will try to write a simple plugin that only filters color channels based on a percentage value. For example: if the percentages are (100, 40, 40), then the resultant color would be (r, g*0.4, b*0.4)