Dave Airlie <[email protected]> writes:

> is pScreen->devPrivate guaranteed to be a pixmap, or is that just a
> convention?

It's always a pixmap if you use fb:

#define fbGetScreenPixmap(s)    ((PixmapPtr) (s)->devPrivate)

> Do we have anything to say when it is?

A driver *not* using fb could put something else there. I think we
should probably just declare a PixmapPtr in the screen and be done with
it though.

> I think I'm also confusing this with the screwed up miScreenInit
> private ptr hiding stuff.

Agreed. We should just create a new structure to pass the screen init
stuff through instead of re-purposing devPrivate.

-- 
[email protected]

Attachment: pgpJL9Qut_k40.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to