xref: /aosp_15_r20/external/skia/src/core/SkBlitMask.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2  * Copyright 2023 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 SkBlitMask_DEFINED
9 #define SkBlitMask_DEFINED
10 
11 #include "include/core/SkColor.h"
12 
13 namespace SkOpts {
14     // Optimized mask-blit routine
15     extern void (*blit_mask_d32_a8)(SkPMColor* dst, size_t dstRB,
16                                     const SkAlpha* mask, size_t maskRB,
17                                     SkColor color, int w, int h);
18 
19     void Init_BlitMask();
20 }  // namespace SkOpts
21 
22 #endif // SkBlitMask_DEFINED
23