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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/filters/FETurbulence.h

Issue 1387573003: Pass SkiaImageFilterBuilder& to FilterEffect::createImageFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 bool setNumOctaves(int); 57 bool setNumOctaves(int);
58 58
59 bool stitchTiles() const; 59 bool stitchTiles() const;
60 bool setStitchTiles(bool); 60 bool setStitchTiles(bool);
61 61
62 TextStream& externalRepresentation(TextStream&, int indention) const overrid e; 62 TextStream& externalRepresentation(TextStream&, int indention) const overrid e;
63 63
64 private: 64 private:
65 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool); 65 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool);
66 66
67 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) overrid e; 67 PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) overrid e;
68 SkShader* createShader(); 68 SkShader* createShader();
69 69
70 TurbulenceType m_type; 70 TurbulenceType m_type;
71 float m_baseFrequencyX; 71 float m_baseFrequencyX;
72 float m_baseFrequencyY; 72 float m_baseFrequencyY;
73 int m_numOctaves; 73 int m_numOctaves;
74 float m_seed; 74 float m_seed;
75 bool m_stitchTiles; 75 bool m_stitchTiles;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // FETurbulence_h 80 #endif // FETurbulence_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698