head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.14; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.49; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include "colormapst.h"Go to the source code of this file.
Data Structures | |
| struct | _dmxColormapPriv |
Defines | |
| #define | DMX_SET_COLORMAP_PRIV(_pCMap, _pCMapPriv) |
| #define | DMX_GET_COLORMAP_PRIV(_pCMap) (dmxColormapPrivPtr)(_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr |
Typedefs | |
| typedef _dmxColormapPriv | dmxColormapPrivRec |
| typedef _dmxColormapPriv * | dmxColormapPrivPtr |
Functions | |
| Bool | dmxCreateColormap (ColormapPtr pColormap) |
| void | dmxDestroyColormap (ColormapPtr pColormap) |
| void | dmxInstallColormap (ColormapPtr pColormap) |
| void | dmxStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef) |
| Bool | dmxCreateDefColormap (ScreenPtr pScreen) |
| Bool | dmxBECreateColormap (ColormapPtr pColormap) |
| Bool | dmxBEFreeColormap (ColormapPtr pColormap) |
Variables | |
| int | dmxColormapPrivateIndex |
|
|
Get colormap private structure. |
|
|
Value: (_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr \ = (pointer)(_pCMapPriv); |
|
|
Colormap private area. |
|
|
Colormap private area. |
|
|
Create pColormap on the back-end server. |
|
|
Destroy pColormap on the back-end server. |
|
|
Create colormap on back-end server associated with pColormap's screen. |
|
|
Create the DMX server's default colormap. |
|
|
Destroy colormap on back-end server associated with pColormap's screen. |
|
|
Install colormap on back-end server associated with pColormap's screen. |
|
||||||||||||||||
|
Store colors in pColormap on back-end server associated with pColormap's screen. |
|
|
Private index for Colormaps |
#include "colormapst.h"Go to the source code of this file.
Data Structures | |
| struct | _dmxColormapPriv |
Defines | |
| #define | DMX_SET_COLORMAP_PRIV(_pCMap, _pCMapPriv) dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv) |
| #define | DMX_GET_COLORMAP_PRIV(_pCMap) |
Typedefs | |
| typedef struct _dmxColormapPriv | dmxColormapPrivRec |
| typedef struct _dmxColormapPriv * | dmxColormapPrivPtr |
Functions | |
| Bool | dmxCreateColormap (ColormapPtr pColormap) |
| void | dmxDestroyColormap (ColormapPtr pColormap) |
| void | dmxInstallColormap (ColormapPtr pColormap) |
| void | dmxStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef) |
| Bool | dmxCreateDefColormap (ScreenPtr pScreen) |
| Bool | dmxBECreateColormap (ColormapPtr pColormap) |
| Bool | dmxBEFreeColormap (ColormapPtr pColormap) |
Header file for colormap support.
| #define DMX_GET_COLORMAP_PRIV | ( | _pCMap | ) |
| #define DMX_SET_COLORMAP_PRIV | ( | _pCMap, | ||||||||||||||||||||||||||||||||||||||||||||||||
| _pCMapPriv | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv) |
| typedef struct _dmxColormapPriv * dmxColormapPrivPtr | d119 19 a137 9
| typedef struct _dmxColormapPriv dmxColormapPrivRec | d141 27 a167 18
| Bool dmxBECreateColormap | ( | ColormapPtr | pColormap | ) | d169 1 d171 26 a196 21 |
| Bool dmxBEFreeColormap | ( | ColormapPtr | pColormap | ) | d198 1 d200 26 a225 21 |
| Bool dmxCreateColormap | ( | ColormapPtr | pColormap | ) | d227 1 d229 26 a254 21 |
| Bool dmxCreateDefColormap | ( | ScreenPtr | pScreen | ) | d256 1 d258 26 a283 19 |
| void dmxDestroyColormap | ( | ColormapPtr | pColormap | ) | d285 1 d287 26 a312 21 |
| void dmxInstallColormap | ( | ColormapPtr | pColormap | ) | d314 1 d316 24 a339 19 |
| void dmxStoreColors | ( | ColormapPtr | pColormap, | a341 1d343 3 a345 2 | int | ndef, | a347 1d349 3 a351 2 | xColorItem * | pdef | d355 2 a356 2 | ) | d358 1 d360 37 a396 11 |