Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
VulkanGraphiteTypes.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2022 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
9
10namespace skgpu::graphite {
11
13 uint32_t sampleCount,
14 Mipmapped mipmapped) {
15 return VulkanTextureInfo(sampleCount,
16 mipmapped,
17 vkSpec.fFlags,
18 vkSpec.fFormat,
19 vkSpec.fImageTiling,
20 vkSpec.fImageUsageFlags,
21 vkSpec.fSharingMode,
22 vkSpec.fAspectMask,
24}
25
26} // namespace skgpu::graphite
27
VulkanTextureInfo VulkanTextureSpecToTextureInfo(const VulkanTextureSpec &vkSpec, uint32_t sampleCount, Mipmapped mipmapped)
Mipmapped
Definition GpuTypes.h:53
VulkanYcbcrConversionInfo fYcbcrConversionInfo