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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.h

Issue 474793002: Add GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reset from FrameView Created 6 years, 4 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 void setIsRootForIsolatedGroup(bool); 177 void setIsRootForIsolatedGroup(bool);
178 178
179 void setFilters(const FilterOperations&); 179 void setFilters(const FilterOperations&);
180 180
181 // Some GraphicsLayers paint only the foreground or the background content 181 // Some GraphicsLayers paint only the foreground or the background content
182 void setPaintingPhase(GraphicsLayerPaintingPhase); 182 void setPaintingPhase(GraphicsLayerPaintingPhase);
183 183
184 void setNeedsDisplay(); 184 void setNeedsDisplay();
185 // mark the given rect (in layer coords) as needing dispay. Never goes deep. 185 // mark the given rect (in layer coords) as needing dispay. Never goes deep.
186 void setNeedsDisplayInRect(const FloatRect&); 186 void setNeedsDisplayInRect(const FloatRect&);
187 void setIncludesFirstPaintInvalidation();
188 void resetIncludesFirstPaintInvalidationRecursive();
187 189
188 void setContentsNeedsDisplay(); 190 void setContentsNeedsDisplay();
189 191
190 // Set that the position/size of the contents (image or video). 192 // Set that the position/size of the contents (image or video).
191 void setContentsRect(const IntRect&); 193 void setContentsRect(const IntRect&);
192 194
193 // Return true if the animation is handled by the compositing system. If thi s returns 195 // Return true if the animation is handled by the compositing system. If thi s returns
194 // false, the animation will be run by AnimationController. 196 // false, the animation will be run by AnimationController.
195 // These methods handle both transitions and keyframe animations. 197 // These methods handle both transitions and keyframe animations.
196 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); 198 bool addAnimation(PassOwnPtr<WebCompositorAnimation>);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 }; 346 };
345 347
346 } // namespace blink 348 } // namespace blink
347 349
348 #ifndef NDEBUG 350 #ifndef NDEBUG
349 // Outside the WebCore namespace for ease of invocation from gdb. 351 // Outside the WebCore namespace for ease of invocation from gdb.
350 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 352 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
351 #endif 353 #endif
352 354
353 #endif // GraphicsLayer_h 355 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698