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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 8480015: Allow switching to SwiftShader when GPU is blacklisted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove duplication Created 9 years, 1 month 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: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 9f2b5206ec3aa8010d1f3e063596c2649ed380de..b384a0733a9c08f2a239c0a346a53162c653c5e7 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -80,6 +80,8 @@ class GpuProcessHost : public BrowserChildProcessHost,
const GPUCreateCommandBufferConfig& init_params,
CreateCommandBufferCallback* callback);
+ bool IsSoftwareRendering();
+
private:
GpuProcessHost(int host_id);
virtual ~GpuProcessHost();
@@ -149,6 +151,8 @@ class GpuProcessHost : public BrowserChildProcessHost,
// of a separate GPU process.
bool in_process_;
+ bool software_rendering_;
+
scoped_ptr<GpuMainThread> in_process_gpu_thread_;
// Master switch for enabling/disabling GPU acceleration for the current

Powered by Google App Engine
This is Rietveld 408576698