Changeset 245220 in webkit
- Timestamp:
- May 12, 2019 8:57:38 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245215 r245220 1 2019-05-12 Simon Fraser <simon.fraser@apple.com> 2 3 When the set of backing-sharing layers changes, we need to issue a repaint 4 https://bugs.webkit.org/show_bug.cgi?id=197825 5 6 Reviewed by Zalan Bujtas. 7 8 * compositing/shared-backing/overflow-scroll/repaint-shared-on-scroll-expected.html: Added. 9 * compositing/shared-backing/overflow-scroll/repaint-shared-on-scroll.html: Added. 10 1 11 2019-05-12 Takashi Komori <Takashi.Komori@sony.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r245219 r245220 1 2019-05-12 Simon Fraser <simon.fraser@apple.com> 2 3 When the set of backing-sharing layers changes, we need to issue a repaint 4 https://bugs.webkit.org/show_bug.cgi?id=197825 5 6 Reviewed by Zalan Bujtas. 7 8 If the set of layers painting into a shared backing store changes, we need 9 to repaint that backing store. This happens when scrolling as shared layers 10 enter the visible area. 11 12 Test: compositing/shared-backing/overflow-scroll/repaint-shared-on-scroll.html 13 14 * rendering/RenderLayerBacking.cpp: 15 (WebCore::RenderLayerBacking::setBackingSharingLayers): 16 1 17 2019-05-02 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r245218 r245220 282 282 { 283 283 clearBackingSharingLayerProviders(m_backingSharingLayers); 284 285 if (sharingLayers != m_backingSharingLayers) 286 setContentsNeedDisplay(); // This could be optimize to only repaint rects for changed layers. 287 284 288 m_backingSharingLayers = WTFMove(sharingLayers); 285 289
Note: See TracChangeset
for help on using the changeset viewer.