-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[TexMap] Improve painting tile fragments in compositor #42805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TexMap] Improve painting tile fragments in compositor #42805
Conversation
EWS run on previous version of this PR (hash 2a41b8a) |
2a41b8a
to
c73ce60
Compare
EWS run on previous version of this PR (hash c73ce60) |
c73ce60
to
8ebe152
Compare
EWS run on previous version of this PR (hash 8ebe152) |
8ebe152
to
86e9533
Compare
EWS run on previous version of this PR (hash 86e9533) |
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
Outdated
Show resolved
Hide resolved
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
Outdated
Show resolved
Hide resolved
86e9533
to
03e762c
Compare
EWS run on previous version of this PR (hash 03e762c) |
03e762c
to
2141424
Compare
EWS run on previous version of this PR (hash 2141424) |
2141424
to
e4c66b0
Compare
EWS run on current version of this PR (hash e4c66b0) |
https://bugs.webkit.org/show_bug.cgi?id=290169 Reviewed by Carlos Garcia Campos. This change utilizes the Damage to further improve the tile painting in the compositor. If tile size allows, with this change it's now possible to have multiple "draw" operations per tile. * Source/WebCore/platform/graphics/Damage.h: (WebCore::Damage::Damage): (WebCore::Damage::rectsForPainting const): (WebCore::Damage::makeFull): (WebCore::Damage::add): (WebCore::Damage::initialize): (WebCore::Damage::shouldAdd const): (WebCore::Damage::tileIndexForRect const): * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp: (WebCore::CoordinatedBackingStore::paintToTextureMapper): * Tools/TestWebKitAPI/Tests/WebCore/glib/Damage.cpp: (TestWebKitAPI::TEST(Damage, Unite)): (TestWebKitAPI::TEST(Damage, RectsForPainting)): Canonical link: https://commits.webkit.org/292700@main
e4c66b0
to
3d4e69f
Compare
Committed 292700@main (3d4e69f): https://commits.webkit.org/292700@main Reviewed commits have been landed. Closing PR #42805 and removing active labels. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got some post-commit comments, sorry for being late.
3d4e69f
e4c66b0
🧪 api-ios