gtk/gdk/resources/glsl
Emmanuele Bassi f848450a70 gl: Use a uniform to flip R and B colors on GLES
This allows us to decide when the R and B color channels should be
flipped with a much better granularity.

For instance, when using GLX_EXT_texture_from_pixmap to create a GL
texture from a surface we don't need to swap the R and B channels, as
the internal representation of the texture data will already have the
appropriate colors.

We also don't need to flip color channels when blitting from a texture.
2016-04-25 14:33:36 +01:00
..
gl2-texture-2d.fs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl2-texture-2d.vs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl2-texture-rect.fs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl2-texture-rect.vs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl3-texture-2d.fs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl3-texture-2d.vs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl3-texture-rect.fs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gl3-texture-rect.vs.glsl gdk: Move GLSL shaders into GResource 2016-04-25 12:29:36 +01:00
gles2-texture.fs.glsl gl: Use a uniform to flip R and B colors on GLES 2016-04-25 14:33:36 +01:00
gles2-texture.vs.glsl gdk: Add GLES shaders 2016-04-25 12:29:36 +01:00