FB Graphics
FBGraphics (FBG) : Simple C 16, 24, 32 bpp generic graphics library with parallelism support and custom backend.
Data Structures | Functions
fbg_dispmanx.h File Reference
#include <sys/ioctl.h>
#include <linux/fb.h>
#include <unistd.h>
#include <fcntl.h>
#include <GLES2/gl2.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "bcm_host.h"
#include "fbgraphics.h"

Go to the source code of this file.

Data Structures

struct  _fbg_dispmanx_context
 dispmanx wrapper data structure More...
 

Functions

struct _fbgfbg_dispmanxSetup (uint32_t displayNumber)
 initialize a FB Graphics dispmanx context More...
 
void fbg_dispmanxOnFlip (struct _fbg *fbg, void(*opt_flip)(struct _fbg *fbg))
 add additional flip content (will be executed between dispmanx start / sync) More...
 

Function Documentation

◆ fbg_dispmanxOnFlip()

void fbg_dispmanxOnFlip ( struct _fbg fbg,
void(*)(struct _fbg *fbg)  opt_flip 
)

add additional flip content (will be executed between dispmanx start / sync)

Parameters
fbgFBG data structure pointer
opt_flipflip function executed between dispmanx start / sync upong fbg_flip() call

◆ fbg_dispmanxSetup()

struct _fbg* fbg_dispmanxSetup ( uint32_t  displayNumber)

initialize a FB Graphics dispmanx context

Parameters
displayNumberdispmanx display number
Returns
FBG data structure pointer