Home
last modified time | relevance | path

Searched refs:releaseCallback (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/docs/examples/
DImage_MakeFromTexture_2.cpp12 auto releaseCallback = [](SkImage::ReleaseContext releaseContext) -> void { in draw() local
20 releaseCallback, &x); in draw()
/third_party/skia/tests/
DLazyProxyTest.cpp258 for (bool releaseCallback : {false, true}) {
263 TestCallback(int* value, bool releaseCallback, sk_sp<GrTexture> tex) in TestCallback() argument
265 , fReleaseCallback(releaseCallback) in TestCallback()
295 TestCallback(&testCount, releaseCallback, tex), format, {kSize, kSize},
305 if (releaseCallback) {
/third_party/skia/src/gpu/
DGrSurfaceProxy.cpp427 bool releaseCallback = false; in doLazyInstantiation() local
432 releaseCallback = surface && result.fReleaseCallback; in doLazyInstantiation()
468 if (releaseCallback) { in doLazyInstantiation()
DGrSurfaceProxy.h83 bool releaseCallback = true,
85 : fSurface(std::move(surf)), fKeyMode(mode), fReleaseCallback(releaseCallback) {} in fSurface()
/third_party/flutter/skia/src/image/
DSkImage_GpuBase.cpp424 auto releaseCallback = sk_make_sp<GrRefCntedCallback>(fReleaseProc, textureContext); in MakePromiseImageLazyProxy() local
461 tex->addIdleProc(std::move(releaseCallback), releaseIdleState); in MakePromiseImageLazyProxy()