Chromium Code Reviews| 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 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 // Returns true if the threaded compositor is on (via flags or field trial). | 13 // Returns true if the threaded compositor is on (via flags or field trial). |
| 14 CONTENT_EXPORT bool IsThreadedCompositingEnabled(); | 14 CONTENT_EXPORT bool IsThreadedCompositingEnabled(); |
| 15 | 15 |
| 16 // Returns true if force-compositing-mode is on (via flags or field trial). | 16 // Returns true if force-compositing-mode is on (via flags or field trial). |
| 17 CONTENT_EXPORT bool IsForceCompositingModeEnabled(); | 17 CONTENT_EXPORT bool IsForceCompositingModeEnabled(); |
| 18 | 18 |
| 19 // Returns true if delegated-renderer is on (via flags, or platform default). | 19 // Returns true if delegated-renderer is on (via flags, or platform default). |
| 20 CONTENT_EXPORT bool IsDelegatedRendererEnabled(); | 20 CONTENT_EXPORT bool IsDelegatedRendererEnabled(); |
| 21 | 21 |
| 22 // Returns ture if impl-side painting is on (via flags, or platform default). | |
|
piman
2014/03/07 19:41:04
nit: s/ture/true/
Can you add a note saying this
ajuma
2014/03/07 20:21:11
Done.
| |
| 23 CONTENT_EXPORT bool IsImplSidePaintingEnabled(); | |
| 24 | |
| 22 CONTENT_EXPORT base::Value* GetFeatureStatus(); | 25 CONTENT_EXPORT base::Value* GetFeatureStatus(); |
| 23 CONTENT_EXPORT base::Value* GetProblems(); | 26 CONTENT_EXPORT base::Value* GetProblems(); |
| 24 CONTENT_EXPORT base::Value* GetDriverBugWorkarounds(); | 27 CONTENT_EXPORT base::Value* GetDriverBugWorkarounds(); |
| 25 | 28 |
| 26 } // namespace content | 29 } // namespace content |
| 27 | 30 |
| 28 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ | 31 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |
| OLD | NEW |