Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrVkImageInfo Struct Reference

#include <GrVkTypes.h>

Public Member Functions

bool operator== (const GrVkImageInfo &that) const
 

Public Attributes

VkImage fImage = VK_NULL_HANDLE
 
skgpu::VulkanAlloc fAlloc
 
VkImageTiling fImageTiling = VK_IMAGE_TILING_OPTIMAL
 
VkImageLayout fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED
 
VkFormat fFormat = VK_FORMAT_UNDEFINED
 
VkImageUsageFlags fImageUsageFlags = 0
 
uint32_t fSampleCount = 1
 
uint32_t fLevelCount = 0
 
uint32_t fCurrentQueueFamily = VK_QUEUE_FAMILY_IGNORED
 
skgpu::Protected fProtected = skgpu::Protected::kNo
 
skgpu::VulkanYcbcrConversionInfo fYcbcrConversionInfo
 
VkSharingMode fSharingMode = VK_SHARING_MODE_EXCLUSIVE
 

Detailed Description

Definition at line 25 of file GrVkTypes.h.

Member Function Documentation

◆ operator==()

bool GrVkImageInfo::operator== ( const GrVkImageInfo that) const
inline

Definition at line 42 of file GrVkTypes.h.

42 {
43 bool equal = fImage == that.fImage && fAlloc == that.fAlloc &&
44 fImageTiling == that.fImageTiling &&
45 fImageLayout == that.fImageLayout &&
46 fFormat == that.fFormat &&
48 fSampleCount == that.fSampleCount &&
49 fLevelCount == that.fLevelCount &&
51 fProtected == that.fProtected &&
54#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
55 equal = equal && (fPartOfSwapchainOrAndroidWindow == that.fPartOfSwapchainOrAndroidWindow);
56#endif
57 return equal;
58 }
static bool equal(const SkBitmap &a, const SkBitmap &b)
Definition: ImageTest.cpp:1395
VkImage fImage
Definition: GrVkTypes.h:26
VkSharingMode fSharingMode
Definition: GrVkTypes.h:37
skgpu::VulkanAlloc fAlloc
Definition: GrVkTypes.h:27
uint32_t fCurrentQueueFamily
Definition: GrVkTypes.h:34
VkFormat fFormat
Definition: GrVkTypes.h:30
uint32_t fSampleCount
Definition: GrVkTypes.h:32
skgpu::Protected fProtected
Definition: GrVkTypes.h:35
uint32_t fLevelCount
Definition: GrVkTypes.h:33
skgpu::VulkanYcbcrConversionInfo fYcbcrConversionInfo
Definition: GrVkTypes.h:36
VkImageLayout fImageLayout
Definition: GrVkTypes.h:29
VkImageUsageFlags fImageUsageFlags
Definition: GrVkTypes.h:31
VkImageTiling fImageTiling
Definition: GrVkTypes.h:28

Member Data Documentation

◆ fAlloc

skgpu::VulkanAlloc GrVkImageInfo::fAlloc

Definition at line 27 of file GrVkTypes.h.

◆ fCurrentQueueFamily

uint32_t GrVkImageInfo::fCurrentQueueFamily = VK_QUEUE_FAMILY_IGNORED

Definition at line 34 of file GrVkTypes.h.

◆ fFormat

VkFormat GrVkImageInfo::fFormat = VK_FORMAT_UNDEFINED

Definition at line 30 of file GrVkTypes.h.

◆ fImage

VkImage GrVkImageInfo::fImage = VK_NULL_HANDLE

Definition at line 26 of file GrVkTypes.h.

◆ fImageLayout

VkImageLayout GrVkImageInfo::fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED

Definition at line 29 of file GrVkTypes.h.

◆ fImageTiling

VkImageTiling GrVkImageInfo::fImageTiling = VK_IMAGE_TILING_OPTIMAL

Definition at line 28 of file GrVkTypes.h.

◆ fImageUsageFlags

VkImageUsageFlags GrVkImageInfo::fImageUsageFlags = 0

Definition at line 31 of file GrVkTypes.h.

◆ fLevelCount

uint32_t GrVkImageInfo::fLevelCount = 0

Definition at line 33 of file GrVkTypes.h.

◆ fProtected

skgpu::Protected GrVkImageInfo::fProtected = skgpu::Protected::kNo

Definition at line 35 of file GrVkTypes.h.

◆ fSampleCount

uint32_t GrVkImageInfo::fSampleCount = 1

Definition at line 32 of file GrVkTypes.h.

◆ fSharingMode

VkSharingMode GrVkImageInfo::fSharingMode = VK_SHARING_MODE_EXCLUSIVE

Definition at line 37 of file GrVkTypes.h.

◆ fYcbcrConversionInfo

skgpu::VulkanYcbcrConversionInfo GrVkImageInfo::fYcbcrConversionInfo

Definition at line 36 of file GrVkTypes.h.


The documentation for this struct was generated from the following file: