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

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

Issue 353403006: Consider subpixel accumulation when invalidating paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also squashing path Created 6 years, 5 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, 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor); 143 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp ositingAncestor);
144 144
145 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the 145 // Updates whether a backing store is needed for intrinsic reasons (that is, based on the
146 // layer's own properties or compositing reasons); returns true if the intri nsic need for 146 // layer's own properties or compositing reasons); returns true if the intri nsic need for
147 // a backing store changed. 147 // a backing store changed.
148 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); 148 bool updateRequiresOwnBackingStoreForIntrinsicReasons();
149 149
150 void setSquashingContentsNeedDisplay(); 150 void setSquashingContentsNeedDisplay();
151 void setContentsNeedDisplay(); 151 void setContentsNeedDisplay();
152 // r is in the coordinate space of the layer's render object 152 // r is in the coordinate space of the layer's render object
153 void setContentsNeedDisplayInRect(const IntRect&); 153 void setContentsNeedDisplayInRect(const LayoutRect&);
154 154
155 // Notification from the renderer that its content changed. 155 // Notification from the renderer that its content changed.
156 void contentChanged(ContentChangeType); 156 void contentChanged(ContentChangeType);
157 157
158 LayoutRect compositedBounds() const { return m_compositedBounds; } 158 LayoutRect compositedBounds() const { return m_compositedBounds; }
159 IntRect pixelSnappedCompositedBounds() const; 159 IntRect pixelSnappedCompositedBounds() const;
160 void updateCompositedBounds(); 160 void updateCompositedBounds();
161 161
162 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); 162 void positionOverflowControlsLayers(const IntSize& offsetFromRoot);
163 bool hasUnpositionedOverflowControlsLayers() const; 163 bool hasUnpositionedOverflowControlsLayers() const;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; 410 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1;
411 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; 411 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1;
412 unsigned m_canCompositeFilters : 1; 412 unsigned m_canCompositeFilters : 1;
413 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 413 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
414 unsigned m_scrollingContentsAreEmpty : 1; 414 unsigned m_scrollingContentsAreEmpty : 1;
415 }; 415 };
416 416
417 } // namespace WebCore 417 } // namespace WebCore
418 418
419 #endif // CompositedLayerMapping_h 419 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698