intel: Move the bufmgr back to the screen.
authorEric Anholt <eric@anholt.net>
Thu, 4 Sep 2008 21:16:31 +0000 (22:16 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 10 Sep 2008 20:59:45 +0000 (13:59 -0700)
commit7e0bbdcf033981282978554c2e68ce48b55aa291
treed604788e8770df7d2bc2853473e18045a9a74cdf
parent11d694b1bb0cb384d802d7e0e252cf5119febb98
intel: Move the bufmgr back to the screen.

Mesa requires that we be able to share objects between contexts, which means
that the objects need to be created by the same bufmgr, and the bufmgr
internally requires pthread protection for thread safety.
Rely on the bufmgr having appropriate locking.
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_ioctl.c
src/mesa/drivers/dri/intel/intel_ioctl.h
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_screen.h