Lines Matching refs:GrVkCaps
35 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() function in GrVkCaps
135 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage()
150 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit()
173 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve()
197 bool GrVkCaps::onCanCopySurface(const GrSurfaceProxy* dst, const GrSurfaceProxy* src, in onCanCopySurface()
290 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init()
468 void GrVkCaps::applyDriverCorrectnessWorkarounds(const VkPhysicalDeviceProperties& properties) { in applyDriverCorrectnessWorkarounds()
594 void GrVkCaps::initGrCaps(const GrVkInterface* vkInterface, in initGrCaps()
690 void GrVkCaps::initShaderCaps(const VkPhysicalDeviceProperties& properties, in initShaderCaps()
740 void GrVkCaps::initStencilFormat(const GrVkInterface* interface, VkPhysicalDevice physDev) { in initStencilFormat()
789 void GrVkCaps::setColorType(GrColorType colorType, std::initializer_list<VkFormat> formats) { in setColorType()
820 const GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) const { in getFormatInfo()
821 GrVkCaps* nonConstThis = const_cast<GrVkCaps*>(this); in getFormatInfo()
825 GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) { in getFormatInfo()
826 static_assert(SK_ARRAY_COUNT(kVkFormats) == GrVkCaps::kNumVkFormats, in getFormatInfo()
837 void GrVkCaps::initFormatTable(const GrVkInterface* interface, VkPhysicalDevice physDev, in initFormatTable()
839 static_assert(SK_ARRAY_COUNT(kVkFormats) == GrVkCaps::kNumVkFormats, in initFormatTable()
1301 void GrVkCaps::FormatInfo::InitFormatFlags(VkFormatFeatureFlags vkFlags, uint16_t* flags) { in InitFormatFlags()
1324 void GrVkCaps::FormatInfo::initSampleCounts(const GrVkInterface* interface, in initSampleCounts()
1368 void GrVkCaps::FormatInfo::init(const GrVkInterface* interface, in init()
1401 bool GrVkCaps::isFormatSRGB(const GrBackendFormat& format) const { in isFormatSRGB()
1413 bool GrVkCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable()
1426 bool GrVkCaps::isVkFormatTexturable(VkFormat format) const { in isVkFormatTexturable()
1431 bool GrVkCaps::isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, in isFormatAsColorTypeRenderable()
1447 bool GrVkCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable()
1455 bool GrVkCaps::isFormatRenderable(VkFormat format, int sampleCount) const { in isFormatRenderable()
1459 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount()
1469 int GrVkCaps::getRenderTargetSampleCount(int requestedCount, VkFormat format) const { in getRenderTargetSampleCount()
1493 int GrVkCaps::maxRenderTargetSampleCount(const GrBackendFormat& format) const { in maxRenderTargetSampleCount()
1501 int GrVkCaps::maxRenderTargetSampleCount(VkFormat format) const { in maxRenderTargetSampleCount()
1522 GrCaps::SupportedWrite GrVkCaps::supportedWritePixelsColorType(GrColorType surfaceColorType, in supportedWritePixelsColorType()
1549 GrCaps::SurfaceReadPixelsSupport GrVkCaps::surfaceSupportsReadPixels( in surfaceSupportsReadPixels()
1574 GrColorType GrVkCaps::transferColorType(VkFormat vkFormat, GrColorType surfaceColorType) const { in transferColorType()
1584 bool GrVkCaps::onSurfaceSupportsWritePixels(const GrSurface* surface) const { in onSurfaceSupportsWritePixels()
1598 bool GrVkCaps::onAreColorTypeAndFormatCompatible(GrColorType ct, in onAreColorTypeAndFormatCompatible()
1624 GrBackendFormat GrVkCaps::onGetDefaultBackendFormat(GrColorType ct) const { in onGetDefaultBackendFormat()
1632 GrBackendFormat GrVkCaps::getBackendFormatFromCompressionType( in getBackendFormatFromCompressionType()
1657 GrSwizzle GrVkCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in onGetReadSwizzle()
1679 GrSwizzle GrVkCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
1693 GrDstSampleType GrVkCaps::onGetDstSampleTypeForProxy(const GrRenderTargetProxy* rt) const { in onGetDstSampleTypeForProxy()
1704 uint64_t GrVkCaps::computeFormatKey(const GrBackendFormat& format) const { in computeFormatKey()
1719 GrCaps::SupportedRead GrVkCaps::onSupportedReadPixelsColorType( in onSupportedReadPixelsColorType()
1750 int GrVkCaps::getFragmentUniformBinding() const { in getFragmentUniformBinding()
1754 int GrVkCaps::getFragmentUniformSet() const { in getFragmentUniformSet()
1758 void GrVkCaps::addExtraSamplerKey(GrProcessorKeyBuilder* b, in addExtraSamplerKey()
1790 GrProgramDesc GrVkCaps::makeDesc(GrRenderTarget* rt, in makeDesc()
1878 GrInternalSurfaceFlags GrVkCaps::getExtraSurfaceFlagsForDeferredRT() const { in getExtraSurfaceFlagsForDeferredRT()
1883 VkShaderStageFlags GrVkCaps::getPushConstantStageFlags() const { in getPushConstantStageFlags()
1892 std::vector<GrCaps::TestFormatColorTypeCombination> GrVkCaps::getTestingCombinations() const { in getTestingCombinations()