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

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

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/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.h
===================================================================
--- content/browser/gpu/gpu_data_manager_impl_private.h (revision 201645)
+++ content/browser/gpu/gpu_data_manager_impl_private.h (working copy)
@@ -13,10 +13,10 @@
#include "base/memory/ref_counted.h"
#include "base/memory/singleton.h"
#include "base/observer_list_threadsafe.h"
-#include "content/browser/gpu/gpu_blacklist.h"
#include "content/browser/gpu/gpu_data_manager_impl.h"
-#include "content/browser/gpu/gpu_driver_bug_list.h"
-#include "content/browser/gpu/gpu_switching_list.h"
+#include "gpu/config/gpu_blacklist.h"
+#include "gpu/config/gpu_driver_bug_list.h"
+#include "gpu/config/gpu_switching_list.h"
namespace content {
@@ -26,9 +26,9 @@
void InitializeForTesting(
const std::string& gpu_blacklist_json,
- const GPUInfo& gpu_info);
+ const gpu::GPUInfo& gpu_info);
bool IsFeatureBlacklisted(int feature) const;
- GPUInfo GetGPUInfo() const;
+ gpu::GPUInfo GetGPUInfo() const;
void GetGpuProcessHandles(
const GpuDataManager::GetGpuProcessHandlesCallback& callback) const;
bool GpuAccessAllowed(std::string* reason) const;
@@ -51,7 +51,7 @@
void Initialize();
- void UpdateGpuInfo(const GPUInfo& gpu_info);
+ void UpdateGpuInfo(const gpu::GPUInfo& gpu_info);
void UpdateVideoMemoryUsageStats(
const GPUVideoMemoryUsageStats& video_memory_usage_stats);
@@ -64,7 +64,7 @@
void UpdateRendererWebPrefs(WebPreferences* prefs) const;
- GpuSwitchingOption GetGpuSwitchingOption() const;
+ gpu::GpuSwitchingOption GetGpuSwitchingOption() const;
std::string GetBlacklistVersion() const;
@@ -160,7 +160,7 @@
void InitializeImpl(const std::string& gpu_blacklist_json,
const std::string& gpu_switching_list_json,
const std::string& gpu_driver_bug_list_json,
- const GPUInfo& gpu_info);
+ const gpu::GPUInfo& gpu_info);
void UpdateBlacklistedFeatures(const std::set<int>& features);
@@ -170,7 +170,7 @@
// Update the GPU switching status.
// This should only be called once at initialization time.
- void UpdateGpuSwitchingManager(const GPUInfo& gpu_info);
+ void UpdateGpuSwitchingManager(const gpu::GPUInfo& gpu_info);
// Notify all observers whenever there is a GPU info update.
void NotifyGpuInfoUpdate();
@@ -195,15 +195,15 @@
std::set<int> blacklisted_features_;
std::set<int> preliminary_blacklisted_features_;
- GpuSwitchingOption gpu_switching_;
+ gpu::GpuSwitchingOption gpu_switching_;
std::set<int> gpu_driver_bugs_;
- GPUInfo gpu_info_;
+ gpu::GPUInfo gpu_info_;
- scoped_ptr<GpuBlacklist> gpu_blacklist_;
- scoped_ptr<GpuSwitchingList> gpu_switching_list_;
- scoped_ptr<GpuDriverBugList> gpu_driver_bug_list_;
+ scoped_ptr<gpu::GpuBlacklist> gpu_blacklist_;
+ scoped_ptr<gpu::GpuSwitchingList> gpu_switching_list_;
+ scoped_ptr<gpu::GpuDriverBugList> gpu_driver_bug_list_;
const scoped_refptr<GpuDataManagerObserverList> observer_list_;
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698