mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-11 19:59:06 +00:00
xserver 1.4
This commit is contained in:
@@ -48,7 +48,7 @@ SOFTWARE.
|
||||
#ifndef REGIONSTRUCT_H
|
||||
#define REGIONSTRUCT_H
|
||||
|
||||
typedef struct _Region RegionRec, *RegionPtr;
|
||||
typedef struct pixman_region16 RegionRec, *RegionPtr;
|
||||
|
||||
#include "miscstruct.h"
|
||||
|
||||
@@ -64,16 +64,7 @@ typedef struct _Region RegionRec, *RegionPtr;
|
||||
* clip region
|
||||
*/
|
||||
|
||||
typedef struct _RegData {
|
||||
long size;
|
||||
long numRects;
|
||||
/* BoxRec rects[size]; in memory but not explicitly declared */
|
||||
} RegDataRec, *RegDataPtr;
|
||||
|
||||
struct _Region {
|
||||
BoxRec extents;
|
||||
RegDataPtr data;
|
||||
};
|
||||
typedef struct pixman_region16_data RegDataRec, *RegDataPtr;
|
||||
|
||||
extern BoxRec miEmptyBox;
|
||||
extern RegDataRec miEmptyData;
|
||||
@@ -234,6 +225,8 @@ extern RegDataRec miBrokenData;
|
||||
|
||||
/* moved from mi.h */
|
||||
|
||||
extern void InitRegions (void);
|
||||
|
||||
extern RegionPtr miRegionCreate(
|
||||
BoxPtr /*rect*/,
|
||||
int /*size*/);
|
||||
@@ -321,4 +314,7 @@ extern void miRegionEmpty(
|
||||
extern BoxPtr miRegionExtents(
|
||||
RegionPtr /*pReg*/);
|
||||
|
||||
extern void miPrintRegion(
|
||||
RegionPtr /*pReg*/);
|
||||
|
||||
#endif /* REGIONSTRUCT_H */
|
||||
|
||||
Reference in New Issue
Block a user