Commit 0308948
committed
[CoordinatedGraphics] CoordinatedPlatformLayer should accumulate damage
https://bugs.webkit.org/show_bug.cgi?id=290164
Reviewed by Alejandro G. Castro.
We currently replace current damage with the given one, but in case of
multiple layer flushes before the composition, the damage should be
accumulated.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setDamage):
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
Canonical link: https://commits.webkit.org/292582@main1 parent ac177a3 commit 0308948
2 files changed
Lines changed: 11 additions & 4 deletions
File tree
- Source/WebCore/platform/graphics/texmap/coordinated
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
566 | 570 | | |
567 | 571 | | |
568 | 572 | | |
| |||
908 | 912 | | |
909 | 913 | | |
910 | 914 | | |
911 | | - | |
912 | | - | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
913 | 920 | | |
914 | 921 | | |
915 | 922 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
0 commit comments