LMMS
Loading...
Searching...
No Matches
wasm_gl.c File Reference
#include "stub.h"
#include "wasm.h"
#include "pugl/pugl.h"
#include <stdio.h>
#include <stdlib.h>
#include <EGL/egl.h>

Classes

struct  PuglWasmGlSurface

Functions

static EGLint puglWasmGlHintValue (const int value)
static int puglWasmGlGetAttrib (const EGLDisplay display, const EGLConfig config, const EGLint attrib)
static PuglStatus puglWasmGlConfigure (PuglView *view)
static PUGL_WARN_UNUSED_RESULT PuglStatus puglWasmGlEnter (PuglView *view, const PuglExposeEvent *PUGL_UNUSED(expose))
static PUGL_WARN_UNUSED_RESULT PuglStatus puglWasmGlLeave (PuglView *view, const PuglExposeEvent *expose)
static PuglStatus puglWasmGlCreate (PuglView *view)
static void puglWasmGlDestroy (PuglView *view)
const PuglBackendpuglGlBackend (void)

Function Documentation

◆ puglWasmGlConfigure()

PuglStatus puglWasmGlConfigure ( PuglView * view)
static

◆ puglWasmGlCreate()

PuglStatus puglWasmGlCreate ( PuglView * view)
static

◆ puglWasmGlDestroy()

void puglWasmGlDestroy ( PuglView * view)
static

◆ puglWasmGlEnter()

PUGL_WARN_UNUSED_RESULT PuglStatus puglWasmGlEnter ( PuglView * view,
const PuglExposeEvent * PUGL_UNUSEDexpose )
static

◆ puglWasmGlGetAttrib()

int puglWasmGlGetAttrib ( const EGLDisplay display,
const EGLConfig config,
const EGLint attrib )
static

◆ puglWasmGlHintValue()

EGLint puglWasmGlHintValue ( const int value)
static

◆ puglWasmGlLeave()

PUGL_WARN_UNUSED_RESULT PuglStatus puglWasmGlLeave ( PuglView * view,
const PuglExposeEvent * expose )
static