mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
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
This commit is contained in:
parent
46e19e149f
commit
2e1d70b9e0
5 changed files with 24 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
typedef struct QemuGLShader QemuGLShader;
|
||||
|
||||
void qemu_gl_run_texture_blit(QemuGLShader *gls);
|
||||
void qemu_gl_run_texture_blit(QemuGLShader *gls, bool flip);
|
||||
|
||||
QemuGLShader *qemu_gl_init_shader(void);
|
||||
void qemu_gl_fini_shader(QemuGLShader *gls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue