[webkit-changes] [WebKit/WebKit] df7a74: RemoteImageBufferProxy::ensureBackendCreated can w...

mattwoodrow noreply at github.com
Tue Sep 5 01:25:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: df7a74a8f788e5e1ea909d9e843a674d0e1e50a8
      https://github.com/WebKit/WebKit/commit/df7a74a8f788e5e1ea909d9e843a674d0e1e50a8
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp

  Log Message:
  -----------
  RemoteImageBufferProxy::ensureBackendCreated can wait for a message that isn't pending.
https://bugs.webkit.org/show_bug.cgi?id=261091
<rdar://114795818>

Reviewed by Kimmo Kinnunen.

Currently, we clear the backend in response to a GPUP clear, which calls prepareForBackingStoreChange.
That can trigger ensureBackendCreated if we didn't yet have a backend, which will wait for the original backend (from the crashed process),
but does so by forcing creation of the new GPUP. This message never arrives.

clearBackend doesn't need to call prepareForBackingStoreChange if we didn't have a backend yet.

* Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp:
(WebKit::RemoteImageBufferProxy::clearBackend):

Canonical link: https://commits.webkit.org/267619@main




More information about the webkit-changes mailing list