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

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

Issue 202683005: optimizing layout performance when only transform3d matrix changed by Base URL: http://src.chromium.org/blink/trunk/
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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class RenderPart; 42 class RenderPart;
43 class RenderVideo; 43 class RenderVideo;
44 class ScrollingCoordinator; 44 class ScrollingCoordinator;
45 class StickyPositionViewportConstraints; 45 class StickyPositionViewportConstraints;
46 46
47 enum CompositingUpdateType { 47 enum CompositingUpdateType {
48 CompositingUpdateAfterStyleChange, 48 CompositingUpdateAfterStyleChange,
49 CompositingUpdateAfterLayout, 49 CompositingUpdateAfterLayout,
50 CompositingUpdateOnScroll, 50 CompositingUpdateOnScroll,
51 CompositingUpdateOnCompositedScroll, 51 CompositingUpdateOnCompositedScroll,
52 CompositingUpdateAfterCanvasContextChange 52 CompositingUpdateAfterCanvasContextChange,
53 CompositingMinUpdateAfterStyleChange,
Ian Vollick 2014/03/18 11:59:16 "Min" and "fast" don't convey enough meaning. How
53 }; 54 };
54 55
55 // RenderLayerCompositor manages the hierarchy of 56 // RenderLayerCompositor manages the hierarchy of
56 // composited RenderLayers. It determines which RenderLayers 57 // composited RenderLayers. It determines which RenderLayers
57 // become compositing, and creates and maintains a hierarchy of 58 // become compositing, and creates and maintains a hierarchy of
58 // GraphicsLayers based on the RenderLayer painting order. 59 // GraphicsLayers based on the RenderLayer painting order.
59 // 60 //
60 // There is one RenderLayerCompositor per RenderView. 61 // There is one RenderLayerCompositor per RenderView.
61 62
62 class RenderLayerCompositor FINAL : public GraphicsLayerClient { 63 class RenderLayerCompositor FINAL : public GraphicsLayerClient {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Enclosing layer for overflow controls and the clipping layer 367 // Enclosing layer for overflow controls and the clipping layer
367 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; 368 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer;
368 369
369 // Layers for overflow controls 370 // Layers for overflow controls
370 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 371 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
371 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 372 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
372 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 373 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
373 #if USE(RUBBER_BANDING) 374 #if USE(RUBBER_BANDING)
374 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 375 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
375 #endif 376 #endif
377 bool m_layersChanged;
376 }; 378 };
377 379
378 380
379 } // namespace WebCore 381 } // namespace WebCore
380 382
381 #endif // RenderLayerCompositor_h 383 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698