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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.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 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 void setFilters(const FilterOperations&); 180 void setFilters(const FilterOperations&);
181 181
182 // Some GraphicsLayers paint only the foreground or the background content 182 // Some GraphicsLayers paint only the foreground or the background content
183 void setPaintingPhase(GraphicsLayerPaintingPhase); 183 void setPaintingPhase(GraphicsLayerPaintingPhase);
184 184
185 void setNeedsDisplay(); 185 void setNeedsDisplay();
186 // Mark the given rect (in layer coords) as needing display. Never goes deep . 186 // Mark the given rect (in layer coords) as needing display. Never goes deep .
187 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); 187 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason);
188 188
189 void setContentsNeedsDisplay(); 189 void setContentsNeedsDisplay(const IntRect&);
190 190
191 // Set that the position/size of the contents (image or video). 191 // Set that the position/size of the contents (image or video).
192 void setContentsRect(const IntRect&); 192 void setContentsRect(const IntRect&);
193 193
194 // Return true if the animation is handled by the compositing system. If thi s returns 194 // Return true if the animation is handled by the compositing system. If thi s returns
195 // false, the animation will be run by AnimationController. 195 // false, the animation will be run by AnimationController.
196 // These methods handle both transitions and keyframe animations. 196 // These methods handle both transitions and keyframe animations.
197 bool addAnimation(PassOwnPtr<WebCompositorAnimation>); 197 bool addAnimation(PassOwnPtr<WebCompositorAnimation>);
198 void pauseAnimation(int animationId, double /*timeOffset*/); 198 void pauseAnimation(int animationId, double /*timeOffset*/);
199 void removeAnimation(int animationId); 199 void removeAnimation(int animationId);
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 }; 351 };
352 352
353 } // namespace blink 353 } // namespace blink
354 354
355 #ifndef NDEBUG 355 #ifndef NDEBUG
356 // Outside the blink namespace for ease of invocation from gdb. 356 // Outside the blink namespace for ease of invocation from gdb.
357 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 357 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
358 #endif 358 #endif
359 359
360 #endif // GraphicsLayer_h 360 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositedLayerMapping.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698