maug
Quick and dirty C mini-augmentation library.
|
Video Display Processor tools for modifying display output. More...
Macros | |
#define | RETROFLAT_VDP_FLAG_PXLOCK 0x01 |
Flag for RETROFLAT_STATE::vdp_flags indicating the VDP requires RetroFlat to pixel-lock the frame before passing it (almost always true!) | |
Typedefs | |
typedef MERROR_RETVAL(* | retroflat_vdp_proc_t) (struct RETROFLAT_STATE *) |
VDP function called from the VDP library. | |
Functions | |
MERROR_RETVAL | retroflat_vdp_call (const char *proc_name) |
Call a function from the retroflat VDP. | |
Video Display Processor tools for modifying display output.
The VDP system allows for a plugin to post-process frames in programs that use RetroFlat. The VDP is provided with a bitmap of every frame in RETROFLAT_STATE::vdp_buffer which it processes and outputs to RETROFLAT_STATE::buffer, which is then displayed on the screen.
#define RETROFLAT_VDP_FLAG_PXLOCK 0x01 |
Flag for RETROFLAT_STATE::vdp_flags indicating the VDP requires RetroFlat to pixel-lock the frame before passing it (almost always true!)
This should be set by the VDP during its initialization.
typedef MERROR_RETVAL(* retroflat_vdp_proc_t) (struct RETROFLAT_STATE *) |
VDP function called from the VDP library.
The VDP plugin should export three functions with this signature:
Function Name | Called From |
---|---|
retroflat_vdp_init() | retroflat_init() |
retroflat_vdp_flip() | retroflat_draw_release() on screen buffer |
retroflat_vdp_shutdown | retroflat_shutdown() |