Searched refs:SkUniqueCFRef (Results 1 – 10 of 10) sorted by relevance
/external/skqp/src/ports/ |
D | SkFontHost_mac.cpp | 77 static SkUniqueCFRef<CFStringRef> make_CFString(const char s[]) { in make_CFString() 78 return SkUniqueCFRef<CFStringRef>(CFStringCreateWithCString(nullptr, s, kCFStringEncodingUTF8)); in make_CFString() 392 SkUniqueCFRef<CGColorSpaceRef> colorspace(CGColorSpaceCreateDeviceRGB()); in smooth_behavior() 393 SkUniqueCFRef<CGContextRef> noSmoothContext( in smooth_behavior() 396 SkUniqueCFRef<CGContextRef> smoothContext( in smooth_behavior() 400 SkUniqueCFRef<CGDataProviderRef> data( in smooth_behavior() 403 SkUniqueCFRef<CGFontRef> cgFont(CGFontCreateWithDataProvider(data.get())); in smooth_behavior() 405 SkUniqueCFRef<CTFontRef> ctFont( in smooth_behavior() 467 SkUniqueCFRef<CGColorSpaceRef> fRGBSpace; 470 SkUniqueCFRef<CGContextRef> fCG; [all …]
|
D | SkImageGeneratorCG.cpp | 28 ImageGeneratorCG(const SkImageInfo&, SkUniqueCFRef<CGImageSourceRef> imageSrc, 37 const SkUniqueCFRef<CGImageSourceRef> fImageSrc; 44 static SkUniqueCFRef<CGImageSourceRef> data_to_CGImageSrc(SkData* data) { in data_to_CGImageSrc() 45 SkUniqueCFRef<CGDataProviderRef> cgData( in data_to_CGImageSrc() 50 return SkUniqueCFRef<CGImageSourceRef>( in data_to_CGImageSrc() 57 SkUniqueCFRef<CGImageSourceRef> imageSrc = data_to_CGImageSrc(data.get()); in MakeFromEncodedCG() 62 SkUniqueCFRef<CFDictionaryRef> properties( in MakeFromEncodedCG() 107 ImageGeneratorCG::ImageGeneratorCG(const SkImageInfo& info, SkUniqueCFRef<CGImageSourceRef> src, in ImageGeneratorCG() 139 SkUniqueCFRef<CGImageRef> image(CGImageSourceCreateImageAtIndex(fImageSrc.get(), 0, nullptr)); in onGetPixels()
|
D | SkImageEncoder_CG.cpp | 41 static SkUniqueCFRef<CGDataConsumerRef> SkStreamToCGDataConsumer(SkWStream* stream) { in SkStreamToCGDataConsumer() 47 return SkUniqueCFRef<CGDataConsumerRef>(CGDataConsumerCreate(stream, &procs)); in SkStreamToCGDataConsumer() 50 static SkUniqueCFRef<CGImageDestinationRef> SkStreamToImageDestination(SkWStream* stream, in SkStreamToImageDestination() 52 SkUniqueCFRef<CGDataConsumerRef> consumer = SkStreamToCGDataConsumer(stream); in SkStreamToImageDestination() 57 return SkUniqueCFRef<CGImageDestinationRef>( in SkStreamToImageDestination() 104 SkUniqueCFRef<CGImageDestinationRef> dst = SkStreamToImageDestination(stream, type); in SkEncodeImageWithCG() 109 SkUniqueCFRef<CGImageRef> image(SkCreateCGImageRef(bm)); in SkEncodeImageWithCG()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 77 static SkUniqueCFRef<CFStringRef> make_CFString(const char s[]) { in make_CFString() 78 return SkUniqueCFRef<CFStringRef>(CFStringCreateWithCString(nullptr, s, kCFStringEncodingUTF8)); in make_CFString() 392 SkUniqueCFRef<CGColorSpaceRef> colorspace(CGColorSpaceCreateDeviceRGB()); in smooth_behavior() 393 SkUniqueCFRef<CGContextRef> noSmoothContext( in smooth_behavior() 396 SkUniqueCFRef<CGContextRef> smoothContext( in smooth_behavior() 400 SkUniqueCFRef<CGDataProviderRef> data( in smooth_behavior() 403 SkUniqueCFRef<CGFontRef> cgFont(CGFontCreateWithDataProvider(data.get())); in smooth_behavior() 405 SkUniqueCFRef<CTFontRef> ctFont( in smooth_behavior() 467 SkUniqueCFRef<CGColorSpaceRef> fRGBSpace; 470 SkUniqueCFRef<CGContextRef> fCG; [all …]
|
D | SkImageGeneratorCG.cpp | 28 ImageGeneratorCG(const SkImageInfo&, SkUniqueCFRef<CGImageSourceRef> imageSrc, 37 const SkUniqueCFRef<CGImageSourceRef> fImageSrc; 44 static SkUniqueCFRef<CGImageSourceRef> data_to_CGImageSrc(SkData* data) { in data_to_CGImageSrc() 45 SkUniqueCFRef<CGDataProviderRef> cgData( in data_to_CGImageSrc() 50 return SkUniqueCFRef<CGImageSourceRef>( in data_to_CGImageSrc() 57 SkUniqueCFRef<CGImageSourceRef> imageSrc = data_to_CGImageSrc(data.get()); in MakeFromEncodedCG() 62 SkUniqueCFRef<CFDictionaryRef> properties( in MakeFromEncodedCG() 107 ImageGeneratorCG::ImageGeneratorCG(const SkImageInfo& info, SkUniqueCFRef<CGImageSourceRef> src, in ImageGeneratorCG() 139 SkUniqueCFRef<CGImageRef> image(CGImageSourceCreateImageAtIndex(fImageSrc.get(), 0, nullptr)); in onGetPixels()
|
D | SkImageEncoder_CG.cpp | 41 static SkUniqueCFRef<CGDataConsumerRef> SkStreamToCGDataConsumer(SkWStream* stream) { in SkStreamToCGDataConsumer() 47 return SkUniqueCFRef<CGDataConsumerRef>(CGDataConsumerCreate(stream, &procs)); in SkStreamToCGDataConsumer() 50 static SkUniqueCFRef<CGImageDestinationRef> SkStreamToImageDestination(SkWStream* stream, in SkStreamToImageDestination() 52 SkUniqueCFRef<CGDataConsumerRef> consumer = SkStreamToCGDataConsumer(stream); in SkStreamToImageDestination() 57 return SkUniqueCFRef<CGImageDestinationRef>( in SkStreamToImageDestination() 104 SkUniqueCFRef<CGImageDestinationRef> dst = SkStreamToImageDestination(stream, type); in SkEncodeImageWithCG() 109 SkUniqueCFRef<CGImageRef> image(SkCreateCGImageRef(bm)); in SkEncodeImageWithCG()
|
/external/skia/src/utils/mac/ |
D | SkUniqueCFRef.h | 20 template <typename CFRef> using SkUniqueCFRef = variable
|
/external/skqp/src/utils/mac/ |
D | SkUniqueCFRef.h | 20 template <typename CFRef> using SkUniqueCFRef = variable
|
/external/skia/gn/ |
D | utils.gni | 77 "$_src/utils/mac/SkUniqueCFRef.h",
|
/external/skqp/gn/ |
D | utils.gni | 76 "$_src/utils/mac/SkUniqueCFRef.h",
|