#include <cinttypes>
#include <emscripten/threading.h>
#include "flutter/display_list/image/dl_image.h"
#include "flutter/skwasm/surface.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkPicture.h"
Go to the source code of this file.
|
| bool | skwasm_isSingleThreaded () |
| |
| void | skwasm_setAssociatedObjectOnThread (unsigned long thread_id, void *pointer, SkwasmObject object) |
| |
| SkwasmObject | skwasm_getAssociatedObject (void *pointer) |
| |
| void | skwasm_disposeAssociatedObjectOnThread (unsigned long thread_id, void *pointer) |
| |
| void | skwasm_connectThread (pthread_t thread_id) |
| |
| void | skwasm_dispatchRenderPictures (unsigned long thread_id, Skwasm::Surface *surface, sk_sp< flutter::DisplayList > *pictures, int width, int height, int count, uint32_t callback_id) |
| |
| uint32_t | skwasm_createOffscreenCanvas (int width, int height) |
| |
| void | skwasm_resizeCanvas (uint32_t context_handle, int width, int height) |
| |
| SkwasmObject | skwasm_captureImageBitmap (uint32_t context_handle, SkwasmObject image_bitmaps) |
| |
| void | skwasm_resolveAndPostImages (Skwasm::Surface *surface, SkwasmObject image_bitmaps, double raster_start, uint32_t callback_id) |
| |
| unsigned int | skwasm_createGlTextureFromTextureSource (SkwasmObject texture_source, int width, int height) |
| |
| void | skwasm_dispatchDisposeSurface (unsigned long thread_id, Skwasm::Surface *surface) |
| |
| void | skwasm_dispatchRasterizeImage (unsigned long thread_id, Skwasm::Surface *surface, flutter::DlImage *image, Skwasm::ImageByteFormat format, uint32_t callback_id) |
| |
| void | skwasm_postRasterizeResult (Skwasm::Surface *surface, SkData *data, uint32_t callback_id) |
| |
◆ SkwasmObject
◆ skwasm_captureImageBitmap()
◆ skwasm_connectThread()
| void skwasm_connectThread |
( |
pthread_t |
thread_id | ) |
|
|
extern |
◆ skwasm_createGlTextureFromTextureSource()
| unsigned int skwasm_createGlTextureFromTextureSource |
( |
SkwasmObject |
texture_source, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
extern |
◆ skwasm_createOffscreenCanvas()
| uint32_t skwasm_createOffscreenCanvas |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
extern |
◆ skwasm_dispatchDisposeSurface()
| void skwasm_dispatchDisposeSurface |
( |
unsigned long |
thread_id, |
|
|
Skwasm::Surface * |
surface |
|
) |
| |
|
extern |
◆ skwasm_dispatchRasterizeImage()
◆ skwasm_dispatchRenderPictures()
| void skwasm_dispatchRenderPictures |
( |
unsigned long |
thread_id, |
|
|
Skwasm::Surface * |
surface, |
|
|
sk_sp< flutter::DisplayList > * |
pictures, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
count, |
|
|
uint32_t |
callback_id |
|
) |
| |
|
extern |
◆ skwasm_disposeAssociatedObjectOnThread()
| void skwasm_disposeAssociatedObjectOnThread |
( |
unsigned long |
thread_id, |
|
|
void * |
pointer |
|
) |
| |
|
extern |
◆ skwasm_getAssociatedObject()
◆ skwasm_isSingleThreaded()
| bool skwasm_isSingleThreaded |
( |
| ) |
|
|
extern |
◆ skwasm_postRasterizeResult()
| void skwasm_postRasterizeResult |
( |
Skwasm::Surface * |
surface, |
|
|
SkData * |
data, |
|
|
uint32_t |
callback_id |
|
) |
| |
|
extern |
◆ skwasm_resizeCanvas()
| void skwasm_resizeCanvas |
( |
uint32_t |
context_handle, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
extern |
◆ skwasm_resolveAndPostImages()
◆ skwasm_setAssociatedObjectOnThread()
| void skwasm_setAssociatedObjectOnThread |
( |
unsigned long |
thread_id, |
|
|
void * |
pointer, |
|
|
SkwasmObject |
object |
|
) |
| |
|
extern |