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

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

Issue 2267993002: Expose if we are using swiftshader via WebGraphicsContext3DProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: softwarerendering: . 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/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 1a173a2a6033ee74a2c5ffda941960f43f562126..06accdca817323dba9bff914f103e0ac4b70d91d 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -461,13 +461,6 @@ public:
virtual std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap(const WebSize& size) { return nullptr; }
- // Returns true if the platform is capable of producing an offscreen context suitable for accelerating 2d canvas.
- // This will return false if the platform cannot promise that contexts will be preserved across operations like
- // locking the screen or if the platform cannot provide a context with suitable performance characteristics.
- //
- // This value must be checked again after a context loss event as the platform's capabilities may have changed.
- virtual bool canAccelerate2dCanvas() { return false; }
-
virtual bool isThreadedCompositingEnabled() { return false; }
virtual bool isThreadedAnimationEnabled() { return true; }

Powered by Google App Engine
This is Rietveld 408576698