mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
renamed gles2 components to gles
This commit is contained in:
parent
879243e370
commit
00c96e3ac0
19 changed files with 304 additions and 303 deletions
15
render/gles/shaders/gles2_tex_external.frag
Normal file
15
render/gles/shaders/gles2_tex_external.frag
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#extension GL_OES_EGL_image_external : require
|
||||
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
varying vec2 v_texcoord;
|
||||
uniform samplerExternalOES texture0;
|
||||
uniform float alpha;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = texture2D(texture0, v_texcoord) * alpha;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue