On Thu, 2007-05-17 at 08:47 -0700, Keith Packard wrote: > On Thu, 2007-05-17 at 17:12 +0800, Wang Zhenyu wrote: > > > yeah, that's me actually. The problem in rotation is that xserver dri > > block handler will release the dri lock before rotate block handler > > running, > > thus xserver doesn't hold dri lock in rotation rendering. Current I fixed > > in > > driver code to take the lock, which makes rotation with DRI run fine on my > > 915G SMP desktop. > > Sounds like we should fix the server so that the DRI block handler runs > after the rotation drawing code.
Yeah, that would probably be the best solution - might even just be a matter of initialization order in the driver? Otherwise, the driver's rotation hook would have to make sure it calls DRILock, initializes 3D state and sets ctxOwner if necessary, and at the end calls DRIUnlock. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
