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

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

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 namespace content { 31 namespace content {
32 32
33 class CONTENT_EXPORT GpuDataManagerImplPrivate { 33 class CONTENT_EXPORT GpuDataManagerImplPrivate {
34 public: 34 public:
35 static GpuDataManagerImplPrivate* Create(GpuDataManagerImpl* owner); 35 static GpuDataManagerImplPrivate* Create(GpuDataManagerImpl* owner);
36 36
37 void InitializeForTesting( 37 void InitializeForTesting(
38 const std::string& gpu_blacklist_json, 38 const std::string& gpu_blacklist_json,
39 const gpu::GPUInfo& gpu_info); 39 const gpu::GPUInfo& gpu_info);
40 bool IsInitialized() const;
40 bool IsFeatureBlacklisted(int feature) const; 41 bool IsFeatureBlacklisted(int feature) const;
41 bool IsDriverBugWorkaroundActive(int feature) const; 42 bool IsDriverBugWorkaroundActive(int feature) const;
42 gpu::GPUInfo GetGPUInfo() const; 43 gpu::GPUInfo GetGPUInfo() const;
43 void GetGpuProcessHandles( 44 void GetGpuProcessHandles(
44 const GpuDataManager::GetGpuProcessHandlesCallback& callback) const; 45 const GpuDataManager::GetGpuProcessHandlesCallback& callback) const;
45 bool GpuAccessAllowed(std::string* reason) const; 46 bool GpuAccessAllowed(std::string* reason) const;
46 void RequestCompleteGpuInfoIfNeeded(); 47 void RequestCompleteGpuInfoIfNeeded();
47 bool IsEssentialGpuInfoAvailable() const; 48 bool IsEssentialGpuInfoAvailable() const;
48 bool IsCompleteGpuInfoAvailable() const; 49 bool IsCompleteGpuInfoAvailable() const;
49 void RequestVideoMemoryUsageStatsUpdate() const; 50 void RequestVideoMemoryUsageStatsUpdate() const;
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 bool finalized_; 282 bool finalized_;
282 283
283 std::string disabled_extensions_; 284 std::string disabled_extensions_;
284 285
285 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 286 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
286 }; 287 };
287 288
288 } // namespace content 289 } // namespace content
289 290
290 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 291 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698