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

Unified Diff: third_party/WebKit/public/platform/WebExternalTextureMailbox.h

Issue 2212163002: Add some plumbing for the color management of canvases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build and tests Created 4 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: third_party/WebKit/public/platform/WebExternalTextureMailbox.h
diff --git a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
index 0bb41cfd87bcb188c2c6d0c8caafad4a93ae54dc..e75eafa26d11eb854c88beeca17a83311a2cdb6e 100644
--- a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
+++ b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
@@ -33,6 +33,8 @@
#include "WebSize.h"
+class SkColorSpace;
+
namespace blink {
struct WebExternalTextureMailbox {
@@ -43,12 +45,15 @@ struct WebExternalTextureMailbox {
bool nearestNeighbor = false;
unsigned textureTarget = 0;
WebSize textureSize;
+ const SkColorSpace* colorSpace;
Stephen White 2016/08/12 19:48:31 Maybe we should document that WebExternalTextureMa
Justin Novosad 2016/08/12 20:08:49 Done.
WebExternalTextureMailbox()
{
memset(name, 0, sizeof(name));
memset(syncToken, 0, sizeof(syncToken));
}
+
+ ~WebExternalTextureMailbox() { }
};
inline bool nameEquals(const WebExternalTextureMailbox& a, const WebExternalTextureMailbox& b)

Powered by Google App Engine
This is Rietveld 408576698