Changeset 145389 in webkit
- Timestamp:
- Mar 11, 2013, 12:57:23 PM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/TiledBacking.h (modified) (1 diff)
-
platform/graphics/ca/mac/TileController.h (modified) (1 diff)
-
rendering/RenderLayerBacking.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r145387 r145389 1 2013-03-11 Tim Horton <timothy_horton@apple.com> 2 3 TiledBacking scrolling coverage can be unfairly limited for clients who do scrolling outside the web view 4 https://bugs.webkit.org/show_bug.cgi?id=111958 5 <rdar://problem/13356896> 6 7 Reviewed by Darin Adler. 8 9 Don't limit TiledBacking coverage if the client has opted into using 10 its exposed rect to allow scrolling above the web view. 11 12 * platform/graphics/TiledBacking.h: 13 * platform/graphics/ca/mac/TileController.h: 14 * rendering/RenderLayerBacking.cpp: 15 (WebCore::RenderLayerBacking::adjustTiledBackingCoverage): 16 1 17 2013-03-11 Rajeev Sarvaria <rsarvaria@blackberry.com> 2 18 -
trunk/Source/WebCore/platform/graphics/TiledBacking.h
r144959 r145389 50 50 virtual void setExposedRect(const FloatRect&) = 0; 51 51 virtual void setClipsToExposedRect(bool) = 0; 52 virtual bool clipsToExposedRect() = 0; 52 53 53 54 virtual void prepopulateRect(const FloatRect&) = 0; -
trunk/Source/WebCore/platform/graphics/ca/mac/TileController.h
r145148 r145389 109 109 virtual void setVisibleRect(const FloatRect&) OVERRIDE; 110 110 virtual void setExposedRect(const FloatRect&) OVERRIDE; 111 virtual bool clipsToExposedRect() OVERRIDE { return m_clipsToExposedRect; } 111 112 virtual void setClipsToExposedRect(bool) OVERRIDE; 112 113 virtual void prepopulateRect(const FloatRect&) OVERRIDE; -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r145148 r145389 206 206 if (frame) { 207 207 FrameView* frameView = frame->view(); 208 if (frameView->horizontalScrollbarMode() != ScrollbarAlwaysOff) 208 bool clipsToExposedRect = tiledBacking()->clipsToExposedRect(); 209 if (frameView->horizontalScrollbarMode() != ScrollbarAlwaysOff || clipsToExposedRect) 209 210 tileCoverage |= TiledBacking::CoverageForHorizontalScrolling; 210 211 211 if (frameView->verticalScrollbarMode() != ScrollbarAlwaysOff )212 if (frameView->verticalScrollbarMode() != ScrollbarAlwaysOff || clipsToExposedRect) 212 213 tileCoverage |= TiledBacking::CoverageForVerticalScrolling; 213 214
Note:
See TracChangeset
for help on using the changeset viewer.