OLD | NEW |
---|---|
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 PaintingData* paintingData; | 109 PaintingData* paintingData; |
110 int startY; | 110 int startY; |
111 int endY; | 111 int endY; |
112 }; | 112 }; |
113 | 113 |
114 static void fillRegionWorker(FillRegionParameters*); | 114 static void fillRegionWorker(FillRegionParameters*); |
115 | 115 |
116 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool); | 116 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool); |
117 | 117 |
118 virtual void applySoftware() OVERRIDE; | 118 virtual void applySoftware() OVERRIDE; |
119 virtual bool platformApplySkia(); | |
Stephen White
2013/06/13 17:28:06
The base class version of this function was rename
sugoi
2013/06/13 17:46:33
Done.
| |
120 virtual SkImageFilter* createImageFilter(SkiaImageFilterBuilder*); | |
121 SkShader* createShader(const IntRect& filterRegion) const; | |
119 | 122 |
120 inline void initPaint(PaintingData&); | 123 inline void initPaint(PaintingData&); |
121 float noise2D(int channel, PaintingData&, StitchData&, const FloatPoint&); | 124 float noise2D(int channel, PaintingData&, StitchData&, const FloatPoint&); |
122 unsigned char calculateTurbulenceValueForPoint(int channel, PaintingData&, S titchData&, const FloatPoint&); | 125 unsigned char calculateTurbulenceValueForPoint(int channel, PaintingData&, S titchData&, const FloatPoint&); |
123 inline void fillRegion(Uint8ClampedArray*, PaintingData&, int, int); | 126 inline void fillRegion(Uint8ClampedArray*, PaintingData&, int, int); |
124 | 127 |
125 TurbulenceType m_type; | 128 TurbulenceType m_type; |
126 float m_baseFrequencyX; | 129 float m_baseFrequencyX; |
127 float m_baseFrequencyY; | 130 float m_baseFrequencyY; |
128 int m_numOctaves; | 131 int m_numOctaves; |
129 float m_seed; | 132 float m_seed; |
130 bool m_stitchTiles; | 133 bool m_stitchTiles; |
131 }; | 134 }; |
132 | 135 |
133 } // namespace WebCore | 136 } // namespace WebCore |
134 | 137 |
135 #endif // FETurbulence_h | 138 #endif // FETurbulence_h |
OLD | NEW |