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

Unified Diff: Source/platform/graphics/PaintInvalidationReason.h

Issue 1026823002: [S.P.] Don't draw frames of animated images that are offscreen (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/PaintInvalidationReason.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/PaintInvalidationReason.h
diff --git a/Source/platform/graphics/PaintInvalidationReason.h b/Source/platform/graphics/PaintInvalidationReason.h
index 17fe1cf2a9c520b126aa950ed60807090ca0705a..8ce442e7511d3a1625c3042ae16d08c9e38ef7d6 100644
--- a/Source/platform/graphics/PaintInvalidationReason.h
+++ b/Source/platform/graphics/PaintInvalidationReason.h
@@ -27,7 +27,11 @@ enum PaintInvalidationReason {
PaintInvalidationSelection,
PaintInvalidationLayer,
PaintInvalidationRendererInsertion,
- PaintInvalidationRendererRemoval
+ PaintInvalidationRendererRemoval,
+ // PaintInvalidationDelayedFull means that PaintInvalidationFull is needed in order to fully paint
+ // the content, but that painting of the object can be delayed until a future frame.
+ // This can be the case for an object whose content is not visible to the user.
+ PaintInvalidationDelayedFull
};
PLATFORM_EXPORT const char* paintInvalidationReasonToString(PaintInvalidationReason);
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/PaintInvalidationReason.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698