Home
last modified time | relevance | path

Searched refs:releaseProc (Results 1 – 25 of 32) sorted by relevance

12

/external/skqp/src/image/
DSkSurface_Raster.cpp18 void (*releaseProc)(void* pixels, void* context), void* context,
71 void (*releaseProc)(void* pixels, void* context), void* context, in SkSurface_Raster()
75 fBitmap.installPixels(info, pixels, rb, releaseProc, context); in SkSurface_Raster()
166 size_t rb, void (*releaseProc)(void* pixels, void* context), void* context, in MakeRasterDirectReleaseProc()
168 if (nullptr == releaseProc) { in MakeRasterDirectReleaseProc()
178 return sk_make_sp<SkSurface_Raster>(info, pixels, rb, releaseProc, context, props); in MakeRasterDirectReleaseProc()
DSkImage_GpuBase.cpp372 PromiseImageTextureReleaseProc releaseProc, in MakePromiseImageLazyProxy() argument
381 if (!fulfillProc || !releaseProc) { in MakePromiseImageLazyProxy()
414 PromiseImageTextureReleaseProc releaseProc, in MakePromiseImageLazyProxy() argument
424 releaseProc, context, std::move(doneHelper)); in MakePromiseImageLazyProxy()
550 PromiseImageReleaseContext(PromiseImageTextureReleaseProc releaseProc, in MakePromiseImageLazyProxy() argument
553 : fReleaseProc(releaseProc) in MakePromiseImageLazyProxy()
603 } callback(fulfillProc, releaseProc, doneProc, textureContext, delayReleaseCallback, config); in MakePromiseImageLazyProxy()
DSkImage_Gpu.cpp109 SkImage::TextureReleaseProc releaseProc, in new_wrapped_texture_common() argument
118 kRead_GrIOType, releaseProc, releaseCtx); in new_wrapped_texture_common()
576 BackendTextureReleaseProc* releaseProc) { in MakeBackendTextureFromSkImage() argument
577 if (!image || !ctx || !backendTexture || !releaseProc) { in MakeBackendTextureFromSkImage()
632 return GrTexture::StealBackendTexture(std::move(textureRef), backendTexture, releaseProc); in MakeBackendTextureFromSkImage()
/external/skia/src/image/
DSkSurface_Raster.cpp18 void (*releaseProc)(void* pixels, void* context), void* context,
71 void (*releaseProc)(void* pixels, void* context), void* context, in SkSurface_Raster()
75 fBitmap.installPixels(info, pixels, rb, releaseProc, context); in SkSurface_Raster()
166 size_t rb, void (*releaseProc)(void* pixels, void* context), void* context, in MakeRasterDirectReleaseProc()
168 if (nullptr == releaseProc) { in MakeRasterDirectReleaseProc()
178 return sk_make_sp<SkSurface_Raster>(info, pixels, rb, releaseProc, context, props); in MakeRasterDirectReleaseProc()
DSkImage_GpuBase.cpp387 PromiseImageTextureReleaseProc releaseProc, in MakePromiseImageLazyProxy() argument
395 if (!fulfillProc || !releaseProc) { in MakePromiseImageLazyProxy()
425 PromiseImageTextureReleaseProc releaseProc, in MakePromiseImageLazyProxy() argument
431 fIdleCallback = sk_make_sp<GrRefCntedCallback>(releaseProc, context); in MakePromiseImageLazyProxy()
526 } callback(fulfillProc, releaseProc, doneProc, textureContext, config); in MakePromiseImageLazyProxy()
DSkImage_Gpu.cpp119 SkImage::TextureReleaseProc releaseProc, in new_wrapped_texture_common() argument
128 kRead_GrIOType, releaseProc, releaseCtx); in new_wrapped_texture_common()
684 BackendTextureReleaseProc* releaseProc) { in MakeBackendTextureFromSkImage() argument
685 if (!image || !ctx || !backendTexture || !releaseProc) { in MakeBackendTextureFromSkImage()
740 return GrTexture::StealBackendTexture(std::move(textureRef), backendTexture, releaseProc); in MakeBackendTextureFromSkImage()
/external/skia/src/gpu/
DGrProxyProvider.cpp470 ReleaseProc releaseProc, in wrapBackendTexture() argument
491 if (releaseProc) { in wrapBackendTexture()
492 tex->setRelease(releaseProc, releaseCtx); in wrapBackendTexture()
504 GrWrapOwnership ownership, GrWrapCacheable cacheable, ReleaseProc releaseProc, in wrapRenderableBackendTexture() argument
529 if (releaseProc) { in wrapRenderableBackendTexture()
530 tex->setRelease(releaseProc, releaseCtx); in wrapRenderableBackendTexture()
541 const GrBackendRenderTarget& backendRT, GrSurfaceOrigin origin, ReleaseProc releaseProc, in wrapBackendRenderTarget() argument
560 if (releaseProc) { in wrapBackendRenderTarget()
561 rt->setRelease(releaseProc, releaseCtx); in wrapBackendRenderTarget()
DGrTexture.cpp51 SkImage::BackendTextureReleaseProc* releaseProc) { in StealBackendTexture() argument
56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) { in StealBackendTexture()
DGrContextPriv.cpp123 ReleaseProc releaseProc, in makeBackendTextureRenderTargetContext() argument
129 tex, origin, sampleCnt, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo, releaseProc, in makeBackendTextureRenderTargetContext()
144 ReleaseProc releaseProc, in makeBackendRenderTargetRenderTargetContext() argument
149 backendRT, origin, releaseProc, releaseCtx); in makeBackendRenderTargetRenderTargetContext()
/external/skqp/src/ports/
DSkFontMgr_fuchsia.cpp31 std::function<void()> releaseProc; member
33 ReleaseSkDataContext(uint64_t bufferSize, const std::function<void()>& releaseProc) in ReleaseSkDataContext()
34 : fBufferSize(bufferSize), releaseProc(releaseProc) {} in ReleaseSkDataContext()
41 releaseSkDataContext->releaseProc(); in ReleaseSkData()
/external/skia/src/ports/
DSkFontMgr_fuchsia.cpp31 std::function<void()> releaseProc; member
33 ReleaseSkDataContext(uint64_t bufferSize, const std::function<void()>& releaseProc) in ReleaseSkDataContext()
34 : fBufferSize(bufferSize), releaseProc(releaseProc) {} in ReleaseSkDataContext()
41 releaseSkDataContext->releaseProc(); in ReleaseSkData()
/external/skqp/src/gpu/
DGrTexture.cpp51 SkImage::BackendTextureReleaseProc* releaseProc) { in StealBackendTexture() argument
56 if (!texture->onStealBackendTexture(backendTexture, releaseProc)) { in StealBackendTexture()
DGrProxyProvider.cpp456 ReleaseProc releaseProc, in wrapBackendTexture() argument
475 if (releaseProc) { in wrapBackendTexture()
476 releaseHelper.reset(new GrReleaseProcHelper(releaseProc, releaseCtx)); in wrapBackendTexture()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp124 SkImage::BackendTextureReleaseProc* releaseProc) { in onStealBackendTexture() argument
127 *releaseProc = [](GrBackendTexture){}; in onStealBackendTexture()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp122 SkImage::BackendTextureReleaseProc* releaseProc) { in onStealBackendTexture() argument
125 *releaseProc = [](GrBackendTexture){}; in onStealBackendTexture()
/external/skqp/src/core/
DSkBitmap.cpp278 void (*releaseProc)(void* addr, void* context), void* context) { in installPixels()
280 invoke_release_proc(releaseProc, pixels, context); in installPixels()
285 invoke_release_proc(releaseProc, pixels, context); in installPixels()
293 releaseProc, context); in installPixels()
/external/skia/include/core/
DSkSurface.h104 void (*releaseProc)(void* pixels, void* context),
257 RenderTargetReleaseProc releaseProc = nullptr,
DSkBitmap.h607 void (*releaseProc)(void* addr, void* context), void* context);
/external/skia/src/core/
DSkBitmap.cpp310 void (*releaseProc)(void* addr, void* context), void* context) { in installPixels()
312 invoke_release_proc(releaseProc, pixels, context); in installPixels()
317 invoke_release_proc(releaseProc, pixels, context); in installPixels()
325 releaseProc, context); in installPixels()
/external/skqp/include/core/
DSkSurface.h99 void (*releaseProc)(void* pixels, void* context),
DSkBitmap.h621 void (*releaseProc)(void* addr, void* context), void* context);
/external/skia/tests/
DGrSurfaceTest.cpp657 auto releaseProc = [](void* isReleased) { *reinterpret_cast<bool*>(isReleased) = true; }; in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
665 idleTexture->setRelease(releaseProc, &isReleased); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
/external/skia/docs/
DSkBitmap_Reference.bmh1444 void (*releaseProc)(void* addr, void* context), void* context)
1451 releaseProc is called immediately because rowBytes is too small for Pixel_Ref.
1454 static void releaseProc(void* addr, void* ) {
1455 SkDebugf("releaseProc called\n");
1466 bool installed = bitmap.installPixels(info, pixels, 16, releaseProc, nullptr);
1471 releaseProc called
/external/skqp/docs/
DSkBitmap_Reference.bmh1444 void (*releaseProc)(void* addr, void* context), void* context)
1451 releaseProc is called immediately because rowBytes is too small for Pixel_Ref.
1454 static void releaseProc(void* addr, void* ) {
1455 SkDebugf("releaseProc called\n");
1466 bool installed = bitmap.installPixels(info, pixels, 16, releaseProc, nullptr);
1471 releaseProc called
/external/skqp/site/user/api/
DSkBitmap_Reference.md64 void (*releaseProc)(void* addr, void* context), void* context);
1953 …Info</a>& info, void* pixels, size_t <a href='#SkBitmap_rowBytes'>rowBytes</a>, void (*releaseProc)
1958 …_rowBytes'>rowBytes</a>. <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a>, if not nul…
1963 calls <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a> if present, calls <a href='#SkB…
1965 …kImageInfo'>SkImageInfo</a>, calls <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a> if
1968 …</a> is not nullptr, and <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a> is not null…
1969 …longer referenced, calls <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a> with <a hre…
1983 …<tr> <td><a name='SkBitmap_installPixels_releaseProc'><code><strong>releaseProc</strong></code>…
1987 …<td>caller state passed to <a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a>; may be n…
1997 …a812ee8e88e44e639c"><div><a href='#SkBitmap_installPixels_releaseProc'>releaseProc</a> is called i…
[all …]

12