Home
last modified time | relevance | path

Searched refs:sk_surface_t (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/c/
Dsk_surface.h29 SK_API sk_surface_t* sk_surface_new_raster(const sk_imageinfo_t*, const sk_surfaceprops_t*);
48 SK_API sk_surface_t* sk_surface_new_raster_direct(const sk_imageinfo_t*,
58 SK_API void sk_surface_unref(sk_surface_t*);
64 SK_API sk_canvas_t* sk_surface_get_canvas(sk_surface_t*);
69 SK_API sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*);
Dsk_types.h167 typedef struct sk_surface_t sk_surface_t; typedef
/external/skia/experimental/c-api-example/
Dskia-c-example.c16 static sk_surface_t* make_surface(int32_t w, int32_t h) { in make_surface()
25 static void emit_png(const char* path, sk_surface_t* surface) { in emit_png()
75 sk_surface_t* surface = make_surface(640, 480); in main()
Dc.md37 static sk_surface_t* make_surface(int32_t w, int32_t h) {
46 static void emit_png(const char* path, sk_surface_t* surface) {
96 sk_surface_t* surface = make_surface(640, 480);
/external/skia/tests/
DCTest.cpp18 sk_surface_t* surface = sk_surface_new_raster(&info, nullptr); in shader_test()
64 sk_surface_t* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t), in test_c()
/external/skia/src/c/
Dsk_surface.cpp424 sk_surface_t* sk_surface_new_raster(const sk_imageinfo_t* cinfo, in sk_surface_new_raster()
436 return (sk_surface_t*)SkSurface::NewRaster(info, &surfProps); in sk_surface_new_raster()
439 sk_surface_t* sk_surface_new_raster_direct(const sk_imageinfo_t* cinfo, void* pixels, in sk_surface_new_raster_direct()
452 return (sk_surface_t*)SkSurface::NewRasterDirect(info, pixels, rowBytes, &surfProps); in sk_surface_new_raster_direct()
455 void sk_surface_unref(sk_surface_t* csurf) { in sk_surface_unref()
459 sk_canvas_t* sk_surface_get_canvas(sk_surface_t* csurf) { in sk_surface_get_canvas()
464 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t* csurf) { in sk_surface_new_image_snapshot()
/external/skia/gm/
Dcgm.c57 sk_surface_t* surf = sk_surface_new_raster(&info, &surfaceProps); in sk_test_c_api()