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

Side by Side Diff: Source/core/paint/SVGPaintContext.h

Issue 1220053003: Disentangle filter content recording state from FilterData (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test. Created 5 years, 5 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
« no previous file with comments | « Source/core/paint/SVGFilterPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007 Rob Buis <buis@kde.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 13 matching lines...) Expand all
24 24
25 #ifndef SVGPaintContext_h 25 #ifndef SVGPaintContext_h
26 #define SVGPaintContext_h 26 #define SVGPaintContext_h
27 27
28 #include "core/layout/svg/LayoutSVGResourceClipper.h" 28 #include "core/layout/svg/LayoutSVGResourceClipper.h"
29 #include "core/layout/svg/LayoutSVGResourcePaintServer.h" 29 #include "core/layout/svg/LayoutSVGResourcePaintServer.h"
30 #include "core/paint/CompositingRecorder.h" 30 #include "core/paint/CompositingRecorder.h"
31 #include "core/paint/FloatClipRecorder.h" 31 #include "core/paint/FloatClipRecorder.h"
32 #include "core/paint/PaintInfo.h" 32 #include "core/paint/PaintInfo.h"
33 #include "core/paint/SVGClipPainter.h" 33 #include "core/paint/SVGClipPainter.h"
34 #include "core/paint/SVGFilterPainter.h"
34 #include "platform/graphics/paint/ClipPathRecorder.h" 35 #include "platform/graphics/paint/ClipPathRecorder.h"
35 #include "platform/transforms/AffineTransform.h" 36 #include "platform/transforms/AffineTransform.h"
36 37
37 namespace blink { 38 namespace blink {
38 39
39 class LayoutObject; 40 class LayoutObject;
40 class LayoutSVGResourceFilter; 41 class LayoutSVGResourceFilter;
41 class LayoutSVGResourceMasker; 42 class LayoutSVGResourceMasker;
42 class SVGResources; 43 class SVGResources;
43 44
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 LayoutObject* m_object; 88 LayoutObject* m_object;
88 PaintInfo m_paintInfo; 89 PaintInfo m_paintInfo;
89 const PaintInfo* m_originalPaintInfo; 90 const PaintInfo* m_originalPaintInfo;
90 LayoutSVGResourceFilter* m_filter; 91 LayoutSVGResourceFilter* m_filter;
91 LayoutSVGResourceClipper* m_clipper; 92 LayoutSVGResourceClipper* m_clipper;
92 SVGClipPainter::ClipperState m_clipperState; 93 SVGClipPainter::ClipperState m_clipperState;
93 LayoutSVGResourceMasker* m_masker; 94 LayoutSVGResourceMasker* m_masker;
94 OwnPtr<FloatClipRecorder> m_clipRecorder; 95 OwnPtr<FloatClipRecorder> m_clipRecorder;
95 OwnPtr<CompositingRecorder> m_compositingRecorder; 96 OwnPtr<CompositingRecorder> m_compositingRecorder;
96 OwnPtr<ClipPathRecorder> m_clipPathRecorder; 97 OwnPtr<ClipPathRecorder> m_clipPathRecorder;
98 OwnPtr<SVGFilterRecordingContext> m_filterRecordingContext;
97 #if ENABLE(ASSERT) 99 #if ENABLE(ASSERT)
98 bool m_applyClipMaskAndFilterIfNecessaryCalled; 100 bool m_applyClipMaskAndFilterIfNecessaryCalled;
99 #endif 101 #endif
100 }; 102 };
101 103
102 } // namespace blink 104 } // namespace blink
103 105
104 #endif // SVGPaintContext_h 106 #endif // SVGPaintContext_h
OLDNEW
« no previous file with comments | « Source/core/paint/SVGFilterPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698