Lines Matching refs:caps
21 bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) { in IsSupported() argument
22 const GrShaderCaps& shaderCaps = *caps.shaderCaps(); in IsSupported()
23 return caps.instanceAttribSupport() && shaderCaps.integerSupport() && in IsSupported()
24 shaderCaps.floatIs32Bits() && GrCaps::kNone_MapFlags != caps.mapBufferFlags() && in IsSupported()
25 caps.isConfigTexturable(kAlpha_half_GrPixelConfig) && in IsSupported()
26 caps.isConfigRenderable(kAlpha_half_GrPixelConfig) && in IsSupported()
27 caps.isConfigTexturable(kAlpha_8_GrPixelConfig) && in IsSupported()
28 caps.isConfigRenderable(kAlpha_8_GrPixelConfig) && in IsSupported()
29 caps.halfFloatVertexAttributeSupport() && in IsSupported()
30 !caps.blacklistCoverageCounting(); in IsSupported()
34 const GrCaps& caps, AllowCaching allowCaching, uint32_t contextUniqueID) { in CreateIfSupported() argument
35 return sk_sp<GrCoverageCountingPathRenderer>((IsSupported(caps)) in CreateIfSupported()
162 int rtHeight, const GrCaps& caps) { in makeClipProcessor() argument
175 int maxRTSize = caps.maxRenderTargetSize(); in makeClipProcessor()
177 clipPath.init(croppedPath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
179 clipPath.init(deviceSpacePath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
207 int maxPreferredRTSize = onFlushRP->caps()->maxPreferredRenderTargetSize(); in preFlush()