Flutter Engine
The Flutter Engine
AHardwareBufferUtils.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#ifndef AHardwareBufferUtils_DEFINED
8#define AHardwareBufferUtils_DEFINED
9
12
13#if __ANDROID_API__ >= 26
14
15namespace AHardwareBufferUtils {
16
17SkColorType GetSkColorTypeFromBufferFormat(uint32_t bufferFormat);
18
19} // namespace AHardwareBufferUtils
20
21#endif
22
23#endif // AHardwareBufferUtils_DEFINED
SkColorType
Definition: SkColorType.h:19