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:
Benjamin Otte 2024-09-14 23:59:57 +02:00
parent 8f78a0f809
commit d11ac3585d

View File

@ -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