mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
Merge f36413ff64 into a8192aa709
This commit is contained in:
commit
d75d2c0409
5 changed files with 18 additions and 14 deletions
|
|
@ -92,6 +92,7 @@ Equipment Corporation.
|
|||
#include "dix/dix_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
#include "dix/gc_priv.h"
|
||||
#include "dix/region_priv.h"
|
||||
#include "dix/registry_priv.h"
|
||||
#include "dix/screensaver_priv.h"
|
||||
#include "dix/selection_priv.h"
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ Equipment Corporation.
|
|||
|
||||
#include "os/mathx_priv.h"
|
||||
|
||||
#include "regionstr.h"
|
||||
#include "dix/region_priv.h"
|
||||
#include "gc.h"
|
||||
|
||||
#undef assert
|
||||
|
|
|
|||
15
dix/region_priv.h
Normal file
15
dix/region_priv.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_DIX_REGION_PRIV_H
|
||||
#define _XSERVER_DIX_REGION_PRIV_H
|
||||
|
||||
#include "include/regionstr.h"
|
||||
|
||||
void InitRegions(void);
|
||||
Bool RegionRectAlloc(RegionPtr pRgn, int n);
|
||||
Bool RegionIsValid(RegionPtr prgn);
|
||||
void RegionPrint(RegionPtr pReg);
|
||||
|
||||
#endif /* _XSERVER_DIX_REGION_PRIV_H */
|
||||
|
|
@ -25,6 +25,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "dix/region_priv.h"
|
||||
#include "fb/fb_priv.h"
|
||||
|
||||
#ifdef FB_DEBUG
|
||||
|
|
|
|||
|
|
@ -211,8 +211,6 @@ RegionNull(RegionPtr _pReg)
|
|||
(_pReg)->data = &RegionEmptyData;
|
||||
}
|
||||
|
||||
extern _X_EXPORT void InitRegions(void);
|
||||
|
||||
extern _X_EXPORT RegionPtr RegionCreate(BoxPtr /*rect */ ,
|
||||
int /*size */ );
|
||||
|
||||
|
|
@ -328,17 +326,6 @@ RegionEqual(RegionPtr reg1, RegionPtr reg2)
|
|||
return pixman_region_equal(reg1, reg2);
|
||||
}
|
||||
|
||||
extern _X_EXPORT Bool RegionRectAlloc(RegionPtr /*pRgn */ ,
|
||||
int /*n */
|
||||
);
|
||||
|
||||
#ifdef DEBUG
|
||||
extern _X_EXPORT Bool RegionIsValid(RegionPtr /*prgn */
|
||||
);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT void RegionPrint(RegionPtr /*pReg */ );
|
||||
|
||||
#define INCLUDE_LEGACY_REGION_DEFINES
|
||||
#ifdef INCLUDE_LEGACY_REGION_DEFINES
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue