Flutter Engine
The Flutter Engine
shell
platform
embedder
pixel_formats.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_SHELL_PLATFORM_EMBEDDER_PIXEL_FORMATS_H_
6
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_PIXEL_FORMATS_H_
7
8
#include <optional>
9
#include "flutter/shell/common/rasterizer.h"
10
#include "flutter/shell/platform/embedder/embedder.h"
11
12
std::optional<SkColorType>
getSkColorType
(
FlutterSoftwarePixelFormat
pixfmt);
13
14
std::optional<SkColorInfo>
getSkColorInfo
(
FlutterSoftwarePixelFormat
pixfmt);
15
16
#endif
// FLUTTER_SHELL_PLATFORM_EMBEDDER_PIXEL_FORMATS_H_
FlutterSoftwarePixelFormat
FlutterSoftwarePixelFormat
Definition:
embedder.h:335
getSkColorType
std::optional< SkColorType > getSkColorType(FlutterSoftwarePixelFormat pixfmt)
Definition:
pixel_formats.cc:12
getSkColorInfo
std::optional< SkColorInfo > getSkColorInfo(FlutterSoftwarePixelFormat pixfmt)
Definition:
pixel_formats.cc:34
Generated on Sun Jun 23 2024 21:55:14 for Flutter Engine by
1.9.4