OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // decision. | 89 // decision. |
90 virtual void SetGLStrings(const std::string& gl_vendor, | 90 virtual void SetGLStrings(const std::string& gl_vendor, |
91 const std::string& gl_renderer, | 91 const std::string& gl_renderer, |
92 const std::string& gl_version) = 0; | 92 const std::string& gl_version) = 0; |
93 | 93 |
94 // Obtain collected GL strings. | 94 // Obtain collected GL strings. |
95 virtual void GetGLStrings(std::string* gl_vendor, | 95 virtual void GetGLStrings(std::string* gl_vendor, |
96 std::string* gl_renderer, | 96 std::string* gl_renderer, |
97 std::string* gl_version) = 0; | 97 std::string* gl_version) = 0; |
98 | 98 |
| 99 // Turn off all hardware acceleration. |
| 100 virtual void DisableHardwareAcceleration() = 0; |
| 101 |
99 protected: | 102 protected: |
100 virtual ~GpuDataManager() {} | 103 virtual ~GpuDataManager() {} |
101 }; | 104 }; |
102 | 105 |
103 }; // namespace content | 106 }; // namespace content |
104 | 107 |
105 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ | 108 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ |
OLD | NEW |