[webkit-changes] [WebKit/WebKit] 0d267f: RemoteDisplayListRecorder sends trivial transforms...
Kimmo Kinnunen
noreply at github.com
Mon May 8 05:13:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d267f7455a4b8f173a0151f7e39a8e651691e3f
https://github.com/WebKit/WebKit/commit/0d267f7455a4b8f173a0151f7e39a8e651691e3f
Author: Kimmo Kinnunen <kkinnunen at apple.com>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp
M Tools/TestWebKitAPI/Tests/WebCore/DisplayListRecorderTests.cpp
Log Message:
-----------
RemoteDisplayListRecorder sends trivial transforms to GPUP
https://bugs.webkit.org/show_bug.cgi?id=256362
rdar://108945948
Reviewed by Simon Fraser and Said Abou-Hallawa.
Avoid sending trivial translates, scales, rotates.
Avoids small amount of CPU work.
* Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp:
(WebCore::DisplayList::Recorder::translate):
(WebCore::DisplayList::Recorder::rotate):
(WebKit::RemoteLayerBackingStore::drawInContext):
* Tools/TestWebKitAPI/Tests/WebCore/DisplayListRecorderTests.cpp:
Canonical link: https://commits.webkit.org/263796@main
More information about the webkit-changes
mailing list