Flutter Engine
The Flutter Engine
PrecompileColorFiltersPriv.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 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 skgpu_graphite_precompile_PrecompileColorFiltersPriv_DEFINED
9#define skgpu_graphite_precompile_PrecompileColorFiltersPriv_DEFINED
10
12#include "include/core/SkSpan.h"
13
14namespace skgpu::graphite {
15
16class PrecompileColorFilter;
17
18namespace PrecompileColorFiltersPriv {
19 // These three factories match those in src/core/SkColorFilterPriv.h
21
23
25 SkSpan<const sk_sp<PrecompileColorFilter>> childOptions);
26
27} // namespace PrecompileColorFiltersPriv
28
29} // namespace skgpu::graphite
30
31#endif // skgpu_graphite_precompile_PrecompileColorFiltersPriv_DEFINED
sk_sp< PrecompileColorFilter > WithWorkingFormat(SkSpan< const sk_sp< PrecompileColorFilter > > childOptions)
sk_sp< PrecompileColorFilter > ColorSpaceXform()