>Mark Vojkovich wrote:
>
>  pPixmap->devPrivate is the pointer to the memory, but this
>is dynamic.  Pixmaps get migrated back and forth between video
>and system ram.  So you need to check it every time you reenter
>your code.


oops.   

The bitblit routines are rather hairy to follow, so I hope you dont mind me
also asking; what are the pitfalls of me creating a pixmap myself?

The constraints are that I want to be able to allocate an offscreen memory
chunk myself via xf86AllocateLinear, then create a pixmap around it, and
then be able to use the accelerated bitblit routines via 
gc->ops->CopyArea()

Is the process of creating an offscreen pixmap "the hard way" documented
anywhere? Like a place for tips for 2d card driver writers?


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to