OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sk_surface_t
(Results
1 - 6
of
6
) sorted by null
/external/skia/include/c/
sk_surface.h
29
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*,
55
sk_surface_t
and any pixel memory it may be managing. New
56
sk_surface_t
are created with a reference count of 1.
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
*);
sk_types.h
163
A
sk_surface_t
holds the destination for drawing to a canvas. For
167
typedef struct
sk_surface_t
sk_surface_t
;
typedef in typeref:struct:sk_surface_t
/external/skia/experimental/c-api-example/
skia-c-example.c
16
static
sk_surface_t
* make_surface(int32_t w, int32_t h) {
25
static void emit_png(const char* path,
sk_surface_t
* surface) {
75
sk_surface_t
* surface = make_surface(640, 480);
/external/skia/tests/
CTest.cpp
18
sk_surface_t
* surface = sk_surface_new_raster(&info, nullptr);
64
sk_surface_t
* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t),
/external/skia/gm/
cgm.c
57
sk_surface_t
* surf = sk_surface_new_raster(&info, &surfaceProps);
/external/skia/src/c/
sk_surface.cpp
424
sk_surface_t
* sk_surface_new_raster(const sk_imageinfo_t* cinfo,
436
return (
sk_surface_t
*)SkSurface::NewRaster(info, &surfProps);
439
sk_surface_t
* sk_surface_new_raster_direct(const sk_imageinfo_t* cinfo, void* pixels,
452
return (
sk_surface_t
*)SkSurface::NewRasterDirect(info, pixels, rowBytes, &surfProps);
455
void sk_surface_unref(
sk_surface_t
* csurf) {
459
sk_canvas_t* sk_surface_get_canvas(
sk_surface_t
* csurf) {
464
sk_image_t* sk_surface_new_image_snapshot(
sk_surface_t
* csurf) {
Completed in 880 milliseconds