src/gpu/graphite/DebugUtils.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 DebugUtils_DEFINED |
| 9 | #define DebugUtils_DEFINED |
| 10 | |
| 11 | #include "include/private/base/SkDebug.h" |
| 12 | |
| 13 | #if defined(SK_DEBUG) && defined(SK_DUMP_TASKS) |
| 14 | #define SK_DUMP_TASKS_CODE(...) __VA_ARGS__ |
| 15 | #else |
| 16 | #define SK_DUMP_TASKS_CODE(...) |
| 17 | #endif |
| 18 | |
| 19 | #endif // DebugUtils_DEFINED |