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.31; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.31; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.20; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.51; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include "dmx.h"#include "dmxsync.h"#include "dmxpixmap.h"#include "pixmapstr.h"#include "servermd.h"Functions | |
| Bool | dmxInitPixmap (ScreenPtr pScreen) |
| void | dmxBECreatePixmap (PixmapPtr pPixmap) |
| PixmapPtr | dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth) |
| Bool | dmxBEFreePixmap (PixmapPtr pPixmap) |
| Bool | dmxDestroyPixmap (PixmapPtr pPixmap) |
| RegionPtr | dmxBitmapToRegion (PixmapPtr pPixmap) |
|
|
Create a pixmap on the back-end server. |
|
|
Destroy the pixmap on the back-end server. |
|
|
Create and return a region based on the pixmap pointed to by pPixmap. |
|
||||||||||||||||||||
|
Create a pixmap for pScreen with the specified width, height, and depth. |
|
|
Destroy the pixmap pointed to by pPixmap. |
|
|
Initialize a private area in pScreen for pixmap information. |
#include "dmx.h"#include "dmxsync.h"#include "dmxpixmap.h"#include "pixmapstr.h"#include "servermd.h"#include "privates.h"Functions | |
| Bool | dmxInitPixmap (ScreenPtr pScreen) |
| void | dmxBECreatePixmap (PixmapPtr pPixmap) |
| PixmapPtr | dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint) |
| Bool | dmxBEFreePixmap (PixmapPtr pPixmap) |
| Bool | dmxDestroyPixmap (PixmapPtr pPixmap) |
| RegionPtr | dmxBitmapToRegion (PixmapPtr pPixmap) |
Provides pixmap support.
| void dmxBECreatePixmap | ( | PixmapPtr | pPixmap | ) |
Create a pixmap on the back-end server.
d23 1 a23 1References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), _dmxPixPriv::pixmap, and _DMXScreenInfo::scrnWin.
d25 1 a25 1Referenced by dmxAttachScreen(), dmxBECreateResources(), dmxBECreateWindowTree(), dmxBERestoreRenderPict(), and dmxCreatePixmap().
d27 1 a27 18| Bool dmxBEFreePixmap | ( | PixmapPtr | pPixmap | ) |
Destroy the pixmap on the back-end server.
d29 1 a29 1References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, and _dmxPixPriv::pixmap.
d31 16 a46 1Referenced by dmxBEDestroyResources(), dmxBEDestroyWindowTree(), dmxDestroyPixmap(), and dmxDetachScreen().
d48 27 a74 13| RegionPtr dmxBitmapToRegion | ( | PixmapPtr | pPixmap | ) | d76 1 d78 27 a104 3 |
| PixmapPtr dmxCreatePixmap | ( | ScreenPtr | pScreen, | a132 1d134 3 a136 2 | int | width, | a138 1d140 3 a142 2 | int | height, | a144 1a145 5 | int | depth, | |||||||
| d147 2 a148 2 | unsigned | usage_hint | d152 2 a153 2 | ) | d155 1 d157 27 a183 3 |
| Bool dmxDestroyPixmap | ( | PixmapPtr | pPixmap | ) | a212 6 |
Destroy the pixmap pointed to by pPixmap.
References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEFreePixmap(), dmxDestroyPixmap(), dmxScreens, and dmxSync().
a213 16Referenced by dmxDestroyPixmap(), and dmxScreenInit().
| Bool dmxInitPixmap | ( | ScreenPtr | pScreen | ) |