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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 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) 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 static void paintSubtree(GraphicsContext&, const LayoutObject*); 123 static void paintSubtree(GraphicsContext&, const LayoutObject*);
124 124
125 // TODO(fs): This functions feels a bit misplaced (we don't want this to 125 // TODO(fs): This functions feels a bit misplaced (we don't want this to
126 // turn into the new kitchen sink). Move it if a better location surfaces. 126 // turn into the new kitchen sink). Move it if a better location surfaces.
127 static bool paintForLayoutObject( 127 static bool paintForLayoutObject(
128 const PaintInfo&, 128 const PaintInfo&,
129 const ComputedStyle&, 129 const ComputedStyle&,
130 const LayoutObject&, 130 const LayoutObject&,
131 LayoutSVGResourceMode, 131 LayoutSVGResourceMode,
132 SkPaint&, 132 CdlPaint&,
133 const AffineTransform* additionalPaintServerTransform = nullptr); 133 const AffineTransform* additionalPaintServerTransform = nullptr);
134 134
135 private: 135 private:
136 void applyCompositingIfNecessary(); 136 void applyCompositingIfNecessary();
137 void applyClipIfNecessary(); 137 void applyClipIfNecessary();
138 138
139 // Return true if no masking is necessary or if the mask is successfully 139 // Return true if no masking is necessary or if the mask is successfully
140 // applied. 140 // applied.
141 bool applyMaskIfNecessary(SVGResources*); 141 bool applyMaskIfNecessary(SVGResources*);
142 142
(...skipping 12 matching lines...) Expand all
155 Optional<ClipPathClipper> m_clipPathClipper; 155 Optional<ClipPathClipper> m_clipPathClipper;
156 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext; 156 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext;
157 #if ENABLE(ASSERT) 157 #if ENABLE(ASSERT)
158 bool m_applyClipMaskAndFilterIfNecessaryCalled; 158 bool m_applyClipMaskAndFilterIfNecessaryCalled;
159 #endif 159 #endif
160 }; 160 };
161 161
162 } // namespace blink 162 } // namespace blink
163 163
164 #endif // SVGPaintContext_h 164 #endif // SVGPaintContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698