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

Side by Side Diff: Source/WebCore/platform/graphics/filters/FEColorMatrix.h

Issue 9836018: Revert 104848 - [chromium] Re-enable Skia feColorMatrix filter implementation. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « Source/WebCore/WebCore.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 static PassRefPtr<FEColorMatrix> create(Filter*, ColorMatrixType, const Vect or<float>&); 43 static PassRefPtr<FEColorMatrix> create(Filter*, ColorMatrixType, const Vect or<float>&);
44 44
45 ColorMatrixType type() const; 45 ColorMatrixType type() const;
46 bool setType(ColorMatrixType); 46 bool setType(ColorMatrixType);
47 47
48 const Vector<float>& values() const; 48 const Vector<float>& values() const;
49 bool setValues(const Vector<float>&); 49 bool setValues(const Vector<float>&);
50 50
51 virtual void platformApplySoftware(); 51 virtual void platformApplySoftware();
52 #if USE(SKIA)
53 virtual bool platformApplySkia();
54 #endif
55 virtual void dump(); 52 virtual void dump();
56 53
57 virtual TextStream& externalRepresentation(TextStream&, int indention) const ; 54 virtual TextStream& externalRepresentation(TextStream&, int indention) const ;
58 55
59 private: 56 private:
60 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&); 57 FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&);
61 58
62 ColorMatrixType m_type; 59 ColorMatrixType m_type;
63 Vector<float> m_values; 60 Vector<float> m_values;
64 }; 61 };
65 62
66 } // namespace WebCore 63 } // namespace WebCore
67 64
68 #endif // ENABLE(FILTERS) 65 #endif // ENABLE(FILTERS)
69 66
70 #endif // FEColorMatrix_h 67 #endif // FEColorMatrix_h
OLDNEW
« no previous file with comments | « Source/WebCore/WebCore.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698