Home
last modified time | relevance | path

Searched refs:characterization (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp81 bool GrVkSecondaryCBDrawContext::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
102 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in characterize()
115 const SkSurfaceCharacterization& characterization) const { in isCompatible()
119 if (!characterization.isValid()) { in isCompatible()
123 if (!characterization.vulkanSecondaryCBCompatible()) { in isCompatible()
134 if (characterization.isTextureable()) { in isCompatible()
139 if (characterization.usesGLFBO0()) { in isCompatible()
151 return characterization.contextInfo() && characterization.contextInfo()->priv().matches(ctx) && in isCompatible()
152 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
153 characterization.origin() == rtc->origin() && in isCompatible()
[all …]
DGrVkSecondaryCBDrawContext.h98 bool characterize(SkSurfaceCharacterization* characterization) const;
104 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp96 bool GrVkSecondaryCBDrawContext::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
117 characterization->set(direct->threadSafeProxy(), in characterize()
135 const SkSurfaceCharacterization& characterization) const { in isCompatible()
142 if (!characterization.isValid()) { in isCompatible()
146 if (!characterization.vulkanSecondaryCBCompatible()) { in isCompatible()
150 if (characterization.isTextureable()) { in isCompatible()
155 if (characterization.usesGLFBO0()) { in isCompatible()
174 return characterization.contextInfo() && in isCompatible()
175 characterization.contextInfo()->priv().matches(dContext) && in isCompatible()
176 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
[all …]
DGrVkSecondaryCBDrawContext.h106 bool characterize(SkSurfaceCharacterization* characterization) const;
114 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
/third_party/skia/src/image/
DSkSurface_Gpu.cpp228 bool SkSurface_Gpu::onCharacterize(SkSurfaceCharacterization* characterization) const { in onCharacterize()
258 characterization->set( in onCharacterize()
307 bool SkSurface_Gpu::onIsCompatible(const SkSurfaceCharacterization& characterization) const { in onIsCompatible()
313 if (!characterization.isValid()) { in onIsCompatible()
317 if (characterization.vulkanSecondaryCBCompatible()) { in onIsCompatible()
332 if (characterization.isTextureable()) { in onIsCompatible()
340 if (characterization.isMipMapped() && in onIsCompatible()
348 if (characterization.usesGLFBO0() != targetView.asRenderTargetProxy()->glRTFBOIDIs0()) { in onIsCompatible()
353 if (!characterization.usesGLFBO0() || characterization.sampleCount() > 1) { in onIsCompatible()
362 return characterization.contextInfo() && in onIsCompatible()
[all …]
DSkSurface.cpp326 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
327 return asConstSB(this)->onCharacterize(characterization); in characterize()
330 bool SkSurface::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
331 return asConstSB(this)->onIsCompatible(characterization); in isCompatible()
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp187 bool SkSurface_Gpu::onCharacterize(SkSurfaceCharacterization* characterization) const { in onCharacterize()
213 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in onCharacterize()
260 bool SkSurface_Gpu::onIsCompatible(const SkSurfaceCharacterization& characterization) const { in onIsCompatible()
264 if (!characterization.isValid()) { in onIsCompatible()
268 if (characterization.vulkanSecondaryCBCompatible()) { in onIsCompatible()
279 if (characterization.isTextureable()) { in onIsCompatible()
287 if (characterization.isMipMapped() && in onIsCompatible()
295 if (characterization.usesGLFBO0() != rtc->asRenderTargetProxy()->rtPriv().glRTFBOIDIs0()) { in onIsCompatible()
306 return characterization.contextInfo() && characterization.contextInfo()->priv().matches(ctx) && in onIsCompatible()
307 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in onIsCompatible()
[all …]
DSkSurface.cpp459 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
460 return asConstSB(this)->onCharacterize(characterization); in characterize()
463 bool SkSurface::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
464 return asConstSB(this)->onIsCompatible(characterization); in isCompatible()
/third_party/skia/docs/examples/
DSurface_draw_2.cpp11 SkSurfaceCharacterization characterization;
12 if (!gpuSurface->characterize(&characterization)) {
17 SkDeferredDisplayListRecorder recorder(characterization);
DSurface_characterize.cpp16 SkSurfaceCharacterization characterization; in draw() local
17 if (!gpuSurface->characterize(&characterization)) { in draw()
22 SkDeferredDisplayListRecorder recorder(characterization); in draw()
/third_party/flutter/skia/docs/examples/
DSurface_draw_2.cpp11 SkSurfaceCharacterization characterization;
12 if (!gpuSurface->characterize(&characterization)) {
17 SkDeferredDisplayListRecorder recorder(characterization);
DSurface_characterize.cpp17 SkSurfaceCharacterization characterization;
18 if (!gpuSurface->characterize(&characterization)) {
23 SkDeferredDisplayListRecorder recorder(characterization);
/third_party/flutter/skia/tests/
DDeferredDisplayListTest.cpp748 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
749 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
752 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
760 const SkSurfaceCharacterization c = recorder.characterization(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
792 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
793 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
795 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
833 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
834 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
850 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/flutter/skia/src/core/
DSkDeferredDisplayList.cpp19 SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, in SkDeferredDisplayList() argument
21 : fCharacterization(characterization) in SkDeferredDisplayList()
/third_party/skia/tests/
DDeferredDisplayListTest.cpp696 SkSurfaceCharacterization characterization = params.createCharacterization(dContext); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
697 REPORTER_ASSERT(reporter, characterization.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
703 REPORTER_ASSERT(reporter, scbDrawContext->isCompatible(characterization)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
903 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
904 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
907 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
915 const SkSurfaceCharacterization c = recorder.characterization(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1051 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1052 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1066 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DWrappedSurfaceCopyOnWriteTest.cpp60 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
61 REPORTER_ASSERT(reporter, surf->characterize(&characterization)); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
62 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DGrThreadSafeCacheTest.cpp124 SkSurfaceCharacterization characterization; in TestHelper() local
125 SkAssertResult(fDst->characterize(&characterization)); in TestHelper()
127 fRecorder1 = std::make_unique<SkDeferredDisplayListRecorder>(characterization); in TestHelper()
130 fRecorder2 = std::make_unique<SkDeferredDisplayListRecorder>(characterization); in TestHelper()
/third_party/flutter/skia/include/private/
DSkDeferredDisplayList.h49 SK_API SkDeferredDisplayList(const SkSurfaceCharacterization& characterization,
53 SK_API const SkSurfaceCharacterization& characterization() const { in characterization() function
/third_party/skia/src/core/
DSkDeferredDisplayList.cpp21 SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, in SkDeferredDisplayList() argument
24 : fCharacterization(characterization) in SkDeferredDisplayList()
/third_party/skia/include/core/
DSkDeferredDisplayList.h35 SK_API const SkSurfaceCharacterization& characterization() const { in characterization() function
86 SK_API SkDeferredDisplayList(const SkSurfaceCharacterization& characterization,
DSkSurface.h355 const SkSurfaceCharacterization& characterization,
452 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
1033 bool characterize(SkSurfaceCharacterization* characterization) const;
DSkDeferredDisplayListRecorder.h42 const SkSurfaceCharacterization& characterization() const { in characterization() function
/third_party/flutter/skia/include/core/
DSkSurface.h411 const SkSurfaceCharacterization& characterization,
448 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
909 bool characterize(SkSurfaceCharacterization* characterization) const;
DSkDeferredDisplayListRecorder.h44 const SkSurfaceCharacterization& characterization() const { in characterization() function
/third_party/flutter/skia/include/gpu/
DGrContext.h406 GrBackendTexture createBackendTexture(const SkSurfaceCharacterization& characterization);
439 GrBackendTexture createBackendTexture(const SkSurfaceCharacterization& characterization,

12