Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: trunk/Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 180953009: Revert 168554 "Reduce compositing update in Silk's toggle_drawer..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef RenderLayerCompositor_h 26 #ifndef RenderLayerCompositor_h
27 #define RenderLayerCompositor_h 27 #define RenderLayerCompositor_h
28 28
29 #include "core/page/ChromeClient.h" 29 #include "core/page/ChromeClient.h"
30 #include "core/rendering/RenderLayer.h" 30 #include "core/rendering/RenderLayer.h"
31 #include "core/rendering/compositing/CompositingReasonFinder.h" 31 #include "core/rendering/compositing/CompositingReasonFinder.h"
32 #include "core/rendering/compositing/GraphicsLayerUpdater.h"
33 #include "platform/graphics/GraphicsLayerClient.h" 32 #include "platform/graphics/GraphicsLayerClient.h"
34 #include "wtf/HashMap.h" 33 #include "wtf/HashMap.h"
35 34
36 namespace WebCore { 35 namespace WebCore {
37 36
38 class FixedPositionViewportConstraints; 37 class FixedPositionViewportConstraints;
39 class GraphicsLayer; 38 class GraphicsLayer;
40 class RenderEmbeddedObject; 39 class RenderEmbeddedObject;
41 class RenderLayerStackingNode; 40 class RenderLayerStackingNode;
42 class RenderPart; 41 class RenderPart;
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 OwnPtr<GraphicsLayer> m_rootTransformLayer; 333 OwnPtr<GraphicsLayer> m_rootTransformLayer;
335 334
336 CompositingReasonFinder m_compositingReasonFinder; 335 CompositingReasonFinder m_compositingReasonFinder;
337 336
338 bool m_hasAcceleratedCompositing; 337 bool m_hasAcceleratedCompositing;
339 bool m_showRepaintCounter; 338 bool m_showRepaintCounter;
340 339
341 // FIXME: This should absolutely not be mutable. 340 // FIXME: This should absolutely not be mutable.
342 mutable bool m_needsToRecomputeCompositingRequirements; 341 mutable bool m_needsToRecomputeCompositingRequirements;
343 bool m_needsToUpdateLayerTreeGeometry; 342 bool m_needsToUpdateLayerTreeGeometry;
344 GraphicsLayerUpdater::UpdateType m_pendingUpdateType;
345 343
346 bool m_compositing; 344 bool m_compositing;
347 bool m_compositingLayersNeedRebuild; 345 bool m_compositingLayersNeedRebuild;
348 bool m_forceCompositingMode; 346 bool m_forceCompositingMode;
349 bool m_needsUpdateCompositingRequirementsState; 347 bool m_needsUpdateCompositingRequirementsState;
350 348
351 bool m_isTrackingRepaints; // Used for testing. 349 bool m_isTrackingRepaints; // Used for testing.
352 350
353 RootLayerAttachment m_rootLayerAttachment; 351 RootLayerAttachment m_rootLayerAttachment;
354 352
(...skipping 17 matching lines...) Expand all
372 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 370 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
373 #if USE(RUBBER_BANDING) 371 #if USE(RUBBER_BANDING)
374 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 372 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
375 #endif 373 #endif
376 }; 374 };
377 375
378 376
379 } // namespace WebCore 377 } // namespace WebCore
380 378
381 #endif // RenderLayerCompositor_h 379 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698