Definition at line 31 of file GrVkBackendSurface.cpp.
◆ GrVkBackendFormatData()
◆ asVkFormat()
VkFormat GrVkBackendFormatData::asVkFormat |
( |
| ) |
const |
|
inline |
◆ bytesPerBlock()
size_t GrVkBackendFormatData::bytesPerBlock |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ channelMask()
uint32_t GrVkBackendFormatData::channelMask |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ compressionType()
|
inlineoverrideprivatevirtual |
Implements GrBackendFormatData.
Definition at line 40 of file GrVkBackendSurface.cpp.
40 {
41 switch (fFormat) {
48 default:
50 }
51 }
@ VK_FORMAT_BC1_RGB_UNORM_BLOCK
@ VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK
@ VK_FORMAT_BC1_RGBA_UNORM_BLOCK
◆ copyTo()
void GrVkBackendFormatData::copyTo |
( |
AnyFormatData & |
formatData | ) |
const |
|
inlineoverrideprivatevirtual |
◆ desc()
|
inlineoverrideprivatevirtual |
◆ equal()
|
inlineoverrideprivatevirtual |
Implements GrBackendFormatData.
Definition at line 69 of file GrVkBackendSurface.cpp.
69 {
72 return fFormat == otherVk->fFormat &&
73 fYcbcrConversionInfo == otherVk->fYcbcrConversionInfo;
74 }
75 return false;
76 }
◆ getYcbcrConversionInfo()
◆ makeTexture2D()
void GrVkBackendFormatData::makeTexture2D |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ stencilBits()
int GrVkBackendFormatData::stencilBits |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ toString()
std::string GrVkBackendFormatData::toString |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
Implements GrBackendFormatData.
Definition at line 78 of file GrVkBackendSurface.cpp.
78 {
79#if defined(SK_DEBUG) || GR_TEST_UTILS
81#else
82 return "";
83#endif
84 }
static constexpr const char * VkFormatToStr(VkFormat vkFormat)
The documentation for this class was generated from the following file: