Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
graphite
vk
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
8
#include "
include/private/gpu/graphite/VulkanGraphiteTypesPriv.h
"
9
10
namespace
skgpu::graphite
{
11
12
VulkanTextureInfo
VulkanTextureSpecToTextureInfo
(
const
VulkanTextureSpec
& vkSpec,
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
,
23
vkSpec.
fYcbcrConversionInfo
);
24
}
25
26
}
// namespace skgpu::graphite
27
VulkanGraphiteTypesPriv.h
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
skgpu::graphite::VulkanTextureSpecToTextureInfo
VulkanTextureInfo VulkanTextureSpecToTextureInfo(const VulkanTextureSpec &vkSpec, uint32_t sampleCount, Mipmapped mipmapped)
Definition:
VulkanGraphiteTypes.cpp:12
skgpu::Mipmapped
Mipmapped
Definition:
GpuTypes.h:53
skgpu::graphite::VulkanTextureInfo
Definition:
VulkanGraphiteTypes.h:16
skgpu::graphite::VulkanTextureSpec
Definition:
VulkanGraphiteTypesPriv.h:17
skgpu::graphite::VulkanTextureSpec::fSharingMode
VkSharingMode fSharingMode
Definition:
VulkanGraphiteTypesPriv.h:72
skgpu::graphite::VulkanTextureSpec::fFlags
VkImageCreateFlags fFlags
Definition:
VulkanGraphiteTypesPriv.h:68
skgpu::graphite::VulkanTextureSpec::fAspectMask
VkImageAspectFlags fAspectMask
Definition:
VulkanGraphiteTypesPriv.h:73
skgpu::graphite::VulkanTextureSpec::fImageUsageFlags
VkImageUsageFlags fImageUsageFlags
Definition:
VulkanGraphiteTypesPriv.h:71
skgpu::graphite::VulkanTextureSpec::fImageTiling
VkImageTiling fImageTiling
Definition:
VulkanGraphiteTypesPriv.h:70
skgpu::graphite::VulkanTextureSpec::fFormat
VkFormat fFormat
Definition:
VulkanGraphiteTypesPriv.h:69
skgpu::graphite::VulkanTextureSpec::fYcbcrConversionInfo
VulkanYcbcrConversionInfo fYcbcrConversionInfo
Definition:
VulkanGraphiteTypesPriv.h:74
Generated on Sun Jun 23 2024 21:56:28 for Flutter Engine by
1.9.4