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

Unified Diff: Source/core/rendering/svg/SVGRenderingContext.h

Issue 871983003: [Slimming Paint] Implement deferred SVG filters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup Created 5 years, 11 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
Index: Source/core/rendering/svg/SVGRenderingContext.h
diff --git a/Source/core/rendering/svg/SVGRenderingContext.h b/Source/core/rendering/svg/SVGRenderingContext.h
index 308c17278adec49763f38c76923fef13bd737b71..99131057ec1e65cd7e66d3fecf6df89bc8eea983 100644
--- a/Source/core/rendering/svg/SVGRenderingContext.h
+++ b/Source/core/rendering/svg/SVGRenderingContext.h
@@ -30,6 +30,7 @@
#include "core/rendering/PaintInfo.h"
#include "core/rendering/svg/RenderSVGResourceClipper.h"
#include "platform/graphics/paint/ClipPathRecorder.h"
+#include "platform/graphics/paint/DisplayItemList.h"
#include "platform/transforms/AffineTransform.h"
namespace blink {
@@ -54,6 +55,7 @@ public:
SVGRenderingContext(RenderObject& object, const PaintInfo& paintInfo)
: m_object(&object)
, m_paintInfo(paintInfo)
+ , m_originalPaintInfo(&paintInfo)
, m_filter(nullptr)
, m_clipper(nullptr)
, m_clipperState(RenderSVGResourceClipper::ClipperNotApplied)
@@ -90,6 +92,9 @@ private:
RawPtrWillBeMember<RenderObject> m_object;
PaintInfo m_paintInfo;
+ const PaintInfo* m_originalPaintInfo;
+ OwnPtr<GraphicsContext> m_filterContentGraphicsContext;
+ OwnPtr<DisplayItemList> m_filterContentDisplayItemList;
chrishtr 2015/01/24 00:02:02 Switch this order, so that we are not in a state w
pdr. 2015/01/24 01:13:36 Done
RawPtrWillBeMember<RenderSVGResourceFilter> m_filter;
RawPtrWillBeMember<RenderSVGResourceClipper> m_clipper;
RenderSVGResourceClipper::ClipperState m_clipperState;

Powered by Google App Engine
This is Rietveld 408576698