Common support for framebuffer raster output backends. More...
#include "skinkit.h"
#include "framebuffer.h"
#include "hqspin.h"
#include "mem.h"
#include "rbtree.h"
#include "skinmon.h"
#include "monany.h"
#include "monskinkit.h"
Functions | |
HqBool | framebuffer_recalculate (framebuffer_t *framebuffer, const RasterDescription *rd) |
Calculate the size parameters for a framebuffer from a raster description and layout. More... | |
HqnResult | framebuffer_acquire (framebuffer_t *framebuffer, const framebuffer_acquire_t *params) |
Acquire the frames for a framebuffer. More... | |
HqnResult | framebuffer_destination (framebuffer_t *framebuffer, RASTER_DESTINATION *destination, int32 sheetIndex) |
Set up the raster memory destination and ceiling for a frame. More... | |
uint8 * | framebuffer_address (framebuffer_t *framebuffer, uint32 id) |
Obtain a pointer to a frame's raster buffer. More... | |
void * | framebuffer_handle (framebuffer_t *framebuffer, uint32 id) |
Retrieve a handle from a frame's raster buffer. More... | |
void | framebuffer_reuse (framebuffer_t *framebuffer, uint32 sheet_id) |
Forget associations between frame and sheet IDs and the handles they were assigned to, allowing the handle to be re-used for a different frame or sheet. More... | |
void | framebuffer_remove (framebuffer_t *framebuffer, void *handle) |
Take ownership of a frame handle away from the framebuffer. More... | |
void | framebuffer_release (framebuffer_t *framebuffer) |
Release all of the frames in a framebuffer. More... | |
HqnResult | fbassoc_acquire (uintptr_t key, const framebuffer_acquire_t *params) |
Ensure a framebuffer object exists in the framebuffer association and acquire the frames for it. More... | |
void | fbassoc_reuse (uintptr_t key, uint32 sheet_id) |
Allow a framebuffer to be reused. More... | |
framebuffer_t * | fbassoc_find (uintptr_t key) |
Find a framebuffer object associated with a key. More... | |
void | fbassoc_release (uintptr_t key) |
Release all of the frames in a framebuffer. More... | |
void | fbassoc_destroy (void) |
Destroy the framebuffer association, releasing all framebuffers and the association itself. More... | |
Common support for framebuffer raster output backends.