Home
last modified time | relevance | path

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

/external/skia/include/ports/
DSkCFObject.h33 template <typename T> class sk_cfp {
37 constexpr sk_cfp() {} in sk_cfp() function
38 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() function
44 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() function
51 sk_cfp(sk_cfp<T>&& that) : fObject(that.release()) {} in sk_cfp() function
57 explicit sk_cfp(T obj) { in sk_cfp() function
64 ~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 …]
/external/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()
/external/skia/include/gpu/mtl/
DGrMtlBackendContext.h16 sk_cfp<GrMTLHandle> fDevice;
17 sk_cfp<GrMTLHandle> fQueue;
18 sk_cfp<GrMTLHandle> fBinaryArchive;
DGrMtlTypes.h40 sk_cfp<GrMTLHandle> fTexture;
/external/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]);
/external/skia/tools/sk_app/
DMetalWindowContext.h49 sk_cfp<id<MTLDevice>> fDevice;
50 sk_cfp<id<MTLCommandQueue>> fQueue;
DMetalWindowContext.mm62 sk_cfp<MTLBinaryArchiveDescriptor*> desc([MTLBinaryArchiveDescriptor new]);
/external/skia/tools/gpu/gl/iOS/
DCreatePlatformGLTestContext_iOS.mm37 sk_cfp<EAGLContext*> fEAGLContext;
/external/skia/
DRELEASE_NOTES.txt57 * Renamed use of sk_cf_obj in external Metal types to sk_cfp.
/external/skia/site/docs/user/release/
Drelease_notes.md44 * Renamed use of sk_cf_obj in external Metal types to sk_cfp.
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm718 // sk_cfp. It would be useful to have a (possibly-internal-only?) API to get the raw pointer.