src/core/SkDrawTypes.h
raw| 1 | /* |
| 2 | * Copyright 2025 Google LLC |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkDrawTypes_DEFINED |
| 9 | #define SkDrawTypes_DEFINED |
| 10 | |
| 11 | #include <cstddef> |
| 12 | |
| 13 | enum class SkDrawCoverage : bool { |
| 14 | kNo = false, |
| 15 | kYes = true, |
| 16 | }; |
| 17 | |
| 18 | // A good size for creating shader contexts on the stack. |
| 19 | constexpr size_t kSkBlitterContextSize = 3332; |
| 20 | |
| 21 | #endif |