Lines Matching refs:GrPixelConfig
77 static int get_compatible_format_class(GrPixelConfig config) { in get_compatible_format_class()
115 bool GrVkCaps::canCopyImage(GrPixelConfig dstConfig, int dstSampleCnt, GrSurfaceOrigin dstOrigin, in canCopyImage()
116 GrPixelConfig srcConfig, int srcSampleCnt, in canCopyImage()
137 bool GrVkCaps::canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit()
138 GrPixelConfig srcConfig, int srcSampleCnt, bool srcIsLinear) const { in canCopyAsBlit()
160 bool GrVkCaps::canCopyAsResolve(GrPixelConfig dstConfig, int dstSampleCnt, in canCopyAsResolve()
161 GrSurfaceOrigin dstOrigin, GrPixelConfig srcConfig, in canCopyAsResolve()
186 bool GrVkCaps::canCopyAsDraw(GrPixelConfig dstConfig, bool dstIsRenderable, in canCopyAsDraw()
187 GrPixelConfig srcConfig, bool srcIsTextureable) const { in canCopyAsDraw()
207 GrPixelConfig dstConfig = dst->config(); in onCanCopySurface()
208 GrPixelConfig srcConfig = src->config(); in onCanCopySurface()
542 GrPixelConfig config = static_cast<GrPixelConfig>(i); in initShaderCaps()
633 if (GrPixelConfigToVkFormat(static_cast<GrPixelConfig>(i), &format)) { in initConfigTable()
634 if (!GrPixelConfigIsSRGB(static_cast<GrPixelConfig>(i)) || fSRGBSupport) { in initConfigTable()
719 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, GrPixelConfig config) const { in getRenderTargetSampleCount()
741 int GrVkCaps::maxRenderTargetSampleCount(GrPixelConfig config) const { in maxRenderTargetSampleCount()
756 GrPixelConfig validate_image_info(VkFormat format, SkColorType ct, bool hasYcbcrConversion) { in validate_image_info()
839 GrPixelConfig GrVkCaps::validateBackendRenderTarget(const GrBackendRenderTarget& rt, in validateBackendRenderTarget()
848 GrPixelConfig GrVkCaps::getConfigFromBackendFormat(const GrBackendFormat& format, in getConfigFromBackendFormat()
858 static GrPixelConfig get_yuva_config(VkFormat vkFormat) { in get_yuva_config()
875 GrPixelConfig GrVkCaps::getYUVAConfigFromBackendFormat(const GrBackendFormat& format) const { in getYUVAConfigFromBackendFormat()
885 GrPixelConfig config = GrColorTypeToPixelConfig(ct, srgbEncoded); in getBackendFormatFromGrColorType()