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

Unified Diff: Source/core/platform/graphics/ImageBuffer.h

Issue 23643003: ImageBuffer-less SVG masking and clipping. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed Linux rebaselines. Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/graphics/ImageBuffer.h
diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h
index b4c0af9f3398dd1bf1c444c0504560a68ecf1f4a..4afc7ade0b211cc000cd6dd585906389c65545c8 100644
--- a/Source/core/platform/graphics/ImageBuffer.h
+++ b/Source/core/platform/graphics/ImageBuffer.h
@@ -43,6 +43,7 @@
#include "wtf/Vector.h"
class SkCanvas;
+class SkColorFilter;
namespace WebKit { class WebLayer; }
@@ -116,13 +117,10 @@ public:
void putByteArray(Multiply multiplied, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, CoordinateSystem = LogicalCoordinateSystem);
- void convertToLuminanceMask();
-
String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const;
AffineTransform baseTransform() const { return AffineTransform(); }
void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
- static const Vector<uint8_t>& getLinearRgbLUT();
- static const Vector<uint8_t>& getDeviceRgbLUT();
+ static PassRefPtr<SkColorFilter> createColorSpaceFilter(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
Stephen White 2013/08/28 14:11:10 I think to keep Skia types out of non-platform/ di
f(malita) 2013/08/28 19:54:38 I made this private, currently only accessible fro
WebKit::WebLayer* platformLayer() const;
// FIXME: current implementations of this method have the restriction that they only work

Powered by Google App Engine
This is Rietveld 408576698