Support for planar rectangle intersection operations. This is used to track damage rectangles to optimize HVD compositing blit operations. More...
#include "std.h"Data Structures | |
| struct | rectlist_t |
| A rectangle list structure, used to represent a set of planar rectangles. More... | |
Typedefs | |
| typedef struct rectlist_t | rectlist_t |
| A rectangle list structure, used to represent a set of planar rectangles. More... | |
Functions | |
| rectlist_t * | rectlist_create (int32 x1, int32 y1, int32 x2, int32 y2) |
| Allocate and initialize a planar rectangle. More... | |
| void | rectlist_insert (rectlist_t **set, rectlist_t *in) |
| Insert a rectangle into a set of planar rectangles. More... | |
| HqBool | rectlist_intersect (const rectlist_t *set, rectlist_t *in, rectlist_t **intersects, rectlist_t **nointersects) |
| Intersect a new rectangle with a set of planar rectangles, producing two sets of planar rectangles that cover the new rectangle. More... | |
| void | rectlist_coalesce (rectlist_t **set) |
| Coalesce a set of planar rectangles into fewer rectangles, if possible. More... | |
| void | rectlist_destroy (rectlist_t **set) |
| Destroy a planar rectangle set. More... | |
Support for planar rectangle intersection operations. This is used to track damage rectangles to optimize HVD compositing blit operations.