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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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/gpu/gpu_child_thread.h ('k') | content/gpu/gpu_dx_diagnostics_win.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
===================================================================
--- content/gpu/gpu_child_thread.cc (revision 201645)
+++ content/gpu/gpu_child_thread.cc (working copy)
@@ -13,10 +13,10 @@
#include "build/build_config.h"
#include "content/common/child_process.h"
#include "content/common/gpu/gpu_messages.h"
-#include "content/gpu/gpu_info_collector.h"
#include "content/gpu/gpu_watchdog_thread.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
+#include "gpu/config/gpu_info_collector.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_sync_message_filter.h"
#include "ui/gl/gl_implementation.h"
@@ -54,7 +54,7 @@
GpuChildThread::GpuChildThread(GpuWatchdogThread* watchdog_thread,
bool dead_on_arrival,
- const GPUInfo& gpu_info)
+ const gpu::GPUInfo& gpu_info)
: dead_on_arrival_(dead_on_arrival),
gpu_info_(gpu_info),
in_browser_process_(false) {
@@ -176,15 +176,15 @@
in_browser_process_);
#endif // OS_WIN
- if (!gpu_info_collector::CollectContextGraphicsInfo(&gpu_info_))
- VLOG(1) << "gpu_info_collector::CollectGraphicsInfo failed";
+ if (!gpu::CollectContextGraphicsInfo(&gpu_info_))
+ VLOG(1) << "gpu::CollectGraphicsInfo failed";
GetContentClient()->SetGpuInfo(gpu_info_);
#if defined(OS_WIN)
// This is slow, but it's the only thing the unsandboxed GPU process does,
// and GpuDataManager prevents us from sending multiple collecting requests,
// so it's OK to be blocking.
- gpu_info_collector::GetDxDiagnostics(&gpu_info_.dx_diagnostics);
+ gpu::GetDxDiagnostics(&gpu_info_.dx_diagnostics);
gpu_info_.finalized = true;
#endif // OS_WIN
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | content/gpu/gpu_dx_diagnostics_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698