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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.h

Issue 2141793002: Improving canvas 2D performance by switching graphics rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use canvas2dFixedRenderingModeEnabled flag to disable feature in some tests and fix async issue. Created 4 years, 5 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/Source/platform/graphics/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index c0e18d854104a3b318aeb47847fe116e60027ee5..cec8b43458cdfdbdf305df4c2862584e5f02d336 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -146,6 +146,10 @@ public:
static unsigned getGlobalAcceleratedImageBufferCount() { return s_globalAcceleratedImageBufferCount; }
intptr_t getGPUMemoryUsage() { return m_gpuMemoryUsage; }
+ void disableAcceleration();
+
+ WeakPtrFactory<ImageBuffer> m_weakPtrFactory;
+
protected:
ImageBuffer(std::unique_ptr<ImageBufferSurface>);

Powered by Google App Engine
This is Rietveld 408576698