|
| 1 | +2012-10-19 Beth Dakin < [email protected]> |
| 2 | + |
| 3 | + https://bugs.webkit.org/show_bug.cgi?id=99768 |
| 4 | + We should limit the tile cache coverage when a page can't take |
| 5 | + advantage of fast tile scrolling anyway |
| 6 | + |
| 7 | + Reviewed by Simon Fraser. |
| 8 | + |
| 9 | + When sites can't use fast-scrolling, there is no need to inflate the |
| 10 | + tile cache. In fact, we get a performance boost by keeping it small |
| 11 | + on painting-intensive sites. |
| 12 | + |
| 13 | + Instead of just looking a whether or not the FrameView |
| 14 | + canHaveScrollbar(), consult |
| 15 | + shouldUpdateScrollLayerPositionOnMainThread(). |
| 16 | + * page/FrameView.cpp: |
| 17 | + (WebCore::FrameView::performPostLayoutTasks): |
| 18 | + * rendering/RenderLayerBacking.cpp: |
| 19 | + (WebCore::RenderLayerBacking::RenderLayerBacking): |
| 20 | + |
| 21 | + Expose shouldUpdateScrollLayerPositionOnMainThread(). |
| 22 | + * page/scrolling/ScrollingCoordinator.cpp: |
| 23 | + (WebCore::ScrollingCoordinator::hasNonLayerFixedObjects): |
| 24 | + (WebCore::ScrollingCoordinator::shouldUpdateScrollLayerPositionOnMainThread): |
| 25 | + (WebCore): |
| 26 | + (WebCore::ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread): |
| 27 | + * page/scrolling/ScrollingCoordinator.h: |
| 28 | + (ScrollingCoordinator): |
| 29 | + |
| 30 | + Bug fix. Should be bitwise and. |
| 31 | + * platform/graphics/ca/mac/TileCache.mm: |
| 32 | + (WebCore::TileCache::tileCoverageRect): |
| 33 | + |
1 | 34 | 2012-10-19 Mark Lam < [email protected]>
|
2 | 35 |
|
3 | 36 | Added WTF::StackStats mechanism.
|
|
0 commit comments