gtk/gdk/resources/glsl
Emmanuele Bassi fe25ba3c5f gl: Tweak the swizzle for GLES texture fragments
Cairo surfaces are in BGRA format, but we upload them as RGBA buffers on
GLES; this means that the R and B channels are flipped in the texture
data.

Instead of doing a costly channel flip before putting them on the GPU,
we can flip the values inside the GLSL shader we use specifically for
GLES.
2016-04-25 12:29:37 +01:00
..
gl2-texture-2d.fs.glsl
gl2-texture-2d.vs.glsl
gl2-texture-rect.fs.glsl
gl2-texture-rect.vs.glsl
gl3-texture-2d.fs.glsl
gl3-texture-2d.vs.glsl
gl3-texture-rect.fs.glsl
gl3-texture-rect.vs.glsl
gles2-texture.fs.glsl gl: Tweak the swizzle for GLES texture fragments 2016-04-25 12:29:37 +01:00
gles2-texture.vs.glsl gdk: Add GLES shaders 2016-04-25 12:29:36 +01:00