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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 534043002: Add bits to indicate which parts of GPUInfo are collected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « content/common/gpu/gpu_messages.h ('k') | content/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 4f774464649fbf94d3de2315b105657b5d94cb01..301523fa36b9abefa30352b5b3f40deb7491fec8 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -197,6 +197,9 @@ void GpuChildThread::OnCollectGraphicsInfo() {
case gpu::kCollectInfoNonFatalFailure:
VLOG(1) << "gpu::CollectGraphicsInfo failed (non-fatal).";
break;
+ case gpu::kCollectInfoNone:
+ NOTREACHED();
+ break;
case gpu::kCollectInfoSuccess:
break;
}
@@ -207,7 +210,7 @@ void GpuChildThread::OnCollectGraphicsInfo() {
// and GpuDataManager prevents us from sending multiple collecting requests,
// so it's OK to be blocking.
gpu::GetDxDiagnostics(&gpu_info_.dx_diagnostics);
- gpu_info_.finalized = true;
+ gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoSuccess;
#endif // OS_WIN
Send(new GpuHostMsg_GraphicsInfoCollected(gpu_info_));
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698