| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CompositingReasons_h | 5 #ifndef SKY_ENGINE_PLATFORM_GRAPHICS_COMPOSITINGREASONS_H_ |
| 6 #define CompositingReasons_h | 6 #define SKY_ENGINE_PLATFORM_GRAPHICS_COMPOSITINGREASONS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include "sky/engine/platform/PlatformExport.h" | 9 #include "sky/engine/platform/PlatformExport.h" |
| 10 #include "sky/engine/wtf/MathExtras.h" | 10 #include "sky/engine/wtf/MathExtras.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 const uint64_t CompositingReasonNone = 0; | 14 const uint64_t CompositingReasonNone = 0; |
| 15 const uint64_t CompositingReasonAll = ~stat
ic_cast<uint64_t>(0); | 15 const uint64_t CompositingReasonAll = ~stat
ic_cast<uint64_t>(0); |
| 16 | 16 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 CompositingReasons reason; | 157 CompositingReasons reason; |
| 158 const char* shortName; | 158 const char* shortName; |
| 159 const char* description; | 159 const char* description; |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString
Map[]; | 162 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString
Map[]; |
| 163 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; | 163 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; |
| 164 | 164 |
| 165 } // namespace blink | 165 } // namespace blink |
| 166 | 166 |
| 167 #endif // CompositingReasons_h | 167 #endif // SKY_ENGINE_PLATFORM_GRAPHICS_COMPOSITINGREASONS_H_ |
| OLD | NEW |