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
Showing
- Makefile 1 addition, 1 deletionMakefile
- include/ui/console.h 6 additions, 8 deletionsinclude/ui/console.h
- include/ui/gtk.h 1 addition, 1 deletioninclude/ui/gtk.h
- include/ui/sdl2.h 1 addition, 1 deletioninclude/ui/sdl2.h
- include/ui/shader.h 6 additions, 8 deletionsinclude/ui/shader.h
- include/ui/spice-display.h 1 addition, 1 deletioninclude/ui/spice-display.h
- ui/console-gl.c 6 additions, 39 deletionsui/console-gl.c
- ui/gtk-egl.c 1 addition, 1 deletionui/gtk-egl.c
- ui/gtk-gl-area.c 1 addition, 1 deletionui/gtk-gl-area.c
- ui/sdl2-gl.c 2 additions, 2 deletionsui/sdl2-gl.c
- ui/shader.c 42 additions, 9 deletionsui/shader.c
- ui/spice-display.c 1 addition, 1 deletionui/spice-display.c
Loading
Please register or sign in to comment