Lines Matching defs:format
84 // Will we ever want a swizzle that is not the default write swizzle for the format and
118 const GrBackendFormat& format,
130 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format,
144 !this->caps()->isFormatCompressed(format)) {
145 swizzle = this->caps()->getReadSwizzle(format, info.colorType());
174 GrBackendFormat format = this->caps()->getDefaultBackendFormat(info.colorType(),
176 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format,
187 GrSwizzle readSwizzle = this->caps()->getReadSwizzle (format, info.colorType());
188 GrSwizzle writeSwizzle = this->caps()->getWriteSwizzle(format, info.colorType());
209 const GrBackendFormat& format,
221 SkASSERT(format.isValid() && format.backend() == fContext->backend());
227 format,
238 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format,
331 const GrBackendFormat& format = tex.getBackendFormat();
332 if (!this->caps()->areColorTypeAndFormatCompatible(info.colorType(), format)) {
335 GrSwizzle readSwizzle = this->caps()->getReadSwizzle (format, info.colorType());
336 GrSwizzle writeSwizzle = this->caps()->getWriteSwizzle(format, info.colorType());