Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrVkBackendFormatData Class Referencefinal
Inheritance diagram for GrVkBackendFormatData:
GrBackendFormatData

Public Member Functions

 GrVkBackendFormatData (VkFormat format, const skgpu::VulkanYcbcrConversionInfo &ycbcrInfo)
 
VkFormat asVkFormat () const
 
const skgpu::VulkanYcbcrConversionInfogetYcbcrConversionInfo () const
 
- Public Member Functions inherited from GrBackendFormatData
virtual ~GrBackendFormatData ()
 
virtual SkTextureCompressionType compressionType () const =0
 
virtual size_t bytesPerBlock () const =0
 
virtual int stencilBits () const =0
 
virtual bool equal (const GrBackendFormatData *that) const =0
 

Additional Inherited Members

- Protected Types inherited from GrBackendFormatData
using AnyFormatData = GrBackendFormat::AnyFormatData
 
- Protected Member Functions inherited from GrBackendFormatData
 GrBackendFormatData ()=default
 
 GrBackendFormatData (const GrBackendFormatData &)=default
 

Detailed Description

Definition at line 32 of file GrVkBackendSurface.cpp.

Constructor & Destructor Documentation

◆ GrVkBackendFormatData()

GrVkBackendFormatData::GrVkBackendFormatData ( VkFormat  format,
const skgpu::VulkanYcbcrConversionInfo ycbcrInfo 
)
inline

Definition at line 34 of file GrVkBackendSurface.cpp.

35 : fFormat(format), fYcbcrConversionInfo(ycbcrInfo) {}
uint32_t uint32_t * format

Member Function Documentation

◆ asVkFormat()

VkFormat GrVkBackendFormatData::asVkFormat ( ) const
inline

Definition at line 37 of file GrVkBackendSurface.cpp.

37{ return fFormat; }

◆ getYcbcrConversionInfo()

const skgpu::VulkanYcbcrConversionInfo * GrVkBackendFormatData::getYcbcrConversionInfo ( ) const
inline

Definition at line 38 of file GrVkBackendSurface.cpp.

38 {
39 return &fYcbcrConversionInfo;
40 }

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