[webkit-changes] [WebKit/WebKit] 0f38a8: Call prepareForDisplayWithPaint so that WebGL buff...
mattwoodrow
noreply at github.com
Wed Sep 7 20:31:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f38a84a5524ffd5195ccbf73cbdf4b1c9f145fb
https://github.com/WebKit/WebKit/commit/0f38a84a5524ffd5195ccbf73cbdf4b1c9f145fb
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M Source/WebCore/html/OffscreenCanvas.cpp
Log Message:
-----------
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
More information about the webkit-changes
mailing list