Debian Codegraph @

src/gpu/SkRenderEngineAbortf.h

raw
1 /*
2 * Copyright 2021 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 SkRenderEngineAbortf_DEFINED
9 #define SkRenderEngineAbortf_DEFINED
10
11 #include "include/core/SkTypes.h"
12
13 #if defined(SK_IN_RENDERENGINE)
14 #define RENDERENGINE_ABORTF(...) SK_ABORT(__VA_ARGS__)
15 #elif defined(SK_BUILD_FOR_ANDROID)
16 #define RENDERENGINE_ABORTF(...) SkDebugf(__VA_ARGS__)
17 #else
18 #define RENDERENGINE_ABORTF(...)
19 #endif
20
21 #endif// SkRenderEngineAbortf_DEFINED