Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkImage.h108 , fReleaseProc(nullptr) in Resource()
116 : fReleaseProc(nullptr) in Resource()
123 SkASSERT(!fReleaseProc); in ~Resource()
132 fReleaseProc = proc; in setRelease()
136 mutable ReleaseProc fReleaseProc;
142 SkASSERT(!fReleaseProc); in abandonGPUData()
160 if (fReleaseProc) { in invokeReleaseProc()
161 fReleaseProc(fReleaseCtx); in invokeReleaseProc()
162 fReleaseProc = nullptr; in invokeReleaseProc()
DGrVkImage.cpp161 SkASSERT(!fReleaseProc); in freeGPUData()
/external/skia/src/gpu/gl/
DGrGLTexture.h41 SkASSERT(!fReleaseProc); in ~GrGLTexture()
49 fReleaseProc = proc; in setRelease()
91 if (fReleaseProc) { in invokeReleaseProc()
92 fReleaseProc(fReleaseCtx); in invokeReleaseProc()
93 fReleaseProc = nullptr; in invokeReleaseProc()
105 ReleaseProc fReleaseProc = nullptr; variable
/external/skia/src/gpu/mock/
DGrMockTexture.h23 if (fReleaseProc) { in ~GrMockTexture()
24 fReleaseProc(fReleaseCtx); in ~GrMockTexture()
32 fReleaseProc = proc; in setRelease()
44 , fReleaseProc(nullptr) in GrMockTexture()
49 ReleaseProc fReleaseProc; variable
/external/skia/src/core/
DSkData.cpp18 fReleaseProc = proc; in SkData()
28 fReleaseProc = nullptr; in SkData()
33 if (fReleaseProc) { in ~SkData()
34 fReleaseProc(fPtr, fReleaseProcContext); in ~SkData()
DSkMallocPixelRef.cpp150 , fReleaseProc(proc) in SkMallocPixelRef()
156 if (fReleaseProc != nullptr) { in ~SkMallocPixelRef()
157 fReleaseProc(this->pixels(), fReleaseProcContext); in ~SkMallocPixelRef()
DSkCanvas.cpp2977 return bm->installPixels(info, rec.fPixels, rec.fRowBytes, rec.fReleaseProc, rec.fReleaseCtx); in install()
/external/skia/include/core/
DSkRasterHandleAllocator.h46 void (*fReleaseProc)(void* pixels, void* ctx); member
DSkMallocPixelRef.h108 ReleaseProc fReleaseProc; variable
DSkData.h162 ReleaseProc fReleaseProc; variable
/external/skia/samplecode/
DSampleBigGradient.cpp131 rec->fReleaseProc = [](void* pixels, void* ctx){ CGContextRelease((CGContextRef)ctx); }; in allocHandle()
215 rec->fReleaseProc = DeleteHDCCallback; in Create()