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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 bool setSeed(float); | 53 bool setSeed(float); |
54 | 54 |
55 int numOctaves() const; | 55 int numOctaves() const; |
56 bool setNumOctaves(int); | 56 bool setNumOctaves(int); |
57 | 57 |
58 bool stitchTiles() const; | 58 bool stitchTiles() const; |
59 bool setStitchTiles(bool); | 59 bool setStitchTiles(bool); |
60 | 60 |
61 static void fillRegionWorker(void*); | 61 static void fillRegionWorker(void*); |
62 | 62 |
63 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 63 virtual TextStream& externalRepresentation(TextStream&, int indention) const
OVERRIDE; |
64 | 64 |
65 private: | 65 private: |
66 static const int s_blockSize = 256; | 66 static const int s_blockSize = 256; |
67 static const int s_blockMask = s_blockSize - 1; | 67 static const int s_blockMask = s_blockSize - 1; |
68 | 68 |
69 static const int s_minimalRectDimension = (100 * 100); // Empirical data lim
it for parallel jobs. | 69 static const int s_minimalRectDimension = (100 * 100); // Empirical data lim
it for parallel jobs. |
70 | 70 |
71 struct PaintingData { | 71 struct PaintingData { |
72 PaintingData(long paintingSeed, const IntSize& paintingSize) | 72 PaintingData(long paintingSeed, const IntSize& paintingSize) |
73 : seed(paintingSeed) | 73 : seed(paintingSeed) |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 float m_baseFrequencyX; | 129 float m_baseFrequencyX; |
130 float m_baseFrequencyY; | 130 float m_baseFrequencyY; |
131 int m_numOctaves; | 131 int m_numOctaves; |
132 float m_seed; | 132 float m_seed; |
133 bool m_stitchTiles; | 133 bool m_stitchTiles; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace WebCore | 136 } // namespace WebCore |
137 | 137 |
138 #endif // FETurbulence_h | 138 #endif // FETurbulence_h |
OLD | NEW |