mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Add Distributed Multihead X (DMX) support
This commit is contained in:
@@ -68,8 +68,20 @@ typedef struct _GlyphSet {
|
||||
PictFormatPtr format;
|
||||
int fdepth;
|
||||
GlyphHashRec hash;
|
||||
int maxPrivate;
|
||||
pointer *devPrivates;
|
||||
} GlyphSetRec, *GlyphSetPtr;
|
||||
|
||||
#define GlyphSetGetPrivate(pGlyphSet,n) \
|
||||
((n) > (pGlyphSet)->maxPrivate ? \
|
||||
(pointer) 0 : \
|
||||
(pGlyphSet)->devPrivates[n])
|
||||
|
||||
#define GlyphSetSetPrivate(pGlyphSet,n,ptr) \
|
||||
((n) > (pGlyphSet)->maxPrivate ? \
|
||||
_GlyphSetSetNewPrivate(pGlyphSet, n, ptr) : \
|
||||
((((pGlyphSet)->devPrivates[n] = (ptr)) != 0) || TRUE))
|
||||
|
||||
typedef struct _GlyphList {
|
||||
INT16 xOff;
|
||||
INT16 yOff;
|
||||
@@ -82,6 +94,15 @@ extern GlyphHashRec globalGlyphs[GlyphFormatNum];
|
||||
GlyphHashSetPtr
|
||||
FindGlyphHashSet (CARD32 filled);
|
||||
|
||||
int
|
||||
AllocateGlyphSetPrivateIndex (void);
|
||||
|
||||
void
|
||||
ResetGlyphSetPrivateIndex (void);
|
||||
|
||||
Bool
|
||||
_GlyphSetSetNewPrivate (GlyphSetPtr glyphSet, int n, pointer ptr);
|
||||
|
||||
Bool
|
||||
GlyphInit (ScreenPtr pScreen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user