Home
last modified time | relevance | path

Searched refs:sk_cfp (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/include/ports/
DSkCFObject.h37 template <typename T> class sk_cfp {
41 constexpr sk_cfp() {} in sk_cfp() function
42 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() function
48 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() function
55 sk_cfp(sk_cfp<T>&& that) : fObject(that.release()) {} in sk_cfp() function
61 explicit sk_cfp(T obj) { in sk_cfp() function
68 ~sk_cfp() { in ~sk_cfp()
73 sk_cfp<T>& operator=(std::nullptr_t) { this->reset(); return *this; }
80 sk_cfp<T>& operator=(const sk_cfp<T>& that) {
92 sk_cfp<T>& operator=(sk_cfp<T>&& that) {
[all …]
/third_party/skia/src/ports/
DSkOSFile_ios.h24 sk_cfp<CFURLRef> pathURL(CFURLCreateFromFileSystemRepresentation(/*allocator=*/nullptr, in ios_get_path_in_bundle()
28 sk_cfp<CFStringRef> pathRef(CFURLCopyFileSystemPath(pathURL.get(), kCFURLPOSIXPathStyle)); in ios_get_path_in_bundle()
31 sk_cfp<CFURLRef> fileURL(CFBundleCopyResourceURL(mainBundle, pathRef.get(), in ios_get_path_in_bundle()
41 sk_cfp<CFStringRef> filePath(CFURLCopyFileSystemPath(fileURL.get(), kCFURLPOSIXPathStyle)); in ios_get_path_in_bundle()
/third_party/skia/experimental/graphite/src/mtl/
DMtlGpu.h33 Gpu(sk_cfp<id<MTLDevice>>, sk_cfp<id<MTLCommandQueue>>, sk_sp<const Caps>);
42 sk_cfp<id<MTLDevice>> fDevice;
43 sk_cfp<id<MTLCommandQueue>> fQueue;
DMtlBlitCommandEncoder.h26 sk_cfp<id<MTLBlitCommandEncoder>> encoder = in Make()
64 BlitCommandEncoder(sk_cfp<id<MTLBlitCommandEncoder>> encoder) in BlitCommandEncoder()
67 sk_cfp<id<MTLBlitCommandEncoder>> fCommandEncoder;
DMtlGpu.mm17 sk_cfp<id<MTLDevice>> device = sk_ret_cfp((id<MTLDevice>)(context.fDevice.get()));
18 sk_cfp<id<MTLCommandQueue>> queue = sk_ret_cfp((id<MTLCommandQueue>)(context.fQueue.get()));
25 Gpu::Gpu(sk_cfp<id<MTLDevice>> device, sk_cfp<id<MTLCommandQueue>> queue, sk_sp<const Caps> caps)
DMtlBuffer.h28 Buffer(size_t size, BufferType type, PrioritizeGpuReads, sk_cfp<id<MTLBuffer>>);
33 sk_cfp<id<MTLBuffer>> fBuffer;
DMtlTexture.h32 sk_cfp<id<MTLTexture>> texture);
34 sk_cfp<id<MTLTexture>> fTexture;
DMtlGraphicsPipeline.h39 GraphicsPipeline(sk_cfp<id<MTLRenderPipelineState>> pso, in GraphicsPipeline()
46 sk_cfp<id<MTLRenderPipelineState>> fPipelineState;
DMtlTexture.mm19 sk_cfp<id<MTLTexture>> texture)
34 sk_cfp<MTLTextureDescriptor*> desc([[MTLTextureDescriptor alloc] init]);
46 sk_cfp<id<MTLTexture>> texture([gpu->device() newTextureWithDescriptor:desc.get()]);
DMtlCommandBuffer.h51 CommandBuffer(sk_cfp<id<MTLCommandBuffer>> cmdBuffer, const Gpu* gpu);
81 sk_cfp<id<MTLCommandBuffer>> fCommandBuffer;
DMtlBuffer.mm53 sk_cfp<id<MTLBuffer>> buffer([gpu->device() newBufferWithLength: size options: options]);
64 sk_cfp<id<MTLBuffer>> buffer)
DMtlUtils.mm55 sk_cfp<id<MTLLibrary>> CompileShaderLibrary(const Gpu* gpu,
75 sk_cfp<id<MTLLibrary>> compiledLibrary([gpu->device() newLibraryWithSource:nsSource
DMtlCommandBuffer.mm22 sk_cfp<id<MTLCommandBuffer>> cmdBuffer;
25 sk_cfp<MTLCommandBufferDescriptor*> desc([[MTLCommandBufferDescriptor alloc] init]);
47 CommandBuffer::CommandBuffer(sk_cfp<id<MTLCommandBuffer>> cmdBuffer, const Gpu* gpu)
89 sk_cfp<MTLRenderPassDescriptor*> descriptor([[MTLRenderPassDescriptor alloc] init]);
DMtlRenderCommandEncoder.h26 sk_cfp<id<MTLRenderCommandEncoder>> encoder = in Make()
247 RenderCommandEncoder(sk_cfp<id<MTLRenderCommandEncoder>> encoder) in RenderCommandEncoder()
250 sk_cfp<id<MTLRenderCommandEncoder>> fCommandEncoder;
DMtlUtils.h31 sk_cfp<id<MTLLibrary>> CompileShaderLibrary(const Gpu* gpu,
/third_party/skia/include/gpu/mtl/
DGrMtlBackendContext.h16 sk_cfp<GrMTLHandle> fDevice;
17 sk_cfp<GrMTLHandle> fQueue;
18 sk_cfp<GrMTLHandle> fBinaryArchive;
DGrMtlTypes.h42 sk_cfp<GrMTLHandle> fTexture;
/third_party/skia/experimental/graphite/include/mtl/
DMtlBackendContext.h18 sk_cfp<CFTypeRef> fDevice;
19 sk_cfp<CFTypeRef> fQueue;
/third_party/skia/experimental/graphite/include/
DBackendTexture.h24 BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture);
38 sk_cfp<mtl::Handle> fMtlTexture;
/third_party/skia/tools/gpu/mtl/
DMtlTestContext.mm28 sk_cfp<id<MTLDevice>> device;
30 sk_cfp<NSArray<id <MTLDevice>>*> availableDevices(MTLCopyAllDevices());
49 sk_cfp<id<MTLCommandQueue>> queue([*device newCommandQueue]);
/third_party/skia/tools/sk_app/
DGraphiteMetalWindowContext.h48 sk_cfp<id<MTLDevice>> fDevice;
49 sk_cfp<id<MTLCommandQueue>> fQueue;
DMetalWindowContext.h50 sk_cfp<id<MTLDevice>> fDevice;
51 sk_cfp<id<MTLCommandQueue>> fQueue;
/third_party/skia/tools/graphite/mtl/
DMtlTestContext.mm20 sk_cfp<id<MTLDevice>> device;
22 sk_cfp<NSArray<id <MTLDevice>>*> availableDevices(MTLCopyAllDevices());
/third_party/skia/experimental/graphite/src/
DBackendTexture.cpp13 BackendTexture::BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture) in BackendTexture()
/third_party/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm37 sk_cfp<EAGLContext*> fEAGLContext;

12