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

Unified Diff: Source/core/paint/ViewDisplayList.h

Issue 744163002: Enable fast/images with slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unnecessary numbers Created 6 years, 1 month 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
Index: Source/core/paint/ViewDisplayList.h
diff --git a/Source/core/paint/ViewDisplayList.h b/Source/core/paint/ViewDisplayList.h
index 854e1bb65dca6eb2c8c0fafadce332668bd903e5..22c5abe939b8bd00095b9102101c7ad54afc46f3 100644
--- a/Source/core/paint/ViewDisplayList.h
+++ b/Source/core/paint/ViewDisplayList.h
@@ -32,35 +32,36 @@ public:
DrawingPaintPhaseTextClip = 10,
DrawingPaintPhaseMask = 11,
DrawingPaintPhaseClippingMask = 12,
- ClipLayerOverflowControls = 13,
- ClipLayerBackground = 14,
- ClipLayerParent = 15,
- ClipLayerFilter = 16,
- ClipLayerForeground = 17,
- ClipLayerFragmentFloat = 18,
- ClipLayerFragmentForeground = 19,
- ClipLayerFragmentChildOutline = 20,
- ClipLayerFragmentOutline = 21,
- ClipLayerFragmentMask = 22,
- ClipLayerFragmentClippingMask = 23,
- ClipLayerFragmentParent = 24,
- ClipLayerFragmentSelection = 25,
- ClipLayerFragmentChildBlockBackgrounds = 26,
- EndClip = 27,
- BeginFilter = 28,
- EndFilter = 29,
- BeginTransparency = 30,
- EndTransparency = 31,
- ClipBoxChildBlockBackgrounds = 32,
- ClipBoxFloat = 33,
- ClipBoxForeground = 34,
- ClipBoxChildOutlines = 35,
- ClipBoxSelection = 36,
- ClipBoxCollapsedTableBorders = 37,
- ClipBoxTextClip = 38,
- ClipBoxClippingMask = 39,
- BeginTransform = 40,
- EndTransform = 41
+ ClipLayerOverflowControls,
+ ClipLayerBackground,
+ ClipLayerParent,
+ ClipLayerFilter,
+ ClipLayerForeground,
+ ClipLayerFragmentFloat,
+ ClipLayerFragmentForeground,
+ ClipLayerFragmentChildOutline,
+ ClipLayerFragmentOutline,
+ ClipLayerFragmentMask,
+ ClipLayerFragmentClippingMask,
+ ClipLayerFragmentParent,
+ ClipLayerFragmentSelection,
+ ClipLayerFragmentChildBlockBackgrounds,
+ EndClip,
+ BeginFilter,
+ EndFilter,
+ TransparencyClip,
+ BeginTransparency,
+ EndTransparency,
+ ClipBoxChildBlockBackgrounds,
+ ClipBoxFloat,
+ ClipBoxForeground,
+ ClipBoxChildOutlines,
+ ClipBoxSelection,
+ ClipBoxCollapsedTableBorders,
+ ClipBoxTextClip,
+ ClipBoxClippingMask,
+ BeginTransform,
+ EndTransform
};
virtual ~DisplayItem() { }
@@ -71,6 +72,8 @@ public:
Type type() const { return m_id.type; }
bool idsEqual(const DisplayItem& other) const { return m_id.renderer == other.m_id.renderer && m_id.type == other.m_id.type; }
+ static Type paintPhaseToClipType(PaintPhase);
+
#ifndef NDEBUG
static WTF::String typeAsDebugString(DisplayItem::Type);
static WTF::String rendererDebugString(const RenderObject*);

Powered by Google App Engine
This is Rietveld 408576698