Lines Matching refs:characterization
174 bool SkSurface_Gpu::onCharacterize(SkSurfaceCharacterization* characterization) const { in onCharacterize()
199 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, rtc->origin(), in onCharacterize()
210 bool SkSurface_Gpu::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
214 if (!characterization.isValid()) { in isCompatible()
218 if (characterization.vulkanSecondaryCBCompatible()) { in isCompatible()
229 if (characterization.isTextureable()) { in isCompatible()
237 if (characterization.isMipMapped() && in isCompatible()
245 if (characterization.usesGLFBO0() != rtc->asRenderTargetProxy()->rtPriv().glRTFBOIDIs0()) { in isCompatible()
255 return characterization.contextInfo() && characterization.contextInfo()->priv().matches(ctx) && in isCompatible()
256 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
257 characterization.origin() == rtc->origin() && in isCompatible()
258 characterization.config() == rtc->colorSpaceInfo().config() && in isCompatible()
259 characterization.width() == rtc->width() && in isCompatible()
260 characterization.height() == rtc->height() && in isCompatible()
261 characterization.colorType() == rtcColorType && in isCompatible()
262 characterization.fsaaType() == rtc->fsaaType() && in isCompatible()
263 characterization.stencilCount() == rtc->numStencilSamples() && in isCompatible()
264 SkColorSpace::Equals(characterization.colorSpace(), in isCompatible()
266 characterization.surfaceProps() == rtc->surfaceProps(); in isCompatible()
270 if (!ddl || !this->isCompatible(ddl->characterization())) { in onDraw()