pixmap: Add some notes to devKind and devPrivate.

This commit is contained in:
Maarten Maathuis 2008-10-10 00:28:34 +02:00
parent 4808bdec45
commit 956a4ba40b

View File

@ -74,8 +74,8 @@ typedef struct _Pixmap {
DrawableRec drawable; DrawableRec drawable;
PrivateRec *devPrivates; PrivateRec *devPrivates;
int refcnt; int refcnt;
int devKind; int devKind; /* This is the pitch of the pixmap, typically width*bpp/8. */
DevUnion devPrivate; DevUnion devPrivate; /* When !NULL, devPrivate.ptr points to the raw pixel data. */
#ifdef COMPOSITE #ifdef COMPOSITE
short screen_x; short screen_x;
short screen_y; short screen_y;