[webkit-changes] [WebKit/WebKit] 3f2585: Merge 254259 at main - Call prepareForDisplayWithPain...

mattwoodrow noreply at github.com
Thu Sep 8 00:20:57 PDT 2022


  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f2585e3eb0c88a6439ecb35d8bcd169f79406d6
      https://github.com/WebKit/WebKit/commit/3f2585e3eb0c88a6439ecb35d8bcd169f79406d6
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    M Source/WebCore/html/OffscreenCanvas.cpp

  Log Message:
  -----------
  Merge 254259 at main - Call prepareForDisplayWithPaint so that WebGL buffers get cleared.
https://bugs.webkit.org/show_bug.cgi?id=244877

Reviewed by Chris Lord.

WebGLRenderingContextBase needs this to be called, so that paintRenderingResultsToCanvas()
knows that this is a 'display' and clears the back buffer.

* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::commitToPlaceholderCanvas):

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

(cherry picked from commit 0f38a84a5524ffd5195ccbf73cbdf4b1c9f145fb)




More information about the webkit-changes mailing list