LMMS
Loading...
Searching...
No Matches
PuglBackendImpl Struct Reference

Graphics backend interface. More...

#include <types.h>

Public Attributes

PUGL_WARN_UNUSED_RESULT PuglStatus(* configure )(PuglView *)
 Get visual information from display and setup view as necessary.
PUGL_WARN_UNUSED_RESULT PuglStatus(* create )(PuglView *)
 Create surface and drawing context.
void(* destroy )(PuglView *)
 Destroy surface and drawing context.
PUGL_WARN_UNUSED_RESULT PuglStatus(* enter )(PuglView *, const PuglExposeEvent *)
 Enter drawing context, for drawing if expose is non-null.
PUGL_WARN_UNUSED_RESULT PuglStatus(* leave )(PuglView *, const PuglExposeEvent *)
 Leave drawing context, after drawing if expose is non-null.
void *(* getContext )(PuglView *)
 Return the puglGetContext() handle for the application, if any.

Detailed Description

Graphics backend interface.

Member Data Documentation

◆ configure

PUGL_WARN_UNUSED_RESULT PuglStatus(* PuglBackendImpl::configure) (PuglView *)

Get visual information from display and setup view as necessary.

◆ create

PUGL_WARN_UNUSED_RESULT PuglStatus(* PuglBackendImpl::create) (PuglView *)

Create surface and drawing context.

◆ destroy

void(* PuglBackendImpl::destroy) (PuglView *)

Destroy surface and drawing context.

◆ enter

Enter drawing context, for drawing if expose is non-null.

◆ getContext

void *(* PuglBackendImpl::getContext) (PuglView *)

Return the puglGetContext() handle for the application, if any.

◆ leave

Leave drawing context, after drawing if expose is non-null.


The documentation for this struct was generated from the following file: