dmxpixmap.h File Reference
#include "pixmapstr.h"

Go to the source code of this file.

Data Structures

struct  _dmxPixPriv

Defines

#define DMX_GET_PIXMAP_PRIV(_pPix)   (dmxPixPrivPtr)dixLookupPrivate(&(_pPix)->devPrivates, dmxPixPrivateKey)

Typedefs

typedef struct _dmxPixPriv dmxPixPrivRec
typedef struct _dmxPixPrivdmxPixPrivPtr

Functions

Bool dmxInitPixmap (ScreenPtr pScreen)
PixmapPtr dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)
Bool dmxDestroyPixmap (PixmapPtr pPixmap)
RegionPtr dmxBitmapToRegion (PixmapPtr pPixmap)
void dmxBECreatePixmap (PixmapPtr pPixmap)
Bool dmxBEFreePixmap (PixmapPtr pPixmap)

Detailed Description

Interface for pixmap support.

See also:
dmxpixmap.c

Define Documentation

#define DMX_GET_PIXMAP_PRIV (   _pPix)    (dmxPixPrivPtr)dixLookupPrivate(&(_pPix)->devPrivates, dmxPixPrivateKey)

Typedef Documentation

typedef struct _dmxPixPriv * dmxPixPrivPtr
typedef struct _dmxPixPriv dmxPixPrivRec

Pixmap private area.


Function Documentation

void dmxBECreatePixmap ( PixmapPtr  pPixmap)
Bool dmxBEFreePixmap ( PixmapPtr  pPixmap)
RegionPtr dmxBitmapToRegion ( PixmapPtr  pPixmap)

Create and return a region based on the pixmap pointed to by pPixmap.

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), and _dmxPixPriv::pixmap.

Referenced by dmxScreenInit().

PixmapPtr dmxCreatePixmap ( ScreenPtr  pScreen,
int  width,
int  height,
int  depth,
unsigned  usage_hint 
)

Create a pixmap for pScreen with the specified width, height, and depth.

References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBECreatePixmap(), dmxCreatePixmap(), dmxScreens, and _dmxPixPriv::pixmap.

Referenced by dmxCreatePixmap(), and dmxScreenInit().

Bool dmxDestroyPixmap ( PixmapPtr  pPixmap)
Bool dmxInitPixmap ( ScreenPtr  pScreen)

Initialize a private area in pScreen for pixmap information.

References dmxPixPrivateKeyRec.

Referenced by dmxScreenInit().