OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_COMPOSITOR_UTIL_H_ | 5 #ifndef CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |
6 #define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ | 6 #define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 // Returns the number of raster threads to use for compositing. | 33 // Returns the number of raster threads to use for compositing. |
34 CONTENT_EXPORT int NumberOfRendererRasterThreads(); | 34 CONTENT_EXPORT int NumberOfRendererRasterThreads(); |
35 | 35 |
36 // Returns the number of raster threads to use for compositing that are forced | 36 // Returns the number of raster threads to use for compositing that are forced |
37 // by the command line. | 37 // by the command line. |
38 CONTENT_EXPORT int ForceNumberOfRendererRasterThreads(); | 38 CONTENT_EXPORT int ForceNumberOfRendererRasterThreads(); |
39 | 39 |
40 // Returns true if using cc Surfaces is allowed. | 40 // Returns true if using cc Surfaces is allowed. |
41 CONTENT_EXPORT bool UseSurfacesEnabled(); | 41 CONTENT_EXPORT bool UseSurfacesEnabled(); |
42 | 42 |
43 CONTENT_EXPORT base::Value* GetFeatureStatus(); | 43 CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus(); |
44 CONTENT_EXPORT base::Value* GetProblems(); | 44 CONTENT_EXPORT base::Value* GetProblems(); |
45 CONTENT_EXPORT base::Value* GetDriverBugWorkarounds(); | 45 CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds(); |
46 | 46 |
47 } // namespace content | 47 } // namespace content |
48 | 48 |
49 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ | 49 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |
OLD | NEW |