2023-04-17 08:56:38 +00:00
|
|
|
[
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_image_size",
|
|
|
|
"cname": "mg_image_size",
|
|
|
|
"ret": {"name": "vec2", "tag": "S"},
|
|
|
|
"args": [ {"name": "image",
|
|
|
|
"type": {"name": "mg_image", "tag": "S"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_image_create",
|
|
|
|
"cname": "mg_image_create",
|
|
|
|
"ret": {"name": "mg_image", "tag": "S"},
|
|
|
|
"args": [ {"name": "surface",
|
|
|
|
"type": {"name": "mg_surface", "tag": "S"}},
|
|
|
|
{"name": "width",
|
|
|
|
"type": {"name": "u32", "tag": "i"}},
|
|
|
|
{"name": "height",
|
|
|
|
"type": {"name": "u32", "tag": "i"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_image_destroy",
|
|
|
|
"cname": "mg_image_destroy",
|
2023-04-17 08:56:38 +00:00
|
|
|
"ret": {"name": "void", "tag": "v"},
|
2023-04-26 12:57:12 +00:00
|
|
|
"args": [ {"name": "image",
|
|
|
|
"type": {"name": "mg_image", "tag": "S"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_image_upload_region_rgba8",
|
|
|
|
"cname": "mg_image_upload_region_rgba8",
|
2023-04-17 08:56:38 +00:00
|
|
|
"ret": {"name": "void", "tag": "v"},
|
|
|
|
"args": [
|
2023-04-26 12:57:12 +00:00
|
|
|
{"name": "image",
|
|
|
|
"type": {"name": "mg_image", "tag": "S"}},
|
|
|
|
{"name": "region",
|
|
|
|
"type": {"name": "mp_rect", "tag": "S"}},
|
|
|
|
{"name": "pixels",
|
|
|
|
"type": {"name": "u8*", "tag": "p"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_surface_prepare",
|
|
|
|
"cname": "mg_surface_prepare",
|
2023-04-17 08:56:38 +00:00
|
|
|
"ret": {"name": "void", "tag": "v"},
|
|
|
|
"args": [
|
2023-04-26 12:57:12 +00:00
|
|
|
{"name": "surface",
|
|
|
|
"type": {"name": "mg_surface", "tag": "S"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_surface_present",
|
|
|
|
"cname": "mg_surface_present",
|
2023-04-17 08:56:38 +00:00
|
|
|
"ret": {"name": "void", "tag": "v"},
|
|
|
|
"args": [
|
2023-04-26 12:57:12 +00:00
|
|
|
{"name": "surface",
|
|
|
|
"type": {"name": "mg_surface", "tag": "S"}}]
|
2023-04-17 08:56:38 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-26 12:57:12 +00:00
|
|
|
"name": "mg_surface_render_commands",
|
|
|
|
"cname": "orca_surface_render_commands",
|
2023-04-17 08:56:38 +00:00
|
|
|
"ret": {"name": "void", "tag": "v"},
|
|
|
|
"args": [
|
2023-04-26 12:57:12 +00:00
|
|
|
{"name": "surface",
|
|
|
|
"type": {"name": "mg_surface", "tag": "S"}},
|
|
|
|
{"name": "clearColor",
|
|
|
|
"type": {"name": "mg_color", "tag": "S"}},
|
|
|
|
{"name": "primitiveCount",
|
|
|
|
"type": {"name": "u32", "tag": "i"}},
|
|
|
|
{"name": "primitives",
|
|
|
|
"type": {"name": "mg_primitive*", "tag": "p"}},
|
|
|
|
{"name": "eltCount",
|
|
|
|
"type": {"name": "u32", "tag": "i"}},
|
|
|
|
{"name": "elements",
|
|
|
|
"type": {"name": "mg_path_elt*", "tag": "p"}}]
|
2023-08-03 09:37:32 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mg_surface_canvas",
|
|
|
|
"cname": "orca_surface_canvas",
|
|
|
|
"ret": {"name": "mg_surface", "tag": "S"},
|
|
|
|
"args": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mg_surface_gles",
|
|
|
|
"cname": "orca_surface_gles",
|
|
|
|
"ret": {"name": "mg_surface", "tag": "S"},
|
|
|
|
"args": []
|
|
|
|
}
|
|
|
|
]
|