Lines Matching defs:caps
41 fCaps = sk_ref_sp(fGpu->caps());
219 SkASSERT(!this->caps()->isFormatCompressed(format));
288 SkASSERT(!this->caps()->isFormatCompressed(format));
335 SkASSERT(!this->caps()->isFormatCompressed(format));
341 if (fGpu->caps()->reuseScratchTextures() || renderable == GrRenderable::kYes) {
343 GrTexture::ComputeScratchKey(*this->caps(), format, dimensions, renderable,
591 static int num_stencil_samples(const GrRenderTarget* rt, bool useMSAASurface, const GrCaps& caps) {
594 numSamples = caps.internalMultisampleCount(rt->backendFormat());
602 SkASSERT(!this->caps()->avoidStencilBuffers());
606 SkASSERT(stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *this->caps()));
614 if (this->caps()->oversizedStencilSupport()) {
624 int numStencilSamples = num_stencil_samples(rt, useMSAASurface, *this->caps());
626 *this->caps(), stencilFormat, rt->dimensions(),
643 stencil->numSamples() == num_stencil_samples(rt, useMSAASurface, *this->caps()));
670 GrAttachment::ComputeSharedAttachmentUniqueKey(*this->caps(),
732 SkASSERT(!this->caps()->isFormatCompressed(format));
741 GrAttachment::ComputeScratchKey(*this->caps(), format, dimensions,
813 this->caps()->supportedWritePixelsColorType(colorType, format, colorType).fColorType;
817 bool rowBytesSupport = this->caps()->writePixelsRowBytesSupport();