]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk-gl-area.c
opengl: move shader init from console-gl.c to shader.c
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Oct 2017 13:54:49 +0000 (15:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Oct 2017 08:25:42 +0000 (10:25 +0200)
commit46e19e149f3b129a22c440caba853188df67deab
tree4c3b53e551e8f69b3762f5961551594ca72ee9d7
parent4133fa711f37f0db303bf5aac03ea31b5be6ac1d
opengl: move shader init from console-gl.c to shader.c

With the upcoming dmabuf support in qemu there will be more users of the
shaders than just console-gl.c.  So rename ConsoleGLState to
QemuGLShader, rename some functions too, move code from console-gl.c to
shaders.c.

No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171010135453.6704-3-kraxel@redhat.com
12 files changed:
Makefile
include/ui/console.h
include/ui/gtk.h
include/ui/sdl2.h
include/ui/shader.h
include/ui/spice-display.h
ui/console-gl.c
ui/gtk-egl.c
ui/gtk-gl-area.c
ui/sdl2-gl.c
ui/shader.c
ui/spice-display.c