commit | c046d8284474a0f7763dea849433bde37a69023d | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Jul 10 14:40:01 2015 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Oct 08 10:31:35 2015 +0200 |
tree | afcbf03727d22e119d1252c039083fa049c33083 | |
parent | 5fdb4671b08e0d1631447e81348b2b50a6b85bf7 [diff] |
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>