Lines Matching defs:caps

46 const GrCaps* SurfaceContext::caps() const { return fContext->priv().caps(); }
112 const GrCaps* caps = dContext->priv().caps();
113 bool srcIsCompressed = caps->isFormatCompressed(srcSurface->backendFormat());
119 GrBackendFormat defaultRGBAFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888,
136 auto readFlag = caps->surfaceSupportsReadPixels(srcSurface);
180 auto restrictions = this->caps()->getDstCopyRestrictions(this->asRenderTargetProxy(),
217 auto supportedRead = caps->supportedReadPixelsColorType(
221 !caps->readPixelsRowBytesSupport() && dst.rowBytes() != dst.info().minRowBytes();
371 const GrCaps* caps = dContext->priv().caps();
373 auto rgbaDefaultFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888,
379 bool canvas2DFastPath = !caps->avoidWritePixelsFastPath() && premul && !needColorConversion &&
395 if ((!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) && numLevels == 1) {
480 caps->supportedWritePixelsColorType(this->colorInfo().colorType(),
490 bool mustBeTight = !caps->writePixelsRowBytesSupport();
577 this->caps()->getDefaultBackendFormat(dstCT, GrRenderable::kYes);
579 auto readInfo = this->caps()->supportedReadPixelsColorType(colorTypeOfFinalContext,
763 this->caps()->transferBufferAlignment(),
880 this->caps()->supportedReadPixelsColorType(yFC->colorInfo().colorType(),
887 bool doSynchronousRead = !this->caps()->transferFromSurfaceToBufferSupport() ||
996 this->caps()->transferBufferAlignment(),
1043 const GrCaps* caps = fContext->priv().caps();
1052 if (!caps->canCopySurface(this->asSurfaceProxy(), src.get(), srcRect, dstPoint)) {
1210 *this->caps());
1221 *this->caps());
1248 auto supportedRead = this->caps()->supportedReadPixelsColorType(this->colorInfo().colorType(),
1259 if (!this->caps()->transferFromSurfaceToBufferSupport() ||
1265 rowBytes = SkAlignTo(rowBytes, this->caps()->transferBufferAlignment());
1304 SkASSERT(fContext->priv().caps()->areColorTypeAndFormatCompatible(