Flutter Engine
The Flutter Engine
third_party
skia
include
gpu
vk
VulkanMutableTextureState.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
8
#ifndef skgpu_VulkanMutableTextureState_DEFINED
9
#define skgpu_VulkanMutableTextureState_DEFINED
10
11
#include "
include/gpu/MutableTextureState.h
"
12
#include "
include/private/base/SkAPI.h
"
13
#include "
include/private/gpu/vk/SkiaVulkan.h
"
14
15
#include <cstdint>
16
17
namespace
skgpu::MutableTextureStates
{
18
SK_API
MutableTextureState
MakeVulkan
(
VkImageLayout
layout, uint32_t queueFamilyIndex);
19
20
SK_API
VkImageLayout
GetVkImageLayout
(
const
MutableTextureState
&
state
);
21
SK_API
VkImageLayout
GetVkImageLayout
(
const
MutableTextureState
*
state
);
22
SK_API
uint32_t
GetVkQueueFamilyIndex
(
const
MutableTextureState
&
state
);
23
SK_API
uint32_t
GetVkQueueFamilyIndex
(
const
MutableTextureState
*
state
);
24
}
25
26
#endif
MutableTextureState.h
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkiaVulkan.h
skgpu::MutableTextureState
Definition:
MutableTextureState.h:30
state
AtkStateType state
Definition:
fl_accessible_node.cc:10
skgpu::MutableTextureStates
Definition:
VulkanMutableTextureState.h:17
skgpu::MutableTextureStates::GetVkQueueFamilyIndex
SK_API uint32_t GetVkQueueFamilyIndex(const MutableTextureState &state)
Definition:
VulkanMutableTextureState.cpp:77
skgpu::MutableTextureStates::MakeVulkan
SK_API MutableTextureState MakeVulkan(VkImageLayout layout, uint32_t queueFamilyIndex)
Definition:
VulkanMutableTextureState.cpp:37
skgpu::MutableTextureStates::GetVkImageLayout
SK_API VkImageLayout GetVkImageLayout(const MutableTextureState &state)
Definition:
VulkanMutableTextureState.cpp:61
VkImageLayout
VkImageLayout
Definition:
vulkan_core.h:1330
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4