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

Unified Diff: gpu/config/gpu_info.cc

Issue 1247093006: Allow WebGL on Android if the GPU has it's own process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed blacklist description Created 5 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: gpu/config/gpu_info.cc
diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
index 85d26fb584ad4bd2ca795dfff2ae864309ee5ffd..270518c0a9a29ab852996505553b6f5fb93b687f 100644
--- a/gpu/config/gpu_info.cc
+++ b/gpu/config/gpu_info.cc
@@ -65,6 +65,7 @@ GPUInfo::GPUInfo()
direct_rendering(true),
sandboxed(false),
process_crash_count(0),
+ in_process_gpu(true),
basic_info_state(kCollectInfoNone),
#if defined(OS_WIN)
context_info_state(kCollectInfoNone),
@@ -107,6 +108,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
bool direct_rendering;
bool sandboxed;
int process_crash_count;
+ bool in_process_gpu;
CollectInfoResult basic_info_state;
CollectInfoResult context_info_state;
#if defined(OS_WIN)
@@ -166,6 +168,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
enumerator->AddBool("directRendering", direct_rendering);
enumerator->AddBool("sandboxed", sandboxed);
enumerator->AddInt("processCrashCount", process_crash_count);
+ enumerator->AddBool("inProcessGpu", in_process_gpu);
enumerator->AddInt("basicInfoState", basic_info_state);
enumerator->AddInt("contextInfoState", context_info_state);
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698