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

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

Issue 14856010: Adding color space conversion code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing my ASCII art Created 7 years, 7 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 d8fdebdda96a2c70032f3fab6a8a2b9299093579..23b077891996b901d4c74ccbbb0e78e43cfef1e1 100644
--- a/Source/core/platform/graphics/ImageBuffer.h
+++ b/Source/core/platform/graphics/ImageBuffer.h
@@ -118,7 +118,9 @@ namespace WebCore {
String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const;
AffineTransform baseTransform() const { return AffineTransform(); }
void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
- void platformTransformColorSpace(const Vector<int>&);
+ void platformTransformColorSpace(const Vector<uint8_t>&);
+ static const Vector<uint8_t>& getLinearRgbLUT();
+ static const Vector<uint8_t>& getDeviceRgbLUT();
PlatformLayer* platformLayer() const;
// FIXME: current implementations of this method have the restriction that they only work

Powered by Google App Engine
This is Rietveld 408576698