/third_party/skia/tools/gpu/ |
H A D | ManagedBackendTexture.h | 20 class ManagedBackendTexture : public SkNVRefCnt<ManagedBackendTexture> { class 25 * proc/context omitted as the ManagedBackendTexture will provide them. 28 static sk_sp<ManagedBackendTexture> MakeWithData(GrDirectContext*, Args&&...); 39 static sk_sp<ManagedBackendTexture> MakeWithoutData(GrDirectContext*, Args&&...); 42 static sk_sp<ManagedBackendTexture> MakeFromInfo(GrDirectContext* dContext, 48 static sk_sp<ManagedBackendTexture> MakeFromBitmap(GrDirectContext*, 54 static sk_sp<ManagedBackendTexture> MakeFromPixmap(GrDirectContext*, 63 ~ManagedBackendTexture(); 86 static void* MakeYUVAReleaseContext(const sk_sp<ManagedBackendTexture>[SkYUVAInf [all...] |
H A D | ManagedBackendTexture.cpp | 8 #include "tools/gpu/ManagedBackendTexture.h" 20 sk_sp<sk_gpu_test::ManagedBackendTexture> fMBETs[SkYUVAInfo::kMaxPlanes]; 27 void ManagedBackendTexture::ReleaseProc(void* ctx) { in ReleaseProc() 34 ManagedBackendTexture::~ManagedBackendTexture() { in ~ManagedBackendTexture() 40 void* ManagedBackendTexture::releaseContext(GrGpuFinishedProc wrappedProc, in releaseContext() 47 void* ManagedBackendTexture::MakeYUVAReleaseContext( in MakeYUVAReleaseContext() 48 const sk_sp<ManagedBackendTexture> mbets[SkYUVAInfo::kMaxPlanes]) { in MakeYUVAReleaseContext() 56 sk_sp<GrRefCntedCallback> ManagedBackendTexture::refCountedCallback() const { in refCountedCallback() 60 void ManagedBackendTexture [all...] |
H A D | BackendTextureImageFactory.cpp | 15 #include "tools/gpu/ManagedBackendTexture.h" 22 auto mbet = ManagedBackendTexture::MakeWithData(dContext, in MakeBackendTextureImage() 36 ManagedBackendTexture::ReleaseProc, in MakeBackendTextureImage() 52 auto mbet = ManagedBackendTexture::MakeWithData(dContext, in MakeBackendTextureImage() 69 ManagedBackendTexture::ReleaseProc, in MakeBackendTextureImage()
|
H A D | BackendSurfaceFactory.cpp | 14 #include "tools/gpu/ManagedBackendTexture.h" 28 auto mbet = ManagedBackendTexture::MakeWithoutData(dContext, in MakeBackendTextureSurface() 45 ManagedBackendTexture::ReleaseProc, in MakeBackendTextureSurface()
|
H A D | YUVUtils.cpp | 22 #include "tools/gpu/ManagedBackendTexture.h" 297 sk_sp<sk_gpu_test::ManagedBackendTexture> mbets[SkYUVAInfo::kMaxPlanes]; in ensureYUVImage() 300 mbets[i] = sk_gpu_test::ManagedBackendTexture::MakeWithData( in ensureYUVImage() 319 sk_gpu_test::ManagedBackendTexture::MakeYUVAReleaseContext(mbets); in ensureYUVImage() 324 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in ensureYUVImage()
|
/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.h | 28 class ManagedBackendTexture; 31 extern sk_sp<sk_gpu_test::ManagedBackendTexture> backEndTexture; 33 extern sk_sp<sk_gpu_test::ManagedBackendTexture> backEndTextureRenderTarget;
|
H A D | fiddle_main.cpp | 30 #include "tools/gpu/ManagedBackendTexture.h" 34 sk_sp<sk_gpu_test::ManagedBackendTexture> backEndTexture; 35 sk_sp<sk_gpu_test::ManagedBackendTexture> backEndTextureRenderTarget; 154 backEndTexture = sk_gpu_test::ManagedBackendTexture::MakeFromPixmap(dContext, in setup_backend_objects() 197 backEndTextureRenderTarget = sk_gpu_test::ManagedBackendTexture::MakeWithData( in setup_backend_objects()
|
/third_party/skia/tests/ |
H A D | BackendAllocationTest.cpp | 22 #include "tools/gpu/ManagedBackendTexture.h" 37 using sk_gpu_test::ManagedBackendTexture; 42 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_wrapping() 52 sk_sp<ManagedBackendTexture> mbet = create(dContext, mipMapped, renderable); in test_wrapping() 310 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_color_init() 318 sk_sp<ManagedBackendTexture> mbet = create(dContext, color, mipmapped, renderable); in test_color_init() 348 ManagedBackendTexture::ReleaseProc, in test_color_init() 467 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_pixmap_init() 490 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init() 539 ManagedBackendTexture in test_pixmap_init() [all...] |
H A D | VkBackendSurfaceTest.cpp | 30 #include "tools/gpu/ManagedBackendTexture.h" 42 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 91 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 127 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
H A D | VkWrapTests.cpp | 26 #include "tools/gpu/ManagedBackendTexture.h" 37 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in wrap_tex_test() 143 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in wrap_trt_test()
|
H A D | GrMipMappedTest.cpp | 36 #include "tools/gpu/ManagedBackendTexture.h" 54 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithData(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 78 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 90 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | ProxyTest.cpp | 24 #include "tools/gpu/ManagedBackendTexture.h" 268 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(direct, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 296 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(direct, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | SurfaceTest.cpp | 35 #include "tools/gpu/ManagedBackendTexture.h" 924 sk_sp<sk_gpu_test::ManagedBackendTexture> mbet; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 934 mbet = sk_gpu_test::ManagedBackendTexture::MakeFromInfo(ctx, ii, GrMipmapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 948 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1019 auto mbet1 = sk_gpu_test::ManagedBackendTexture::MakeFromInfo( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1024 auto mbet2 = sk_gpu_test::ManagedBackendTexture::MakeFromInfo( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1031 auto mbet3 = sk_gpu_test::ManagedBackendTexture::MakeFromInfo( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | EGLImageTest.cpp | 20 #include "tools/gpu/ManagedBackendTexture.h" 86 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | GrSurfaceTest.cpp | 27 #include "tools/gpu/ManagedBackendTexture.h" 358 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithData( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 417 mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | DeferredDisplayListTest.cpp | 45 #include "tools/gpu/ManagedBackendTexture.h" 849 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 889 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1054 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeFromInfo(context, ii); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | PromiseImageTest.cpp | 19 #include "tools/gpu/ManagedBackendTexture.h" 234 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(ctx, in DEF_GPUTEST()
|
H A D | TextureProxyTest.cpp | 24 #include "tools/gpu/ManagedBackendTexture.h" 101 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in create_wrapped_backend()
|
H A D | ImageTest.cpp | 41 #include "tools/gpu/ManagedBackendTexture.h" 500 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 842 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData(dContext, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 863 sk_gpu_test::ManagedBackendTexture::ReleaseProc, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | ResourceAllocatorTest.cpp | 21 #include "tools/gpu/ManagedBackendTexture.h" 75 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in make_backend()
|
H A D | GrPorterDuffTest.cpp | 19 #include "tools/gpu/ManagedBackendTexture.h" 1075 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST()
|
H A D | ResourceCacheTest.cpp | 27 #include "tools/gpu/ManagedBackendTexture.h" 195 auto mbet = sk_gpu_test::ManagedBackendTexture::MakeWithoutData( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|