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

Unified Diff: gpu/config/gpu_info.cc

Issue 194303002: Blacklist GLX indirect rendering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 years, 9 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
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info.cc
diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
index c3dc16f1a0f8483a604ff7d748c902bfc9423737..bb26147fbe882cad461f3d42660c035d1a67e5ab 100644
--- a/gpu/config/gpu_info.cc
+++ b/gpu/config/gpu_info.cc
@@ -36,6 +36,7 @@ GPUInfo::GPUInfo()
gl_reset_notification_strategy(0),
can_lose_context(false),
software_rendering(false),
+ direct_rendering(true),
sandboxed(false) {
}
@@ -70,6 +71,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
bool can_lose_context;
GpuPerformanceStats performance_stats;
bool software_rendering;
+ bool direct_rendering;
bool sandboxed;
#if defined(OS_WIN)
DxDiagNode dx_diagnostics;
@@ -121,6 +123,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
enumerator->AddBool("can_lose_context", can_lose_context);
// TODO(kbr): add performance_stats.
enumerator->AddBool("softwareRendering", software_rendering);
+ enumerator->AddBool("directRendering", direct_rendering);
enumerator->AddBool("sandboxed", sandboxed);
// TODO(kbr): add dx_diagnostics on Windows.
enumerator->EndAuxAttributes();
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698