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) 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 12 matching lines...) Expand all Loading... |
23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 | 27 |
28 #include "core/platform/graphics/filters/FETurbulence.h" | 28 #include "core/platform/graphics/filters/FETurbulence.h" |
29 #include "SkPerlinNoiseShader.h" | 29 #include "SkPerlinNoiseShader.h" |
30 #include "SkRectShaderImageFilter.h" | 30 #include "SkRectShaderImageFilter.h" |
31 #include "core/platform/graphics/filters/Filter.h" | 31 #include "core/platform/graphics/filters/Filter.h" |
32 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" | 32 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" |
33 #include "core/rendering/RenderTreeAsText.h" | |
34 #include "platform/text/TextStream.h" | 33 #include "platform/text/TextStream.h" |
35 #include "wtf/MathExtras.h" | 34 #include "wtf/MathExtras.h" |
36 #include "wtf/ParallelJobs.h" | 35 #include "wtf/ParallelJobs.h" |
37 #include "wtf/Uint8ClampedArray.h" | 36 #include "wtf/Uint8ClampedArray.h" |
38 | 37 |
39 namespace WebCore { | 38 namespace WebCore { |
40 | 39 |
41 /* | 40 /* |
42 Produces results in the range [1, 2**31 - 2]. Algorithm is: | 41 Produces results in the range [1, 2**31 - 2]. Algorithm is: |
43 r = (a * r) mod m where a = randAmplitude = 16807 and | 42 r = (a * r) mod m where a = randAmplitude = 16807 and |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 FilterEffect::externalRepresentation(ts); | 466 FilterEffect::externalRepresentation(ts); |
468 ts << " type=\"" << type() << "\" " | 467 ts << " type=\"" << type() << "\" " |
469 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() <<
"\" " | 468 << "baseFrequency=\"" << baseFrequencyX() << ", " << baseFrequencyY() <<
"\" " |
470 << "seed=\"" << seed() << "\" " | 469 << "seed=\"" << seed() << "\" " |
471 << "numOctaves=\"" << numOctaves() << "\" " | 470 << "numOctaves=\"" << numOctaves() << "\" " |
472 << "stitchTiles=\"" << stitchTiles() << "\"]\n"; | 471 << "stitchTiles=\"" << stitchTiles() << "\"]\n"; |
473 return ts; | 472 return ts; |
474 } | 473 } |
475 | 474 |
476 } // namespace WebCore | 475 } // namespace WebCore |
OLD | NEW |