| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 void AddObserver(GpuDataManagerObserver* observer); | 45 void AddObserver(GpuDataManagerObserver* observer); |
| 46 void RemoveObserver(GpuDataManagerObserver* observer); | 46 void RemoveObserver(GpuDataManagerObserver* observer); |
| 47 void UnblockDomainFrom3DAPIs(const GURL& url); | 47 void UnblockDomainFrom3DAPIs(const GURL& url); |
| 48 void DisableGpuWatchdog(); | 48 void DisableGpuWatchdog(); |
| 49 void SetGLStrings(const std::string& gl_vendor, | 49 void SetGLStrings(const std::string& gl_vendor, |
| 50 const std::string& gl_renderer, | 50 const std::string& gl_renderer, |
| 51 const std::string& gl_version); | 51 const std::string& gl_version); |
| 52 void GetGLStrings(std::string* gl_vendor, | 52 void GetGLStrings(std::string* gl_vendor, |
| 53 std::string* gl_renderer, | 53 std::string* gl_renderer, |
| 54 std::string* gl_version); | 54 std::string* gl_version); |
| 55 void SetShouldUseWarp(bool use_warp); |
| 56 bool ShouldUseWarp() const; |
| 55 void DisableHardwareAcceleration(); | 57 void DisableHardwareAcceleration(); |
| 56 | 58 |
| 57 void Initialize(); | 59 void Initialize(); |
| 58 | 60 |
| 59 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); | 61 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); |
| 60 | 62 |
| 61 void UpdateVideoMemoryUsageStats( | 63 void UpdateVideoMemoryUsageStats( |
| 62 const GPUVideoMemoryUsageStats& video_memory_usage_stats); | 64 const GPUVideoMemoryUsageStats& video_memory_usage_stats); |
| 63 | 65 |
| 64 void AppendRendererCommandLine(base::CommandLine* command_line) const; | 66 void AppendRendererCommandLine(base::CommandLine* command_line) const; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 // True if all future Initialize calls should be ignored. | 259 // True if all future Initialize calls should be ignored. |
| 258 bool finalized_; | 260 bool finalized_; |
| 259 | 261 |
| 260 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 262 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 } // namespace content | 265 } // namespace content |
| 264 | 266 |
| 265 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 267 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 266 | 268 |
| OLD | NEW |