/external/skia/src/core/ |
D | SkScopeExit.h | 17 class SkScopeExit { 19 SkScopeExit() = default; 20 SkScopeExit(std::function<void()> f) : fFn(std::move(f)) {} in SkScopeExit() function 21 SkScopeExit(SkScopeExit&& that) : fFn(std::move(that.fFn)) {} in SkScopeExit() function 23 ~SkScopeExit() { in ~SkScopeExit() 31 SkScopeExit& operator=(SkScopeExit&& that) { 39 SkScopeExit( const SkScopeExit& ) = delete; 40 SkScopeExit& operator=(const SkScopeExit& ) = delete; 57 SkScopeExit SK_MACRO_APPEND_LINE(at_scope_exit_)([&]() { stmt; })
|
/external/skqp/src/core/ |
D | SkScopeExit.h | 17 class SkScopeExit { 19 SkScopeExit(std::function<void()> f) : fFn(std::move(f)) {} in SkScopeExit() function 20 SkScopeExit(SkScopeExit&& that) : fFn(std::move(that.fFn)) {} in SkScopeExit() function 22 ~SkScopeExit() { in ~SkScopeExit() 30 SkScopeExit& operator=(SkScopeExit&& that) { 38 SkScopeExit( const SkScopeExit& ) = delete; 39 SkScopeExit& operator=(const SkScopeExit& ) = delete; 56 SkScopeExit SK_MACRO_APPEND_LINE(at_scope_exit_)([&]() { stmt; })
|
/external/skia/tools/gpu/ |
D | TestContext.cpp | 41 SkScopeExit TestContext::makeCurrentAndAutoRestore() const { in makeCurrentAndAutoRestore() 42 auto asr = SkScopeExit(this->onPlatformGetAutoContextRestore()); in makeCurrentAndAutoRestore()
|
D | TestContext.h | 61 SkScopeExit SK_WARN_UNUSED_RESULT makeCurrentAndAutoRestore() const;
|
D | GrContextFactory.cpp | 67 SkScopeExit restore(nullptr); in destroyContexts() 116 SkScopeExit restore(nullptr); in releaseResourcesAndAbandonContexts()
|
/external/skqp/tools/gpu/ |
D | TestContext.cpp | 40 SkScopeExit TestContext::makeCurrentAndAutoRestore() const { in makeCurrentAndAutoRestore() 41 auto asr = SkScopeExit(this->onPlatformGetAutoContextRestore()); in makeCurrentAndAutoRestore()
|
D | TestContext.h | 60 SkScopeExit SK_WARN_UNUSED_RESULT makeCurrentAndAutoRestore() const;
|
D | GrContextFactory.cpp | 60 SkScopeExit restore(nullptr); in destroyContexts() 101 SkScopeExit restore(nullptr); in releaseResourcesAndAbandonContexts()
|
/external/skia/gm/ |
D | asyncrescaleandread.cpp | 62 SkFilterQuality quality, SkScopeExit* cleanup) { in do_read_and_scale_yuv() 133 SkScopeExit cleanup; in do_rescale_grid() 238 SkScopeExit scopeExit;
|
/external/skqp/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 68 SkScopeExit restorer(context_restorer()); in MacGLTestContext()
|
/external/skia/tools/gpu/gl/mac/ |
D | CreatePlatformGLTestContext_mac.cpp | 69 SkScopeExit restorer(context_restorer()); in MacGLTestContext()
|
/external/skqp/tools/gpu/gl/iOS/ |
D | CreatePlatformGLTestContext_iOS.mm | 57 SkScopeExit restorer(context_restorer());
|
/external/skqp/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 133 SkScopeExit restorer(context_restorer()); in WinGLTestContext()
|
/external/skia/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 134 SkScopeExit restorer(context_restorer()); in WinGLTestContext()
|
/external/skia/tools/gpu/gl/iOS/ |
D | CreatePlatformGLTestContext_iOS.mm | 58 SkScopeExit restorer(context_restorer());
|
/external/skia/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 235 SkScopeExit restorer(context_restorer()); in GLXGLTestContext()
|
/external/skqp/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 234 SkScopeExit restorer(context_restorer()); in GLXGLTestContext()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 220 SkScopeExit freeTex([&backendTex, context] { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1015 SkScopeExit delete1( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1023 SkScopeExit delete2( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1032 SkScopeExit delete3( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/src/image/ |
D | SkImage_GpuYUVA.cpp | 275 SkScopeExit callDone([promiseDoneProc, textureContexts, numTextures, &proxiesCreated]() { in MakePromiseYUVATexture()
|
/external/skqp/tools/gpu/gl/angle/ |
D | GLTestContext_angle.cpp | 230 SkScopeExit restorer(context_restorer()); in ANGLEGLContext()
|
/external/skqp/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 191 SkScopeExit restorer(context_restorer()); in EGLGLTestContext()
|
/external/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 285 SkScopeExit restorer(context_restorer()); in CommandBufferGLTestContext()
|
/external/skqp/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 285 SkScopeExit restorer(context_restorer()); in CommandBufferGLTestContext()
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 336 SkScopeExit callDone([promiseDoneProc, textureContexts, numTextures, &proxiesCreated]() { in MakePromiseYUVATexture()
|
/external/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 198 SkScopeExit restorer(context_restorer()); in EGLGLTestContext()
|