Home
last modified time | relevance | path

Searched refs:cimage (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/c/
Dsk_surface.cpp100 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage() argument
101 return reinterpret_cast<const SkImage*>(cimage); in AsImage()
104 static sk_image_t* ToImage(SkImage* cimage) { in ToImage() argument
105 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
149 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode() argument
150 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()
153 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref() argument
154 AsImage(cimage)->ref(); in sk_image_ref()
157 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref() argument
158 AsImage(cimage)->unref(); in sk_image_unref()
[all …]
/external/skia/src/c/
Dsk_surface.cpp100 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage() argument
101 return reinterpret_cast<const SkImage*>(cimage); in AsImage()
104 static sk_image_t* ToImage(SkImage* cimage) { in ToImage() argument
105 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
149 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode() argument
150 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()
153 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref() argument
154 AsImage(cimage)->ref(); in sk_image_ref()
157 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref() argument
158 AsImage(cimage)->unref(); in sk_image_unref()
[all …]