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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl_private.h

Issue 23473003: Added GPU driver workaround for OSX multimonitor multisampling disabling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved workaround check to more sensible location. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 10 matching lines...) Expand all
21 namespace content { 21 namespace content {
22 22
23 class CONTENT_EXPORT GpuDataManagerImplPrivate { 23 class CONTENT_EXPORT GpuDataManagerImplPrivate {
24 public: 24 public:
25 static GpuDataManagerImplPrivate* Create(GpuDataManagerImpl* owner); 25 static GpuDataManagerImplPrivate* Create(GpuDataManagerImpl* owner);
26 26
27 void InitializeForTesting( 27 void InitializeForTesting(
28 const std::string& gpu_blacklist_json, 28 const std::string& gpu_blacklist_json,
29 const gpu::GPUInfo& gpu_info); 29 const gpu::GPUInfo& gpu_info);
30 bool IsFeatureBlacklisted(int feature) const; 30 bool IsFeatureBlacklisted(int feature) const;
31 bool IsDriverBugWorkaroundActive(int feature) const;
31 gpu::GPUInfo GetGPUInfo() const; 32 gpu::GPUInfo GetGPUInfo() const;
32 void GetGpuProcessHandles( 33 void GetGpuProcessHandles(
33 const GpuDataManager::GetGpuProcessHandlesCallback& callback) const; 34 const GpuDataManager::GetGpuProcessHandlesCallback& callback) const;
34 bool GpuAccessAllowed(std::string* reason) const; 35 bool GpuAccessAllowed(std::string* reason) const;
35 void RequestCompleteGpuInfoIfNeeded(); 36 void RequestCompleteGpuInfoIfNeeded();
36 bool IsCompleteGpuInfoAvailable() const; 37 bool IsCompleteGpuInfoAvailable() const;
37 void RequestVideoMemoryUsageStatsUpdate() const; 38 void RequestVideoMemoryUsageStatsUpdate() const;
38 bool ShouldUseSwiftShader() const; 39 bool ShouldUseSwiftShader() const;
39 void RegisterSwiftShaderPath(const base::FilePath& path); 40 void RegisterSwiftShaderPath(const base::FilePath& path);
40 void AddObserver(GpuDataManagerObserver* observer); 41 void AddObserver(GpuDataManagerObserver* observer);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 247
247 bool use_software_compositor_; 248 bool use_software_compositor_;
248 249
249 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 250 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
250 }; 251 };
251 252
252 } // namespace content 253 } // namespace content
253 254
254 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 255 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
255 256
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698