Ilia Bozhinov
47ffd0e184
gles2: pre-multiply alpha and fix blending function
7 years ago
Brian Ashworth
35e83800d4
Fix alpha for src_rgba and src_rgbx
7 years ago
emersion
95e86e675a
render/gles2: remove global state, use OpenGL debug extension
7 years ago
Guido Günther
2d01663b25
gles2: Honor alpha in fragment_src_external
...
By using the same vertex shader and adding alpha to the fragment shader
for external textures we can:
- use alpha blending
- have wlr_gles2_render_texture_with_matrix work with
the GL_TEXTURE_EXTERNAL_OES. So far this failed
since we passed in alpha which was unknown by fragment_src_external
7 years ago
emersion
f1cbbac636
render/gles2: remove matrix transposition in shaders
7 years ago
emersion
8b58e1a3ad
Merge branch 'master' into matrix-redesign
7 years ago
emersion
824a95ad19
matrix: use 2D matrices
7 years ago
Guido Günther
653bc282a7
Indent GLSL by two spaces
...
since this is the most established indentation
7 years ago
Guido Günther
2d0db16942
render: Flip textures in case of inverted_y
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
nyorain
f066ff6d02
Fix external shader
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Drew DeVault
5a2796266f
Support wl_shm pixel formats in gles2 renderer
8 years ago
Drew DeVault
f252c5a792
Manually transpose matricies in shader
...
Since GLES2 doesn't do this for us, it seems, on all platforms.
8 years ago
Drew DeVault
b18209c904
Switch to GLES2
...
Closes #13
8 years ago