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

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

Issue 435383002: adds WARP support to Chromium, for Metro mode only, on Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed switch Created 6 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual bool IsFeatureBlacklisted(int feature) const OVERRIDE; 64 virtual bool IsFeatureBlacklisted(int feature) const OVERRIDE;
65 virtual gpu::GPUInfo GetGPUInfo() const OVERRIDE; 65 virtual gpu::GPUInfo GetGPUInfo() const OVERRIDE;
66 virtual void GetGpuProcessHandles( 66 virtual void GetGpuProcessHandles(
67 const GetGpuProcessHandlesCallback& callback) const OVERRIDE; 67 const GetGpuProcessHandlesCallback& callback) const OVERRIDE;
68 virtual bool GpuAccessAllowed(std::string* reason) const OVERRIDE; 68 virtual bool GpuAccessAllowed(std::string* reason) const OVERRIDE;
69 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE; 69 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE;
70 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE; 70 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE;
71 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE; 71 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE;
72 virtual bool ShouldUseSwiftShader() const OVERRIDE; 72 virtual bool ShouldUseSwiftShader() const OVERRIDE;
73 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE; 73 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE;
74 virtual bool ShouldUseWarp() const OVERRIDE;
74 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE; 75 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE;
75 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE; 76 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE;
76 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE; 77 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE;
77 virtual void DisableGpuWatchdog() OVERRIDE; 78 virtual void DisableGpuWatchdog() OVERRIDE;
78 virtual void SetGLStrings(const std::string& gl_vendor, 79 virtual void SetGLStrings(const std::string& gl_vendor,
79 const std::string& gl_renderer, 80 const std::string& gl_renderer,
80 const std::string& gl_version) OVERRIDE; 81 const std::string& gl_version) OVERRIDE;
81 virtual void GetGLStrings(std::string* gl_vendor, 82 virtual void GetGLStrings(std::string* gl_vendor,
82 std::string* gl_renderer, 83 std::string* gl_renderer,
83 std::string* gl_version) OVERRIDE; 84 std::string* gl_version) OVERRIDE;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 210
210 mutable base::Lock lock_; 211 mutable base::Lock lock_;
211 scoped_ptr<GpuDataManagerImplPrivate> private_; 212 scoped_ptr<GpuDataManagerImplPrivate> private_;
212 213
213 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 214 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
214 }; 215 };
215 216
216 } // namespace content 217 } // namespace content
217 218
218 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 219 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698