gbm: Create hooks for dri2_loader_extension in dri backend
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 25 Jan 2012 14:24:18 +0000 (16:24 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Mar 2012 02:14:34 +0000 (22:14 -0400)
commitfd6acb97fb9164b57daf3ca4b1bd637ca4685b64
treeab9fe6d8cdd70cadfb4048326ea5b1c21191ca8f
parent0d1ef1f57f9011fd2bc3354d60fb19db29af7363
gbm: Create hooks for dri2_loader_extension in dri backend

Pass a dri2_loader extension to the dri driver when gbm creates the dri
screen.  The implementation jumps through pointers in the gbm device
so that an EGL on GBM implementation can provide the real implementations.
src/gbm/backends/dri/gbm_dri.c
src/gbm/backends/dri/gbm_driint.h