/third_party/skia/include/ports/ |
D | SkCFObject.h | 37 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/ |
D | SkOSFile_ios.h | 24 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/ |
D | MtlGpu.h | 33 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;
|
D | MtlBlitCommandEncoder.h | 26 sk_cfp<id<MTLBlitCommandEncoder>> encoder = in Make() 64 BlitCommandEncoder(sk_cfp<id<MTLBlitCommandEncoder>> encoder) in BlitCommandEncoder() 67 sk_cfp<id<MTLBlitCommandEncoder>> fCommandEncoder;
|
D | MtlGpu.mm | 17 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)
|
D | MtlBuffer.h | 28 Buffer(size_t size, BufferType type, PrioritizeGpuReads, sk_cfp<id<MTLBuffer>>); 33 sk_cfp<id<MTLBuffer>> fBuffer;
|
D | MtlTexture.h | 32 sk_cfp<id<MTLTexture>> texture); 34 sk_cfp<id<MTLTexture>> fTexture;
|
D | MtlGraphicsPipeline.h | 39 GraphicsPipeline(sk_cfp<id<MTLRenderPipelineState>> pso, in GraphicsPipeline() 46 sk_cfp<id<MTLRenderPipelineState>> fPipelineState;
|
D | MtlTexture.mm | 19 sk_cfp<id<MTLTexture>> texture) 34 sk_cfp<MTLTextureDescriptor*> desc([[MTLTextureDescriptor alloc] init]); 46 sk_cfp<id<MTLTexture>> texture([gpu->device() newTextureWithDescriptor:desc.get()]);
|
D | MtlCommandBuffer.h | 51 CommandBuffer(sk_cfp<id<MTLCommandBuffer>> cmdBuffer, const Gpu* gpu); 81 sk_cfp<id<MTLCommandBuffer>> fCommandBuffer;
|
D | MtlBuffer.mm | 53 sk_cfp<id<MTLBuffer>> buffer([gpu->device() newBufferWithLength: size options: options]); 64 sk_cfp<id<MTLBuffer>> buffer)
|
D | MtlUtils.mm | 55 sk_cfp<id<MTLLibrary>> CompileShaderLibrary(const Gpu* gpu, 75 sk_cfp<id<MTLLibrary>> compiledLibrary([gpu->device() newLibraryWithSource:nsSource
|
D | MtlCommandBuffer.mm | 22 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]);
|
D | MtlRenderCommandEncoder.h | 26 sk_cfp<id<MTLRenderCommandEncoder>> encoder = in Make() 247 RenderCommandEncoder(sk_cfp<id<MTLRenderCommandEncoder>> encoder) in RenderCommandEncoder() 250 sk_cfp<id<MTLRenderCommandEncoder>> fCommandEncoder;
|
D | MtlUtils.h | 31 sk_cfp<id<MTLLibrary>> CompileShaderLibrary(const Gpu* gpu,
|
/third_party/skia/include/gpu/mtl/ |
D | GrMtlBackendContext.h | 16 sk_cfp<GrMTLHandle> fDevice; 17 sk_cfp<GrMTLHandle> fQueue; 18 sk_cfp<GrMTLHandle> fBinaryArchive;
|
D | GrMtlTypes.h | 42 sk_cfp<GrMTLHandle> fTexture;
|
/third_party/skia/experimental/graphite/include/mtl/ |
D | MtlBackendContext.h | 18 sk_cfp<CFTypeRef> fDevice; 19 sk_cfp<CFTypeRef> fQueue;
|
/third_party/skia/experimental/graphite/include/ |
D | BackendTexture.h | 24 BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture); 38 sk_cfp<mtl::Handle> fMtlTexture;
|
/third_party/skia/tools/gpu/mtl/ |
D | MtlTestContext.mm | 28 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/ |
D | GraphiteMetalWindowContext.h | 48 sk_cfp<id<MTLDevice>> fDevice; 49 sk_cfp<id<MTLCommandQueue>> fQueue;
|
D | MetalWindowContext.h | 50 sk_cfp<id<MTLDevice>> fDevice; 51 sk_cfp<id<MTLCommandQueue>> fQueue;
|
/third_party/skia/tools/graphite/mtl/ |
D | MtlTestContext.mm | 20 sk_cfp<id<MTLDevice>> device; 22 sk_cfp<NSArray<id <MTLDevice>>*> availableDevices(MTLCopyAllDevices());
|
/third_party/skia/experimental/graphite/src/ |
D | BackendTexture.cpp | 13 BackendTexture::BackendTexture(SkISize dimensions, sk_cfp<mtl::Handle> mtlTexture) in BackendTexture()
|
/third_party/skia/tools/gpu/gl/iOS/ |
D | CreatePlatformGLTestContext_iOS.mm | 37 sk_cfp<EAGLContext*> fEAGLContext;
|