Bug 1961724 [Linux] Flush GL rendering at NativeLayerWaylandRender::NotifySurfaceReady() as we need to have complete GL rendering for wl_buffer export r=gw
Differential Revision: https://phabricator.services.mozilla.com/D248989
This commit is contained in:
committed by
stransky@redhat.com
parent
3279c59ebc
commit
5518711d74
@@ -987,6 +987,9 @@ void NativeLayerWaylandRender::NotifySurfaceReady() {
|
||||
MOZ_DIAGNOSTIC_ASSERT(!mFrontBuffer);
|
||||
MOZ_DIAGNOSTIC_ASSERT(mInProgressBuffer);
|
||||
mFrontBuffer = std::move(mInProgressBuffer);
|
||||
if (mSurfacePoolHandle->gl()) {
|
||||
mSurfacePoolHandle->gl()->FlushIfHeavyGLCallsSinceLastFlush();
|
||||
}
|
||||
}
|
||||
|
||||
void NativeLayerWaylandRender::DiscardBackbuffersLocked(
|
||||
|
||||
Reference in New Issue
Block a user