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

Side by Side Diff: Source/platform/graphics/filters/FETurbulence.cpp

Issue 1097053004: Drop some dead code from FilterEffect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu> 6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu>
7 * Copyright (C) 2011 Gabor Loki <loki@webkit.org> 7 * Copyright (C) 2011 Gabor Loki <loki@webkit.org>
8 * Copyright (C) 2013 Google Inc. All rights reserved. 8 * Copyright (C) 2013 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "platform/graphics/filters/FETurbulence.h" 27 #include "platform/graphics/filters/FETurbulence.h"
28 28
29 #include "SkPerlinNoiseShader.h" 29 #include "SkPerlinNoiseShader.h"
30 #include "SkRectShaderImageFilter.h" 30 #include "SkRectShaderImageFilter.h"
31 #include "platform/graphics/filters/Filter.h" 31 #include "platform/graphics/filters/Filter.h"
32 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" 32 #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
33 #include "platform/text/TextStream.h" 33 #include "platform/text/TextStream.h"
34 #include "wtf/MathExtras.h"
35 34
36 namespace blink { 35 namespace blink {
37 36
38 FETurbulence::FETurbulence(Filter* filter, TurbulenceType type, float baseFreque ncyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles) 37 FETurbulence::FETurbulence(Filter* filter, TurbulenceType type, float baseFreque ncyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles)
39 : FilterEffect(filter) 38 : FilterEffect(filter)
40 , m_type(type) 39 , m_type(type)
41 , m_baseFrequencyX(baseFrequencyX) 40 , m_baseFrequencyX(baseFrequencyX)
42 , m_baseFrequencyY(baseFrequencyY) 41 , m_baseFrequencyY(baseFrequencyY)
43 , m_numOctaves(numOctaves) 42 , m_numOctaves(numOctaves)
44 , m_seed(seed) 43 , m_seed(seed)
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 FilterEffect::externalRepresentation(ts); 177 FilterEffect::externalRepresentation(ts);
179 ts << " type=\"" << type() << "\" " 178 ts << " type=\"" << type() << "\" "
180 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() << "\" " 179 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() << "\" "
181 << "seed=\"" << seed() << "\" " 180 << "seed=\"" << seed() << "\" "
182 << "numOctaves=\"" << numOctaves() << "\" " 181 << "numOctaves=\"" << numOctaves() << "\" "
183 << "stitchTiles=\"" << stitchTiles() << "\"]\n"; 182 << "stitchTiles=\"" << stitchTiles() << "\"]\n";
184 return ts; 183 return ts;
185 } 184 }
186 185
187 } // namespace blink 186 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698