Lines Matching refs:GrBackendFormat
33 GrBackendFormat::GrBackendFormat(const GrBackendFormat& that) in GrBackendFormat() function in GrBackendFormat
75 GrBackendFormat& GrBackendFormat::operator=(const GrBackendFormat& that) { in operator =()
77 this->~GrBackendFormat(); in operator =()
78 new (this) GrBackendFormat(that); in operator =()
84 GrBackendFormat::GrBackendFormat(GrGLenum format, GrGLenum target) in GrBackendFormat() function in GrBackendFormat
107 GrGLFormat GrBackendFormat::asGLFormat() const { in asGLFormat()
114 GrBackendFormat GrBackendFormat::MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo) { in MakeVk()
116 return GrBackendFormat(ycbcrInfo.fFormat, ycbcrInfo); in MakeVk()
119 GrBackendFormat::GrBackendFormat(VkFormat vkFormat, const GrVkYcbcrConversionInfo& ycbcrInfo) in GrBackendFormat() function in GrBackendFormat
134 bool GrBackendFormat::asVkFormat(VkFormat* format) const { in asVkFormat()
143 const GrVkYcbcrConversionInfo* GrBackendFormat::getVkYcbcrConversionInfo() const { in getVkYcbcrConversionInfo()
151 GrBackendFormat::GrBackendFormat(wgpu::TextureFormat format) in GrBackendFormat() function in GrBackendFormat
158 bool GrBackendFormat::asDawnFormat(wgpu::TextureFormat* format) const { in asDawnFormat()
169 GrBackendFormat::GrBackendFormat(GrMTLPixelFormat mtlFormat) in GrBackendFormat() function in GrBackendFormat
176 GrMTLPixelFormat GrBackendFormat::asMtlFormat() const { in asMtlFormat()
186 GrBackendFormat::GrBackendFormat(DXGI_FORMAT dxgiFormat) in GrBackendFormat() function in GrBackendFormat
193 bool GrBackendFormat::asDxgiFormat(DXGI_FORMAT* dxgiFormat) const { in asDxgiFormat()
202 GrBackendFormat::GrBackendFormat(GrColorType colorType, SkImage::CompressionType compression, in GrBackendFormat() function in GrBackendFormat
213 uint32_t GrBackendFormat::channelMask() const { in channelMask()
247 bool GrBackendFormat::validateMock() const { in validateMock()
262 GrColorType GrBackendFormat::asMockColorType() const { in asMockColorType()
271 SkImage::CompressionType GrBackendFormat::asMockCompressionType() const { in asMockCompressionType()
280 bool GrBackendFormat::isMockStencilFormat() const { in isMockStencilFormat()
289 GrBackendFormat GrBackendFormat::makeTexture2D() const { in makeTexture2D()
290 GrBackendFormat copy = *this; in makeTexture2D()
304 GrBackendFormat GrBackendFormat::MakeMock(GrColorType colorType, in MakeMock()
307 return GrBackendFormat(colorType, compression, isStencilFormat); in MakeMock()
310 bool GrBackendFormat::operator==(const GrBackendFormat& that) const { in operator ==()
365 SkString GrBackendFormat::toStr() const { in toStr()
765 GrBackendFormat GrBackendTexture::getBackendFormat() const { in getBackendFormat()
767 return GrBackendFormat(); in getBackendFormat()
772 return GrBackendFormat::MakeGL(fGLInfo.info().fFormat, fGLInfo.info().fTarget); in getBackendFormat()
779 return GrBackendFormat::MakeVk(info.fYcbcrConversionInfo); in getBackendFormat()
781 return GrBackendFormat::MakeVk(info.fFormat); in getBackendFormat()
788 return GrBackendFormat::MakeMtl(GrGetMTLPixelFormatFromMtlTextureInfo(mtlInfo)); in getBackendFormat()
794 return GrBackendFormat::MakeDxgi(d3dInfo.fFormat); in getBackendFormat()
799 return GrBackendFormat::MakeDawn(fDawnInfo.fFormat); in getBackendFormat()
805 return GrBackendFormat(); in getBackendFormat()
1131 GrBackendFormat GrBackendRenderTarget::getBackendFormat() const { in getBackendFormat()
1133 return GrBackendFormat(); in getBackendFormat()
1138 return GrBackendFormat::MakeGL(fGLInfo.fFormat, GR_GL_TEXTURE_NONE); in getBackendFormat()
1145 return GrBackendFormat::MakeVk(info.fYcbcrConversionInfo); in getBackendFormat()
1147 return GrBackendFormat::MakeVk(info.fFormat); in getBackendFormat()
1154 return GrBackendFormat::MakeMtl(GrGetMTLPixelFormatFromMtlTextureInfo(mtlInfo)); in getBackendFormat()
1160 return GrBackendFormat::MakeDxgi(info.fFormat); in getBackendFormat()
1167 return GrBackendFormat::MakeDawn(dawnInfo.fFormat); in getBackendFormat()
1173 return GrBackendFormat(); in getBackendFormat()