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

mattwoodrow noreply at github.com
Thu Sep 8 00:21:03 PDT 2022


  Branch: refs/heads/webkitgtk/2.36
  Home:   https://github.com/WebKit/WebKit
  Commit: e5a061ba7d3cddd4cacab707f7d220841b26cc2f
      https://github.com/WebKit/WebKit/commit/e5a061ba7d3cddd4cacab707f7d220841b26cc2f
  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