Skip to content

onscreen/native: Only hold on to scanout buffers in next_fb and current_fb

So we can remove the additional next_fb and current_fb pointers from MetaOnscreenNativeSecondaryGpuState.

Some non-scanout buffers also need to be held in the case of GL blitting which completes in the background. Those are referenced from the scanout buffers themselves to ensure the source buffers live just as long.

Edited by Daniel van Vugt

Merge request reports