Skip to content

backends/drm: Let DrmPipeline handle null buffers

Vlad Zahorodnii requested to merge work/zzag/drm-fix-zoom into master

If eglSwapBuffers() fails, there won't be a buffer and so we need to mark the frame as failed. Otherwise, the screen can be frozen.

eglSwapBuffers() can fail if some effect calls makeOpenGLContext() between RenderBackend::beginFrame() and RenderBackend::endFrame(), which is the case with the zoom effect. It can set wrong draw surface in ZoomEffect::recreateTexture()

BUG: 445412

Edited by Vlad Zahorodnii

Merge request reports