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

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

Issue 2364633003: color: Set GpuMemoryBuffer color spaces for Canvas (Closed)
Patch Set: Fix constexpr Created 4 years, 3 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/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 02de04399c779229a46a7fe78043321640bc2d2d..6b78cdb9e8d958e2985b42cc2dc152d4dbfd12ad 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -58,6 +58,10 @@
class GrContext;
+namespace gpu {
+class GpuMemoryBufferManager;
+}
+
namespace v8 {
class Context;
template<class T> class Local;
@@ -444,6 +448,8 @@ public:
// the context cannot be created or initialized.
virtual WebGraphicsContext3DProvider* createSharedOffscreenGraphicsContext3DProvider() { return nullptr; }
+ virtual gpu::GpuMemoryBufferManager* getGpuMemoryBufferManager() { return nullptr; }
+
virtual std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap(const WebSize& size) { return nullptr; }
virtual bool isThreadedCompositingEnabled() { return false; }

Powered by Google App Engine
This is Rietveld 408576698