Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp84 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()
[all …]
DGrVkSecondaryCBDrawContext.h104 bool characterize(SkSurfaceCharacterization* characterization) const;
112 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
/external/skia/src/image/
DSkSurface_Gpu.cpp233 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()
[all …]
DSkSurface.cpp341 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
342 return asConstSB(this)->onCharacterize(characterization); in characterize()
345 bool SkSurface::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
346 return asConstSB(this)->onIsCompatible(characterization); in isCompatible()
/external/skqp/src/image/
DSkSurface_Gpu.cpp165 bool SkSurface_Gpu::onCharacterize(SkSurfaceCharacterization* characterization) const { in onCharacterize()
190 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, rtc->origin(), in onCharacterize()
201 bool SkSurface_Gpu::isCompatible(const SkSurfaceCharacterization& characterization) const { in isCompatible()
205 if (!characterization.isValid()) { in isCompatible()
216 if (characterization.isTextureable()) { in isCompatible()
224 if (characterization.isMipMapped() && in isCompatible()
232 if (characterization.usesGLFBO0() != rtc->asRenderTargetProxy()->rtPriv().glRTFBOIDIs0()) { in isCompatible()
242 return characterization.contextInfo() && characterization.contextInfo()->matches(ctx) && in isCompatible()
243 characterization.cacheMaxResourceBytes() <= maxResourceBytes && in isCompatible()
244 characterization.origin() == rtc->origin() && in isCompatible()
[all …]
DSkSurface.cpp259 bool SkSurface::characterize(SkSurfaceCharacterization* characterization) const { in characterize()
260 return asSB(const_cast<SkSurface*>(this))->onCharacterize(characterization); in characterize()
/external/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()
/external/skqp/src/core/
DSkDeferredDisplayList.cpp13 SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, in SkDeferredDisplayList() argument
15 : fCharacterization(characterization) in SkDeferredDisplayList()
/external/skia/tests/
DDeferredDisplayListTest.cpp698 SkSurfaceCharacterization characterization = params.createCharacterization(dContext); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
699 REPORTER_ASSERT(reporter, characterization.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
705 REPORTER_ASSERT(reporter, scbDrawContext->isCompatible(characterization)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
905 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
906 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
909 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
917 const SkSurfaceCharacterization c = recorder.characterization(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1053 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1054 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1068 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.cpp121 SkSurfaceCharacterization characterization; in TestHelper() local
122 SkAssertResult(fDst->characterize(&characterization)); in TestHelper()
124 fRecorder1 = std::make_unique<SkDeferredDisplayListRecorder>(characterization); in TestHelper()
127 fRecorder2 = std::make_unique<SkDeferredDisplayListRecorder>(characterization); in TestHelper()
/external/skqp/tests/
DDeferredDisplayListTest.cpp859 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
860 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
863 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
871 const SkSurfaceCharacterization c = recorder.characterization(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
901 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
902 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
904 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
922 SkSurfaceCharacterization characterization; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
923 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
925 SkDeferredDisplayListRecorder recorder(characterization); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skqp/include/private/
DSkDeferredDisplayList.h46 SkDeferredDisplayList(const SkSurfaceCharacterization& characterization,
50 const SkSurfaceCharacterization& characterization() const { in characterization() function
/external/skia/src/core/
DSkDeferredDisplayList.cpp22 SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, in SkDeferredDisplayList() argument
25 : fCharacterization(characterization) in SkDeferredDisplayList()
/external/skia/include/core/
DSkDeferredDisplayList.h36 SK_API const SkSurfaceCharacterization& characterization() const { in characterization() function
87 SK_API SkDeferredDisplayList(const SkSurfaceCharacterization& characterization,
DSkSurface.h426 const SkSurfaceCharacterization& characterization,
438 bool isCompatible(const SkSurfaceCharacterization& characterization) const;
1015 bool characterize(SkSurfaceCharacterization* characterization) const;
DSkDeferredDisplayListRecorder.h43 const SkSurfaceCharacterization& characterization() const { in characterization() function
/external/skqp/include/core/
DSkSurface.h372 const SkSurfaceCharacterization& characterization,
724 bool characterize(SkSurfaceCharacterization* characterization) const;
DSkDeferredDisplayListRecorder.h44 const SkSurfaceCharacterization& characterization() const { in characterization() function
/external/skqp/src/gpu/vk/
DGrVkSecondaryCBDrawContext.h95 bool characterize(SkSurfaceCharacterization* characterization) const;
/external/bcc/tools/
Dvfscount_example.txt23 This can be useful for workload characterization, to see what types of
Dsyscount_example.txt6 characterization, for example:
/external/skqp/docs/
DSkSurface_Reference.bmh452 const SkSurfaceCharacterization& characterization,
1232 #Method bool characterize(SkSurfaceCharacterization* characterization) const
1249 SkSurfaceCharacterization characterization;
1250 if (!gpuSurface->characterize(&characterization)) {
1251 canvas->drawString("characterization unsupported", 20, 40, paint);
1255 SkDeferredDisplayListRecorder recorder(characterization);
1280 SkSurfaceCharacterization characterization;
1281 if (!gpuSurface->characterize(&characterization)) {
1282 canvas->drawString("characterization unsupported", 20, 40, paint);
1286 SkDeferredDisplayListRecorder recorder(characterization);
/external/aac/libFDK/include/
DFDK_archdef.h223 #warning >>>> Please set architecture characterization defines for your platform (FDK_HIGH_PERFORMA…

12