gpu: Use GL_STREAM_DRAW for the push constants buffer
This seems to hit a bunch of optimizations and makes push constants slightly faster.
This commit is contained in:
@@ -105,7 +105,7 @@ gsk_gl_frame_submit (GskGpuFrame *frame,
|
||||
glBufferData (GL_UNIFORM_BUFFER,
|
||||
sizeof (GskGpuGlobalsInstance),
|
||||
NULL,
|
||||
GL_DYNAMIC_DRAW);
|
||||
GL_STREAM_DRAW);
|
||||
|
||||
while (op)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user