xref: /aosp_15_r20/external/skia/src/gpu/SkRenderEngineAbortf.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 #ifdef SK_IN_RENDERENGINE
14     #define RENDERENGINE_ABORTF(...) SK_ABORT(__VA_ARGS__)
15 #else
16     #define RENDERENGINE_ABORTF(...)
17 #endif
18 
19 #endif// SkRenderEngineAbortf_DEFINED
20