Lines Matching defs:caps
151 if (this->caps()->isFormatCompressed(format)) {
196 auto format = this->caps()->getDefaultBackendFormat(colorType, renderable);
272 const GrCaps* caps = fImageContext->priv().caps();
277 std::tie(ct, expectedFormat) = caps->getFallbackColorTypeAndFormat(ct, sampleCnt);
280 GrSwizzle swizzle = caps->getReadSwizzle(proxy->backendFormat(), ct);
346 GrBackendFormat format = this->caps()->getDefaultBackendFormat(colorType, GrRenderable::kNo);
380 SkASSERT(this->caps()->mipmapSupport());
383 GrBackendFormat format = this->caps()->getDefaultBackendFormat(colorType, GrRenderable::kNo);
451 const GrCaps* caps = this->caps();
453 if (caps->isFormatCompressed(format)) {
466 if (!caps->validateSurfaceParams(dimensions,
478 renderTargetSampleCnt = caps->getRenderTargetSampleCount(renderTargetSampleCnt, format);
480 GrInternalSurfaceFlags extraFlags = caps->getExtraSurfaceFlagsForDeferredRT();
484 *caps, format, dimensions, renderTargetSampleCnt, mipMapped, mipmapStatus, fit,
502 GrBackendFormat format = this->caps()->getBackendFormatFromCompressionType(compressionType);
504 if (!this->caps()->isFormatTexturable(format, GrTextureType::k2D)) {
624 const GrCaps* caps = this->caps();
628 sampleCnt = caps->getRenderTargetSampleCount(sampleCnt, backendTex.getBackendFormat());
710 if (!this->caps()->isFormatAsColorTypeRenderable(
736 if (dimensions.fWidth > threadSafeProxy->priv().caps()->maxTextureSize() ||
737 dimensions.fHeight > threadSafeProxy->priv().caps()->maxTextureSize()) {
783 if (dimensions.fWidth > this->caps()->maxTextureSize() ||
784 dimensions.fHeight > this->caps()->maxTextureSize()) {
821 if (dimensions.fWidth > this->caps()->maxRenderTargetSize() ||
822 dimensions.fHeight > this->caps()->maxRenderTargetSize()) {
831 *this->caps(), std::move(callback), format, dimensions, sampleCnt,
850 const GrCaps& caps,
860 GrInternalSurfaceFlags surfaceFlags = caps.getExtraSurfaceFlagsForDeferredRT();
867 caps, std::move(callback), format, kLazyDims, renderTargetSampleCnt,
928 const GrCaps* GrProxyProvider::caps() const {
929 return fImageContext->priv().caps();