Home
last modified time | relevance | path

Searched refs:sk_image_t (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/c/
Dsk_image.h22 sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t*, const void* pixels, size_t rowBytes);
31 sk_image_t* sk_image_new_from_data(const sk_data_t* encoded);
33 sk_data_t* sk_image_encode(const sk_image_t*);
35 void sk_image_ref(const sk_image_t*);
36 void sk_image_unref(const sk_image_t*);
37 int sk_image_get_width(const sk_image_t*);
38 int sk_image_get_height(const sk_image_t*);
39 uint32_t sk_image_get_unique_id(const sk_image_t*);
Dsk_canvas.h36 void sk_canvas_draw_image(sk_canvas_t*, const sk_image_t*, float x, float y, const sk_paint_t*);
37 void sk_canvas_draw_image_rect(sk_canvas_t*, const sk_image_t*, const sk_rect_t* src,
Dsk_types.h83 typedef struct sk_image_t sk_image_t; typedef
Dsk_surface.h31 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*);
/external/skia/src/c/
Dsk_surface.cpp153 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage()
157 static sk_image_t* ToImage(SkImage* cimage) { in ToImage()
158 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
201 sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t* cinfo, const void* pixels, in sk_image_new_raster_copy()
207 return (sk_image_t*)SkImage::NewRasterCopy(info, pixels, rowBytes); in sk_image_new_raster_copy()
210 sk_image_t* sk_image_new_from_data(const sk_data_t* cdata) { in sk_image_new_from_data()
214 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode()
218 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref()
222 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref()
226 int sk_image_get_width(const sk_image_t* cimage) { in sk_image_get_width()
[all …]
/external/skia/gm/
Dcgm.c59 sk_image_t* img0 = sk_surface_new_image_snapshot(surf); in sk_test_c_api()
67 sk_image_t* img1 = sk_image_new_from_data(data); in sk_test_c_api()