gbm: add gbm_bo_get/set_user_data()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 30 Apr 2012 10:27:51 +0000 (13:27 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 30 Apr 2012 17:09:39 +0000 (13:09 -0400)
commit310d8d189d14eb6c29be205bf2c9e98187b2fa84
tree2fab4f3ab0af33879db76e14f84fcbdf5b382e50
parentf641c57cfa91b259077b4be89789dc01235b0187
gbm: add gbm_bo_get/set_user_data()

This allows the user to associate some data to a gbm_bo and get a
callback when the bo is destroyed.
src/gbm/main/gbm.c
src/gbm/main/gbm.h
src/gbm/main/gbmint.h