Skip to content

Commit

Permalink
Don't synchronously flush when destroying RemoteImageBufferProxy
Browse files Browse the repository at this point in the history
Reviewed by Said Abou-Hallawa.

No correctness tests added, since this should just be a performance improvement.

* WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
(WebKit::RemoteImageBufferProxy::~RemoteImageBufferProxy):

Canonical link: https://commits.webkit.org/250662@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mattwoodrow committed May 17, 2022
1 parent 3d09b26 commit 345dde2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ class RemoteImageBufferProxy : public WebCore::ConcreteImageBuffer<BackendType>
return;
}

flushDrawingContext();
flushDrawingContextAsync();
m_remoteRenderingBackendProxy->remoteResourceCacheProxy().releaseImageBuffer(m_renderingResourceIdentifier);
}

Expand Down

0 comments on commit 345dde2

Please sign in to comment.