OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2450 // This was required for slimming paint v1 but is only temporarily | 2450 // This was required for slimming paint v1 but is only temporarily |
2451 // needed for slimming paint v2. | 2451 // needed for slimming paint v2. |
2452 view->compositor()->updateIfNeededRecursive(); | 2452 view->compositor()->updateIfNeededRecursive(); |
2453 scrollContentsIfNeededRecursive(); | 2453 scrollContentsIfNeededRecursive(); |
2454 | 2454 |
2455 ASSERT(lifecycle().state() >= DocumentLifecycle::CompositingClean); | 2455 ASSERT(lifecycle().state() >= DocumentLifecycle::CompositingClean); |
2456 | 2456 |
2457 if (phases == OnlyUpToCompositingCleanPlusScrolling) | 2457 if (phases == OnlyUpToCompositingCleanPlusScrolling) |
2458 return; | 2458 return; |
2459 | 2459 |
2460 invalidateTreeIfNeededRecursive(); | 2460 if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| 2461 invalidateTreeIfNeededRecursive(); |
2461 | 2462 |
2462 if (view->compositor()->inCompositingMode()) | 2463 if (view->compositor()->inCompositingMode()) |
2463 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded(); | 2464 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded(); |
2464 | 2465 |
2465 updateCompositedSelectionIfNeeded(); | 2466 updateCompositedSelectionIfNeeded(); |
2466 | 2467 |
2467 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { | 2468 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
2468 paintForSlimmingPaintV2(); | 2469 paintForSlimmingPaintV2(); |
2469 if (phases == OnlyUpToPaintForSlimmingPaintV2Clean) | 2470 if (phases == OnlyUpToPaintForSlimmingPaintV2Clean) |
2470 return; | 2471 return; |
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3972 | 3973 |
3973 if (!graphicsLayer) | 3974 if (!graphicsLayer) |
3974 return; | 3975 return; |
3975 | 3976 |
3976 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL
ayoutObject(), paintInvalidationContainer, viewRect); | 3977 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL
ayoutObject(), paintInvalidationContainer, viewRect); |
3977 | 3978 |
3978 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web
Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing
IntRect(viewRect))); | 3979 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web
Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing
IntRect(viewRect))); |
3979 } | 3980 } |
3980 | 3981 |
3981 } // namespace blink | 3982 } // namespace blink |
OLD | NEW |