Searched refs:releaseCallback (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/docs/examples/ |
D | Image_MakeFromTexture_2.cpp | 12 auto releaseCallback = [](SkImage::ReleaseContext releaseContext) -> void { in draw() local 20 releaseCallback, &x); in draw()
|
/third_party/skia/tests/ |
D | LazyProxyTest.cpp | 258 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/ |
D | GrSurfaceProxy.cpp | 427 bool releaseCallback = false; in doLazyInstantiation() local 432 releaseCallback = surface && result.fReleaseCallback; in doLazyInstantiation() 468 if (releaseCallback) { in doLazyInstantiation()
|
D | GrSurfaceProxy.h | 83 bool releaseCallback = true, 85 : fSurface(std::move(surf)), fKeyMode(mode), fReleaseCallback(releaseCallback) {} in fSurface()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_GpuBase.cpp | 424 auto releaseCallback = sk_make_sp<GrRefCntedCallback>(fReleaseProc, textureContext); in MakePromiseImageLazyProxy() local 461 tex->addIdleProc(std::move(releaseCallback), releaseIdleState); in MakePromiseImageLazyProxy()
|