Flutter Engine
The Flutter Engine
DitherUtils.h
Go to the documentation of this file.
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 skgpu_DitherUtils_DEFINED
9#define skgpu_DitherUtils_DEFINED
10
12
13#ifndef SK_IGNORE_GPU_DITHER
14
15enum SkColorType : int;
16class SkBitmap;
17
18namespace skgpu {
19
20float DitherRangeForConfig(SkColorType dstColorType);
21
23
24} // namespace skgpu
25
26#endif // SK_IGNORE_GPU_DITHER
27
28#endif // skgpu_DitherUtils_DEFINED
SkColorType
Definition: SkColorType.h:19
Definition: GpuTools.h:21
float DitherRangeForConfig(SkColorType dstColorType)
Definition: DitherUtils.cpp:20
SkBitmap MakeDitherLUT()
Definition: DitherUtils.cpp:74