OSDN Git Service

intel: Protect bufmgr objects with a pthread mutex.
authorEric Anholt <eric@anholt.net>
Fri, 13 Jun 2008 06:22:26 +0000 (23:22 -0700)
committerDave Airlie <airlied@linux.ie>
Thu, 16 Oct 2008 20:38:57 +0000 (06:38 +1000)
commit6df7b0719fe92b718e486c2b87e2f883cfa41efa
treec0a48d61bf6dd496d2ecaee2adc1eb111f40466e
parent26076bf24a4e720e389d0a3ea616a8350397fdfc
intel: Protect bufmgr objects with a pthread mutex.

We want to be able to use the bufmgr from multiple threads for GL, and thus
we need to protect the internal structures.

The pthread-stubs package is used so that programs not linked against
pthreads get weak symbols to stubs and don't eat most of the cost.
configure.ac
libdrm/Makefile.am
libdrm/intel/Makefile.am
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c