Re: [Qemu-devel] [PATCH v2 01/11] shaders: initialize vertexes once

2015-09-28 Thread Max Reitz
On 24.09.2015 11:04, Gerd Hoffmann wrote: > 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 > Reviewed-by: Marc-André Lureau > --- > include/ui/shader.h | 4 +++- > ui/con

[Qemu-devel] [PATCH v2 01/11] shaders: initialize vertexes once

2015-09-24 Thread Gerd Hoffmann
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 Reviewed-by: Marc-André Lureau --- include/ui/shader.h | 4 +++- ui/console-gl.c | 7 ++- ui/shader.c | 31 +++