surface: factor out release of surface buffer storage.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 May 2014 11:42:51 +0000 (13:42 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Jun 2014 17:30:43 +0000 (19:30 +0200)
commitcffa75273cd367d41019995c2335241b8e349ef1
tree2c24404a4c1d9c84bb4fcf1ca5b8ba0553f017fa
parent18d0aee33fd4a32f846475cf31a2be6499b17b4b
surface: factor out release of surface buffer storage.

Introduce a new i965_destroy_surface_storage() helper function to
unreference the underlying GEM buffer object, and any associated
private data, if any.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
src/i965_decoder_utils.c
src/i965_drv_video.c
src/i965_drv_video.h
src/i965_output_dri.c