opengl: add flipping vertex shader
commit2e1d70b9e03ca3f1c6185b54010bc9e47e0a0d0c
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Oct 2017 13:54:50 +0000 (10 15:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Oct 2017 08:25:42 +0000 (17 10:25 +0200)
tree98f4a8f35a8a696ddcae2a20ea87db4425c8d396
parent46e19e149f3b129a22c440caba853188df67deab
opengl: add flipping vertex shader

Add vertex shader which flips the texture upside down while blitting it.
Add argument to qemu_gl_run_texture_blit() to enable flipping.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171010135453.6704-4-kraxel@redhat.com
Makefile
include/ui/shader.h
ui/console-gl.c
ui/shader.c
ui/shader/texture-blit-flip.vert [new file with mode: 0644]