#include <emscripten/threading.h>
#include <cinttypes>
#include "third_party/skia/include/core/SkPicture.h"
Go to the source code of this file.
|
void | skwasm_setAssociatedObjectOnThread (unsigned long threadId, void *pointer, SkwasmObject object) |
|
SkwasmObject | skwasm_getAssociatedObject (void *pointer) |
|
void | skwasm_disposeAssociatedObjectOnThread (unsigned long threadId, void *pointer) |
|
void | skwasm_registerMessageListener (pthread_t threadId) |
|
void | skwasm_syncTimeOriginForThread (pthread_t threadId) |
|
void | skwasm_dispatchRenderPictures (unsigned long threadId, Skwasm::Surface *surface, sk_sp< SkPicture > *pictures, int count, uint32_t callbackId) |
|
uint32_t | skwasm_createOffscreenCanvas (int width, int height) |
|
void | skwasm_resizeCanvas (uint32_t contextHandle, int width, int height) |
|
SkwasmObject | skwasm_captureImageBitmap (uint32_t contextHandle, int width, int height, SkwasmObject imagePromises) |
|
void | skwasm_resolveAndPostImages (Skwasm::Surface *surface, SkwasmObject imagePromises, double rasterStart, uint32_t callbackId) |
|
unsigned int | skwasm_createGlTextureFromTextureSource (SkwasmObject textureSource, int width, int height) |
|
◆ SkwasmObject
◆ skwasm_captureImageBitmap()
◆ skwasm_createGlTextureFromTextureSource()
unsigned int skwasm_createGlTextureFromTextureSource |
( |
SkwasmObject |
textureSource, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ skwasm_createOffscreenCanvas()
uint32_t skwasm_createOffscreenCanvas |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ skwasm_dispatchRenderPictures()
◆ skwasm_disposeAssociatedObjectOnThread()
void skwasm_disposeAssociatedObjectOnThread |
( |
unsigned long |
threadId, |
|
|
void * |
pointer |
|
) |
| |
◆ skwasm_getAssociatedObject()
◆ skwasm_registerMessageListener()
void skwasm_registerMessageListener |
( |
pthread_t |
threadId | ) |
|
◆ skwasm_resizeCanvas()
void skwasm_resizeCanvas |
( |
uint32_t |
contextHandle, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ skwasm_resolveAndPostImages()
◆ skwasm_setAssociatedObjectOnThread()
void skwasm_setAssociatedObjectOnThread |
( |
unsigned long |
threadId, |
|
|
void * |
pointer, |
|
|
SkwasmObject |
object |
|
) |
| |
◆ skwasm_syncTimeOriginForThread()
void skwasm_syncTimeOriginForThread |
( |
pthread_t |
threadId | ) |
|