Lines Matching refs:characterization
84 bool GrVkSecondaryCBDrawContext::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
107 characterization->set(direct->threadSafeProxy(), in characterize()
125 const SkSurfaceCharacterization& characterization) const { in isCompatible()
133 if (!characterization.isValid()) { in isCompatible()
137 if (!characterization.vulkanSecondaryCBCompatible()) { in isCompatible()
146 if (characterization.isTextureable()) { in isCompatible()
151 if (characterization.usesGLFBO0()) { in isCompatible()
163 return characterization.contextInfo() && in isCompatible()
164 characterization.contextInfo()->priv().matches(direct) && in isCompatible()
165 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
166 characterization.origin() == sdc->origin() && in isCompatible()
167 characterization.backendFormat() == rtcFormat && in isCompatible()
168 characterization.width() == sdc->width() && in isCompatible()
169 characterization.height() == sdc->height() && in isCompatible()
170 characterization.colorType() == rtColorType && in isCompatible()
171 characterization.sampleCount() == sdc->numSamples() && in isCompatible()
172 SkColorSpace::Equals(characterization.colorSpace(), sdc->colorInfo().colorSpace()) && in isCompatible()
173 characterization.isProtected() == isProtected && in isCompatible()
174 characterization.surfaceProps() == sdc->surfaceProps(); in isCompatible()
182 if (!ddl || !this->isCompatible(ddl->characterization())) {