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

Side by Side Diff: Source/core/platform/graphics/filters/FEColorMatrix.cpp

Issue 54803002: Centralize TextStream functions to remove RenderTreeAsText dependency of the filters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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) 2013 Google Inc. All rights reserved. 6 * Copyright (C) 2013 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 11 matching lines...) Expand all
22 */ 22 */
23 23
24 #include "config.h" 24 #include "config.h"
25 25
26 #include "core/platform/graphics/filters/FEColorMatrix.h" 26 #include "core/platform/graphics/filters/FEColorMatrix.h"
27 27
28 #include "core/platform/graphics/GraphicsContext.h" 28 #include "core/platform/graphics/GraphicsContext.h"
29 #include "core/platform/graphics/filters/Filter.h" 29 #include "core/platform/graphics/filters/Filter.h"
30 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" 30 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h"
31 #include "core/platform/graphics/skia/NativeImageSkia.h" 31 #include "core/platform/graphics/skia/NativeImageSkia.h"
32 #include "core/rendering/RenderTreeAsText.h"
33 #include "platform/text/TextStream.h" 32 #include "platform/text/TextStream.h"
34 #include "wtf/MathExtras.h" 33 #include "wtf/MathExtras.h"
35 #include "wtf/Uint8ClampedArray.h" 34 #include "wtf/Uint8ClampedArray.h"
36 35
37 #include "SkColorFilterImageFilter.h" 36 #include "SkColorFilterImageFilter.h"
38 #include "SkColorMatrixFilter.h" 37 #include "SkColorMatrixFilter.h"
39 38
40 namespace WebCore { 39 namespace WebCore {
41 40
42 FEColorMatrix::FEColorMatrix(Filter* filter, ColorMatrixType type, const Vector< float>& values) 41 FEColorMatrix::FEColorMatrix(Filter* filter, ColorMatrixType type, const Vector< float>& values)
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 ts << " "; 326 ts << " ";
328 } 327 }
329 ts << "\""; 328 ts << "\"";
330 } 329 }
331 ts << "]\n"; 330 ts << "]\n";
332 inputEffect(0)->externalRepresentation(ts, indent + 1); 331 inputEffect(0)->externalRepresentation(ts, indent + 1);
333 return ts; 332 return ts;
334 } 333 }
335 334
336 } // namespace WebCore 335 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/filters/FEBlend.cpp ('k') | Source/core/platform/graphics/filters/FEComponentTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698