Lines Matching refs:fCaps
43 fCaps = std::move(caps);
57 SkASSERT(fCaps);
76 if (!fCaps->mipmapSupport()) {
80 if (ii.width() < 1 || ii.width() > fCaps->maxRenderTargetSize() ||
81 ii.height() < 1 || ii.height() > fCaps->maxRenderTargetSize()) {
87 if (!fCaps->areColorTypeAndFormatCompatible(grColorType, backendFormat)) {
91 if (!fCaps->isFormatAsColorTypeRenderable(grColorType, backendFormat, sampleCnt)) {
95 sampleCnt = fCaps->getRenderTargetSampleCount(sampleCnt, backendFormat);
102 if (isTextureable && !fCaps->isFormatTexturable(backendFormat, backendFormat.textureType())) {
118 const GrVkCaps* vkCaps = (const GrVkCaps*) fCaps.get();
142 SkASSERT(fCaps);
145 GrBackendFormat format = fCaps->getDefaultBackendFormat(grColorType, renderable);
151 fCaps->isFormatAsColorTypeRenderable(grColorType, format));
157 SkASSERT(fCaps);
159 GrBackendFormat format = fCaps->getBackendFormatFromCompressionType(c);
161 SkASSERT(!format.isValid() || fCaps->isFormatTexturable(format, GrTextureType::k2D));