Lines Matching refs:characterization
233 bool SkSurface_Gpu::onCharacterize(SkSurfaceCharacterization* characterization) const { in onCharacterize()
263 characterization->set( in onCharacterize()
318 bool SkSurface_Gpu::onIsCompatible(const SkSurfaceCharacterization& characterization) const { in onIsCompatible()
326 if (!characterization.isValid()) { in onIsCompatible()
330 if (characterization.vulkanSecondaryCBCompatible()) { in onIsCompatible()
339 if (characterization.isTextureable()) { in onIsCompatible()
347 if (characterization.isMipMapped() && in onIsCompatible()
355 if (characterization.usesGLFBO0() != sdc->asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
360 if (!characterization.usesGLFBO0() || characterization.sampleCount() > 1) { in onIsCompatible()
372 return characterization.contextInfo() && in onIsCompatible()
373 characterization.contextInfo()->priv().matches(direct) && in onIsCompatible()
374 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in onIsCompatible()
375 characterization.origin() == sdc->origin() && in onIsCompatible()
376 characterization.backendFormat() == sdc->asSurfaceProxy()->backendFormat() && in onIsCompatible()
377 characterization.width() == sdc->width() && characterization.height() == sdc->height() && in onIsCompatible()
378 characterization.colorType() == rtcColorType && in onIsCompatible()
379 characterization.sampleCount() == sdc->numSamples() && in onIsCompatible()
380 SkColorSpace::Equals(characterization.colorSpace(), sdc->colorInfo().colorSpace()) && in onIsCompatible()
381 characterization.isProtected() == isProtected && in onIsCompatible()
382 characterization.surfaceProps() == sdc->surfaceProps(); in onIsCompatible()
386 if (!ddl || !this->isCompatible(ddl->characterization())) { in onDraw()