Changeset 190628 in webkit
- Timestamp:
- Oct 6, 2015 11:20:29 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r190627 r190628 1 2015-10-06 Tim Horton <timothy_horton@apple.com> 2 3 Tile map shows a green rect when threaded scrolling is disabled 4 https://bugs.webkit.org/show_bug.cgi?id=149716 5 6 Reviewed by Darin Adler. 7 8 Green is supposed to indicate that we're using the fast path; if threaded 9 scrolling is disabled, we're definitely not doing that. 10 11 * platform/graphics/TiledBacking.h: 12 * platform/graphics/ca/TileController.cpp: 13 (WebCore::TileController::TileController): 14 * platform/graphics/ca/TileCoverageMap.cpp: 15 (WebCore::TileCoverageMap::update): 16 Default to the "we have no ScrollingCoordinator" purple indication; 17 if a ScrollingCoordinator comes along it will setScrollingModeIndication 18 and change it from this default. 19 1 20 2015-10-06 Zalan Bujtas <zalan@apple.com> 2 21 -
trunk/Source/WebCore/platform/graphics/TiledBacking.h
r185036 r190628 36 36 37 37 enum ScrollingModeIndication { 38 SynchronousScrollingBecauseOfLackOfScrollingCoordinatorIndication, 38 39 SynchronousScrollingBecauseOfStyleIndication, 39 40 SynchronousScrollingBecauseOfEventHandlersIndication, -
trunk/Source/WebCore/platform/graphics/ca/TileController.cpp
r188324 r190628 71 71 , m_hasTilesWithTemporaryScaleFactor(false) 72 72 , m_tileDebugBorderWidth(0) 73 , m_indicatorMode( AsyncScrollingIndication)73 , m_indicatorMode(SynchronousScrollingBecauseOfLackOfScrollingCoordinatorIndication) 74 74 , m_topContentInset(0) 75 75 { -
trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp
r183354 r190628 102 102 Color visibleRectIndicatorColor; 103 103 switch (m_controller.indicatorMode()) { 104 case SynchronousScrollingBecauseOfLackOfScrollingCoordinatorIndication: 105 visibleRectIndicatorColor = Color(200, 80, 255); 106 break; 104 107 case SynchronousScrollingBecauseOfStyleIndication: 105 108 visibleRectIndicatorColor = Color(255, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.