diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-07-10 14:40:01 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-10-08 10:31:35 +0200 |
commit | c046d8284474a0f7763dea849433bde37a69023d (patch) | |
tree | afcbf03727d22e119d1252c039083fa049c33083 /ui/sdl2-2d.c | |
parent | 5fdb4671b08e0d1631447e81348b2b50a6b85bf7 (diff) | |
download | qemu-c046d8284474a0f7763dea849433bde37a69023d.zip qemu-c046d8284474a0f7763dea849433bde37a69023d.tar.gz qemu-c046d8284474a0f7763dea849433bde37a69023d.tar.bz2 |
shaders: initialize vertexes once
Create a buffer for the vertex data and place vertexes
there at initialization time. Then just use the buffer
for each texture blit.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui/sdl2-2d.c')
0 files changed, 0 insertions, 0 deletions