mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
gpu: Clean up the frame after we're done waiting for it
This is useful because cleaning up will do the final copies of texture data. It also means we use less memory, as we're going to release images that were used in ops.
This commit is contained in:
parent
8f78a0f809
commit
d11ac3585d
@ -639,6 +639,8 @@ gsk_gpu_frame_wait (GskGpuFrame *self)
|
||||
return;
|
||||
|
||||
GSK_GPU_FRAME_GET_CLASS (self)->wait (self);
|
||||
|
||||
gsk_gpu_frame_cleanup (self);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user