mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Remove support for DMA-BUF flags
They are never used in practice, which makes all of our flag handling effectively dead code. Also, APIs such as KMS don't provide a good way to deal with the flags. Let's just fail the DMA-BUF import when clients provide flags.
This commit is contained in:
parent
9a4e1095ca
commit
a04cfca4da
15 changed files with 12 additions and 83 deletions
|
|
@ -28,18 +28,13 @@ const GLchar quad_fragment_src[] =
|
|||
// Textured quads
|
||||
const GLchar tex_vertex_src[] =
|
||||
"uniform mat3 proj;\n"
|
||||
"uniform bool invert_y;\n"
|
||||
"attribute vec2 pos;\n"
|
||||
"attribute vec2 texcoord;\n"
|
||||
"varying vec2 v_texcoord;\n"
|
||||
"\n"
|
||||
"void main() {\n"
|
||||
" gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);\n"
|
||||
" if (invert_y) {\n"
|
||||
" v_texcoord = vec2(texcoord.x, 1.0 - texcoord.y);\n"
|
||||
" } else {\n"
|
||||
" v_texcoord = texcoord;\n"
|
||||
" }\n"
|
||||
" v_texcoord = texcoord;\n"
|
||||
"}\n";
|
||||
|
||||
const GLchar tex_fragment_src_rgba[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue