Home
last modified time | relevance | path

Searched refs:fReleaseProc (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/core/
DSkData.cpp17 : fReleaseProc(proc) in SkData()
27 : fReleaseProc(nullptr) in SkData()
34 if (fReleaseProc) { in ~SkData()
35 fReleaseProc(fPtr, fReleaseProcContext); in ~SkData()
DSkPixelRef.cpp142 void (*fReleaseProc)(void*, void*); in SkMakePixelRefWithProc() member
145 : SkPixelRef(w, h, s, r), fReleaseProc(proc), fReleaseProcContext(ctx) {} in SkMakePixelRefWithProc()
146 ~PixelRef() override { fReleaseProc(this->pixels(), fReleaseProcContext); } in SkMakePixelRefWithProc()
DSkCanvas.cpp2630 return bm->installPixels(info, rec.fPixels, rec.fRowBytes, rec.fReleaseProc, rec.fReleaseCtx); in install()
/external/skqp/src/core/
DSkData.cpp19 fReleaseProc = proc; in SkData()
29 fReleaseProc = nullptr; in SkData()
34 if (fReleaseProc) { in ~SkData()
35 fReleaseProc(fPtr, fReleaseProcContext); in ~SkData()
DSkMallocPixelRef.cpp140 , fReleaseProc(proc) in SkMallocPixelRef()
146 if (fReleaseProc != nullptr) { in ~SkMallocPixelRef()
147 fReleaseProc(this->pixels(), fReleaseProcContext); in ~SkMallocPixelRef()
DSkCanvas.cpp2900 return bm->installPixels(info, rec.fPixels, rec.fRowBytes, rec.fReleaseProc, rec.fReleaseCtx); in install()
/external/skia/gm/
Drasterhandleallocator.cpp71 rec->fReleaseProc = [](void* pixels, void* ctx){ SkSafeUnref((SkSurface*)ctx); }; in allocHandle()
133 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
218 rec->fReleaseProc = [](void*, void* context) { in Create()
/external/skqp/include/core/
DSkRasterHandleAllocator.h46 void (*fReleaseProc)(void* pixels, void* ctx); member
DSkMallocPixelRef.h84 ReleaseProc fReleaseProc; variable
DSkData.h162 ReleaseProc fReleaseProc; variable
/external/skia/docs/examples/
DCanvas_accessTopRasterHandle.cpp15 rec->fReleaseProc = DeleteCallback; in allocHandle()
/external/skia/include/core/
DSkRasterHandleAllocator.h46 void (*fReleaseProc)(void* pixels, void* ctx); member
DSkData.h162 ReleaseProc fReleaseProc; variable
/external/skqp/src/image/
DSkImage_GpuBase.cpp553 : fReleaseProc(releaseProc) in MakePromiseImageLazyProxy()
561 fReleaseProc(fTextureContext); in MakePromiseImageLazyProxy()
571 PromiseImageTextureReleaseProc fReleaseProc; in MakePromiseImageLazyProxy() member in SkImage_GpuBase::MakePromiseImageLazyProxy::PromiseLazyInstantiateCallback::IdleContext::PromiseImageReleaseContext
/external/skqp/samplecode/
DSampleBigGradient.cpp129 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
215 rec->fReleaseProc = DeleteHDCCallback; in Create()
/external/skqp/include/private/
DGrTypesPriv.h1557 GrReleaseProcHelper(ReleaseProc proc, ReleaseCtx ctx) : fReleaseProc(proc), fReleaseCtx(ctx) { in GrReleaseProcHelper()
1560 ~GrReleaseProcHelper() override { fReleaseProc(fReleaseCtx); } in ~GrReleaseProcHelper()
1563 ReleaseProc fReleaseProc;
/external/skia/include/private/
DGrTypesPriv.h1295 ~GrRefCntedCallback() { fReleaseProc(fReleaseCtx); } in ~GrRefCntedCallback()
1300 GrRefCntedCallback(Callback proc, Context ctx) : fReleaseProc(proc), fReleaseCtx(ctx) {} in GrRefCntedCallback()
1306 Callback fReleaseProc; variable
/external/skqp/docs/
DSkCanvas_Reference.bmh595 rec->fReleaseProc = DeleteCallback;