| Index: include/core/SkTypes.h
|
| diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
|
| index 4592168bd4d6da020179236511f439cd5cd30937..756eae862839990a22775303f54cdb2a2308d243 100644
|
| --- a/include/core/SkTypes.h
|
| +++ b/include/core/SkTypes.h
|
| @@ -439,6 +439,17 @@ template <typename T> static inline const T& SkTPin(const T& value, const T& min
|
| return SkTMax(SkTMin(value, max), min);
|
| }
|
|
|
| +
|
| +///////////////////////////////////////////////////////////////////////////////
|
| +
|
| +/**
|
| + * Indicates whether an allocation should count against a cache budget.
|
| + */
|
| +enum class SkBudgeted : bool {
|
| + kNo = false,
|
| + kYes = true
|
| +};
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| /** Use to combine multiple bits in a bitmask in a type safe way.
|
|
|