5#ifndef FLUTTER_LIB_WEB_UI_SKWASM_WRAPPERS_H_
6#define FLUTTER_LIB_WEB_UI_SKWASM_WRAPPERS_H_
8#include <emscripten/html5_webgl.h>
22inline void makeCurrent(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE handle) {
26 int result = emscripten_webgl_make_context_current(handle);
27 if (
result != EMSCRIPTEN_RESULT_SUCCESS) {
std::string printf(const char *fmt,...) SK_PRINTF_LIKE(1
void makeCurrent(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE handle)
sk_sp< skia::textlayout::TypefaceFontProvider > provider
sk_sp< skia::textlayout::FontCollection > collection
sk_sp< GrDirectContext > grContext
sk_sp< SkSurface > surface
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context