Lines Matching defs:caps
435 static bool validate_backend_texture(const GrCaps* caps, const GrBackendTexture& tex,
447 if (!caps->areColorTypeAndFormatCompatible(grCT, backendFormat)) {
451 if (!caps->isFormatAsColorTypeRenderable(grCT, backendFormat, sampleCnt)) {
455 if (texturable && !caps->isFormatTexturable(backendFormat, tex.textureType())) {
472 if (!rContext->priv().caps()->mipmapSupport()) {
507 if (!validate_backend_texture(rContext->priv().caps(), tex, sampleCnt, grColorType, true)) {
567 if (!validate_backend_texture(rContext->priv().caps(), backendTexture,
586 bool validate_backend_render_target(const GrCaps* caps, const GrBackendRenderTarget& rt,
588 if (!caps->areColorTypeAndFormatCompatible(grCT, rt.getBackendFormat())) {
592 if (!caps->isFormatAsColorTypeRenderable(grCT, rt.getBackendFormat(), rt.sampleCnt())) {
624 if (!validate_backend_render_target(rContext->priv().caps(), rt, grColorType)) {