Flutter Engine
The Flutter Engine
|
#include "surface.h"
#include <algorithm>
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLDirectContext.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLMakeWebGLInterface.h"
Go to the source code of this file.
Functions | |
SKWASM_EXPORT Surface * | surface_create () |
SKWASM_EXPORT unsigned long | surface_getThreadId (Surface *surface) |
SKWASM_EXPORT void | surface_setCallbackHandler (Surface *surface, Surface::CallbackHandler *callbackHandler) |
SKWASM_EXPORT void | surface_destroy (Surface *surface) |
SKWASM_EXPORT uint32_t | surface_renderPictures (Surface *surface, SkPicture **pictures, int count) |
SKWASM_EXPORT void | surface_renderPicturesOnWorker (Surface *surface, sk_sp< SkPicture > *pictures, int pictureCount, uint32_t callbackId, double rasterStart) |
SKWASM_EXPORT uint32_t | surface_rasterizeImage (Surface *surface, SkImage *image, ImageByteFormat format) |
SKWASM_EXPORT void | surface_onRenderComplete (Surface *surface, uint32_t callbackId, SkwasmObject imageBitmap) |
SKWASM_EXPORT Surface * surface_create | ( | ) |
Definition at line 233 of file surface.cpp.
SKWASM_EXPORT void surface_destroy | ( | Surface * | surface | ) |
Definition at line 247 of file surface.cpp.
SKWASM_EXPORT unsigned long surface_getThreadId | ( | Surface * | surface | ) |
Definition at line 237 of file surface.cpp.
SKWASM_EXPORT void surface_onRenderComplete | ( | Surface * | surface, |
uint32_t | callbackId, | ||
SkwasmObject | imageBitmap | ||
) |
Definition at line 277 of file surface.cpp.
SKWASM_EXPORT uint32_t surface_rasterizeImage | ( | Surface * | surface, |
SkImage * | image, | ||
ImageByteFormat | format | ||
) |
Definition at line 269 of file surface.cpp.
SKWASM_EXPORT uint32_t surface_renderPictures | ( | Surface * | surface, |
SkPicture ** | pictures, | ||
int | count | ||
) |
Definition at line 251 of file surface.cpp.
SKWASM_EXPORT void surface_renderPicturesOnWorker | ( | Surface * | surface, |
sk_sp< SkPicture > * | pictures, | ||
int | pictureCount, | ||
uint32_t | callbackId, | ||
double | rasterStart | ||
) |
Definition at line 257 of file surface.cpp.
SKWASM_EXPORT void surface_setCallbackHandler | ( | Surface * | surface, |
Surface::CallbackHandler * | callbackHandler | ||
) |
Definition at line 241 of file surface.cpp.