Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 748816bef2f391dee1204faa1f4f281bd034fe21
https://github.com/WebKit/WebKit/commit/748816bef2f391dee1204faa1f4f281bd034fe21
Author: Mike Wyrzykowski <[email protected]>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp
M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h
M Tools/TestWebKitAPI/Tests/WebCore/DisplayListRecorderTests.cpp
Log Message:
-----------
GraphicsContext::resetClip does not maintain the clipping state in
DisplayListRecorder correctly
https://bugs.webkit.org/show_bug.cgi?id=256374
<radar://108952047>
Reviewed by Kimmo Kinnunen.
Maintain the clipping state correctly when resetClip is used.
* Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp:
(WebCore::DisplayList::Recorder::Recorder):
(WebCore::DisplayList::Recorder::resetClip):
* Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h:
* Tools/TestWebKitAPI/Tests/WebCore/DisplayListRecorderTests.cpp:
Add a test ensuring the behavior matches CoreGraphics.
Canonical link: https://commits.webkit.org/263973@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes