Home
last modified time | relevance | path

Searched refs:deleteImageProc (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp133 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in makeView() local
143 &deleteImageProc, in makeView()
152 SkASSERT(deleteImageProc && texImageCtx); in makeView()
166 deleteImageProc(texImageCtx); in makeView()
170 if (deleteImageProc) { in makeView()
171 tex->setRelease(deleteImageProc, texImageCtx); in makeView()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp156 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in makeProxy() local
163 &deleteImageProc, in makeProxy()
172 SkASSERT(deleteImageProc && texImageCtx); in makeProxy()
181 deleteImageProc(texImageCtx); in makeProxy()
185 if (deleteImageProc) { in makeProxy()
186 tex->setRelease(deleteImageProc, texImageCtx); in makeProxy()
/third_party/flutter/skia/src/image/
DSkImage_Gpu.cpp552 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in MakeFromAHardwareBufferWithData() local
559 &deleteImageProc, &updateImageProc, in MakeFromAHardwareBufferWithData()
564 SkASSERT(deleteImageProc); in MakeFromAHardwareBufferWithData()
573 deleteImageProc(deleteImageCtx); in MakeFromAHardwareBufferWithData()
580 kRW_GrIOType, deleteImageProc, deleteImageCtx); in MakeFromAHardwareBufferWithData()
582 deleteImageProc(deleteImageCtx); in MakeFromAHardwareBufferWithData()
DSkSurface_Gpu.cpp742 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in MakeFromAHardwareBuffer() local
749 &deleteImageProc, &updateImageProc, in MakeFromAHardwareBuffer()
760 origin, 0, colorType, std::move(colorSpace), surfaceProps, deleteImageProc, in MakeFromAHardwareBuffer()
764 SkASSERT(deleteImageProc); in MakeFromAHardwareBuffer()
765 deleteImageProc(deleteImageCtx); in MakeFromAHardwareBuffer()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp662 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in MakeFromAHardwareBuffer() local
672 &deleteImageProc, &updateImageProc, in MakeFromAHardwareBuffer()
683 origin, 0, colorType, std::move(colorSpace), surfaceProps, deleteImageProc, in MakeFromAHardwareBuffer()
687 SkASSERT(deleteImageProc); in MakeFromAHardwareBuffer()
688 deleteImageProc(deleteImageCtx); in MakeFromAHardwareBuffer()
DSkImage_Gpu.cpp711 GrAHardwareBufferUtils::DeleteImageProc deleteImageProc = nullptr; in MakeFromAHardwareBufferWithData() local
720 &deleteImageProc, &updateImageProc, in MakeFromAHardwareBufferWithData()
726 SkASSERT(deleteImageProc); in MakeFromAHardwareBufferWithData()
728 auto releaseHelper = GrRefCntedCallback::Make(deleteImageProc, deleteImageCtx); in MakeFromAHardwareBufferWithData()