mirror of
https://github.com/qemu/qemu.git
synced 2025-07-30 16:37:00 +00:00

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
14 lines
276 B
C
14 lines
276 B
C
#ifndef QEMU_SHADER_H
|
|
#define QEMU_SHADER_H
|
|
|
|
#include <epoxy/gl.h>
|
|
|
|
typedef struct QemuGLShader QemuGLShader;
|
|
|
|
void qemu_gl_run_texture_blit(QemuGLShader *gls);
|
|
|
|
QemuGLShader *qemu_gl_init_shader(void);
|
|
void qemu_gl_fini_shader(QemuGLShader *gls);
|
|
|
|
#endif /* QEMU_SHADER_H */
|