Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
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
11
#include "
include/core/SkTypes.h
"
12
13
#ifndef SK_IGNORE_GPU_DITHER
14
15
enum
SkColorType
:
int
;
16
class
SkBitmap
;
17
18
namespace
skgpu
{
19
20
float
DitherRangeForConfig
(
SkColorType
dstColorType);
21
22
SkBitmap
MakeDitherLUT
();
23
24
}
// namespace skgpu
25
26
#endif
// SK_IGNORE_GPU_DITHER
27
28
#endif
// skgpu_DitherUtils_DEFINED
SkColorType
SkColorType
Definition:
SkColorType.h:19
SkTypes.h
SkBitmap
Definition:
SkBitmap.h:59
skgpu
Definition:
GpuTools.h:21
skgpu::DitherRangeForConfig
float DitherRangeForConfig(SkColorType dstColorType)
Definition:
DitherUtils.cpp:20
skgpu::MakeDitherLUT
SkBitmap MakeDitherLUT()
Definition:
DitherUtils.cpp:74
tools.skpbench.skpbench.int
int
Definition:
skpbench.py:49
Generated on Sun Jun 23 2024 21:56:17 for Flutter Engine by
1.9.4