Searched refs:sk_cfp (Results 1 – 11 of 11) sorted by relevance
33 template <typename T> class sk_cfp {37 constexpr sk_cfp() {} in sk_cfp() function38 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() function44 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() function51 sk_cfp(sk_cfp<T>&& that) : fObject(that.release()) {} in sk_cfp() function57 explicit sk_cfp(T obj) { in sk_cfp() function64 ~sk_cfp() { in ~sk_cfp()69 sk_cfp<T>& operator=(std::nullptr_t) { this->reset(); return *this; }76 sk_cfp<T>& operator=(const sk_cfp<T>& that) {88 sk_cfp<T>& operator=(sk_cfp<T>&& that) {[all …]
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()
16 sk_cfp<GrMTLHandle> fDevice;17 sk_cfp<GrMTLHandle> fQueue;18 sk_cfp<GrMTLHandle> fBinaryArchive;
40 sk_cfp<GrMTLHandle> fTexture;
28 sk_cfp<id<MTLDevice>> device;30 sk_cfp<NSArray<id <MTLDevice>>*> availableDevices(MTLCopyAllDevices());49 sk_cfp<id<MTLCommandQueue>> queue([*device newCommandQueue]);
49 sk_cfp<id<MTLDevice>> fDevice;50 sk_cfp<id<MTLCommandQueue>> fQueue;
62 sk_cfp<MTLBinaryArchiveDescriptor*> desc([MTLBinaryArchiveDescriptor new]);
37 sk_cfp<EAGLContext*> fEAGLContext;
57 * Renamed use of sk_cf_obj in external Metal types to sk_cfp.
44 * Renamed use of sk_cf_obj in external Metal types to sk_cfp.
718 // sk_cfp. It would be useful to have a (possibly-internal-only?) API to get the raw pointer.