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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.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/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h
diff --git a/third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h b/third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h
index 2f30369016ce9c4cefd31a53636c3718b82f530c..63a8075af0377c3dc21ef465dd946f4fe8ac96df 100644
--- a/third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h
+++ b/third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h
@@ -25,11 +25,16 @@ public:
return m_grContext.get();
}
- gpu::Capabilities getCapabilities()
+ gpu::Capabilities getCapabilities() override
{
return gpu::Capabilities();
}
+ bool isSoftwareRendering() const override
+ {
+ return false;
+ }
+
gpu::gles2::GLES2Interface* contextGL() override
{
return m_gl;

Powered by Google App Engine
This is Rietveld 408576698