| Flutter Impeller |

skia_conversions.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_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
7
8 #include "flutter/display_list/dl_blend_mode.h"
9 #include "flutter/display_list/dl_color.h"
10 #include "flutter/display_list/dl_sampling_options.h"
11 #include "flutter/impeller/core/sampler_descriptor.h"
12 #include "flutter/impeller/geometry/color.h"
13
14 namespace impeller {
15 namespace skia_conversions {
16
17 Color ToColor(const flutter::DlColor& color);
18
19 impeller::SamplerDescriptor ToSamplerDescriptor(
20 const flutter::DlImageSampling options);
21
22 } // namespace skia_conversions
23 } // namespace impeller
24
25 #endif // FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
color.h
impeller::skia_conversions::ToSamplerDescriptor
impeller::SamplerDescriptor ToSamplerDescriptor(const flutter::DlImageSampling options)
Definition: skia_conversions.cc:24
impeller::skia_conversions::ToColor
Color ToColor(const flutter::DlColor &color)
Definition: skia_conversions.cc:13
impeller
Definition: allocation.cc:12
sampler_descriptor.h
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:14