Flutter Engine
The Flutter Engine
display_list
dl_sampling_options.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_
6
#define FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_
7
8
namespace
flutter
{
9
10
enum class
DlFilterMode
{
11
kNearest
,
// single sample point (nearest neighbor)
12
kLinear
,
// interporate between 2x2 sample points (bilinear interpolation)
13
14
kLast
=
kLinear
,
15
};
16
17
enum class
DlImageSampling
{
18
kNearestNeighbor
,
19
kLinear
,
20
kMipmapLinear
,
21
kCubic
,
22
};
23
24
}
// namespace flutter
25
26
#endif
// FLUTTER_DISPLAY_LIST_DL_SAMPLING_OPTIONS_H_
flutter
Definition:
asset_manager.cc:10
flutter::DlFilterMode
DlFilterMode
Definition:
dl_sampling_options.h:10
flutter::DlFilterMode::kLast
@ kLast
flutter::DlFilterMode::kLinear
@ kLinear
flutter::DlFilterMode::kNearest
@ kNearest
flutter::DlImageSampling
DlImageSampling
Definition:
dl_sampling_options.h:17
flutter::DlImageSampling::kMipmapLinear
@ kMipmapLinear
flutter::DlImageSampling::kCubic
@ kCubic
flutter::DlImageSampling::kNearestNeighbor
@ kNearestNeighbor
Generated on Sun Jun 23 2024 21:54:55 for Flutter Engine by
1.9.4