Searched refs:idleProc (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkTexture.cpp | 205 void GrVkTexture::addIdleProc(sk_sp<GrRefCntedCallback> idleProc, IdleState type) { in addIdleProc() argument 206 INHERITED::addIdleProc(idleProc, type); in addIdleProc() 209 resource->addIdleProc(this, std::move(idleProc)); in addIdleProc() 222 SkASSERT(fIdleProcs[i] == this->resource()->idleProc(i)); in callIdleProcsOnBehalfOfResource() 250 fIdleProcs[i] = resource->idleProc(i); in willRemoveLastRef() 265 if (fIdleProcs[i] == resource->idleProc(resourceIdx)) { in removeFinishIdleProcs()
|
D | GrVkImage.cpp | 282 sk_sp<GrRefCntedCallback> idleProc) const { in addIdleProc() 285 fIdleProcs.push_back(std::move(idleProc)); in addIdleProc() 290 sk_sp<GrRefCntedCallback> GrVkImage::Resource::idleProc(int i) const { return fIdleProcs[i]; } in idleProc() function in GrVkImage::Resource
|
D | GrVkImage.h | 202 sk_sp<GrRefCntedCallback> idleProc(int) const;
|
/external/skia/include/gpu/ |
D | GrTexture.h | 60 virtual void addIdleProc(sk_sp<GrRefCntedCallback> idleProc, IdleState) { in addIdleProc() argument 63 fIdleProcs.push_back(std::move(idleProc)); in addIdleProc()
|
/external/skia/tests/ |
D | GrSurfaceTest.cpp | 706 auto idleProc = [](void* texture) { reinterpret_cast<GrTexture*>(texture)->unref(); }; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 715 idleTexture->addIdleProc(idleProc, otherTexture.get(), idleState); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 729 auto idleProc = [](void* context) { reinterpret_cast<GrContext*>(context)->flush(); }; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 734 idleTexture->addIdleProc(idleProc, context, idleState); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 764 auto idleProc = [](void* texture) { reinterpret_cast<GrTexture*>(texture)->ref(); }; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 774 idleTexture->addIdleProc(idleProc, idleTexture.get(), idleState); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|