#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.
◆ 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
-
fbg | FBG data structure pointer |
opt_flip | flip 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
-
displayNumber | dispmanx display number |
- Returns
- FBG data structure pointer