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

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

Issue 763493003: Track scissored damage area for WebGL Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } 115 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); }
116 // Contains the bottommost layer in the hierarchy that can contain the child ren transform. 116 // Contains the bottommost layer in the hierarchy that can contain the child ren transform.
117 GraphicsLayer* layerForChildrenTransform() const; 117 GraphicsLayer* layerForChildrenTransform() const;
118 118
119 void setSquashingContentsNeedDisplay(); 119 void setSquashingContentsNeedDisplay();
120 void setContentsNeedDisplay(); 120 void setContentsNeedDisplay();
121 // r is in the coordinate space of the layer's render object 121 // r is in the coordinate space of the layer's render object
122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason ); 122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason );
123 123
124 // Notification from the renderer that its content changed. 124 // Notification from the renderer that its content changed.
125 void contentChanged(ContentChangeType); 125 void contentChanged(ContentChangeType, const IntRect&);
126 126
127 LayoutRect compositedBounds() const { return m_compositedBounds; } 127 LayoutRect compositedBounds() const { return m_compositedBounds; }
128 IntRect pixelSnappedCompositedBounds() const; 128 IntRect pixelSnappedCompositedBounds() const;
129 129
130 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); 130 void positionOverflowControlsLayers(const IntSize& offsetFromRoot);
131 bool hasUnpositionedOverflowControlsLayers() const; 131 bool hasUnpositionedOverflowControlsLayers() const;
132 132
133 // Returns true if the assignment actually changed the assigned squashing la yer. 133 // Returns true if the assignment actually changed the assigned squashing la yer.
134 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render Layer& owningLayer, size_t nextSquashedLayerIndex); 134 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render Layer& owningLayer, size_t nextSquashedLayerIndex);
135 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); 135 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*);
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 unsigned m_pendingUpdateScope : 2; 409 unsigned m_pendingUpdateScope : 2;
410 unsigned m_isMainFrameRenderViewLayer : 1; 410 unsigned m_isMainFrameRenderViewLayer : 1;
411 411
412 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 412 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
413 unsigned m_scrollingContentsAreEmpty : 1; 413 unsigned m_scrollingContentsAreEmpty : 1;
414 }; 414 };
415 415
416 } // namespace blink 416 } // namespace blink
417 417
418 #endif // CompositedLayerMapping_h 418 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698