ilo: add more convenient intel_bo_{ref,unref}()
authorChia-I Wu <olvaffe@gmail.com>
Thu, 5 Mar 2015 18:03:10 +0000 (02:03 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 5 Mar 2015 18:25:03 +0000 (02:25 +0800)
commit4ddd981e407f9e97fcbb862c241f1ce165616fd4
tree5127116d96ae302939b00c7ad718796899fc95c1
parent70ef171e91582f60a010a4f0ea9f7ff5ba971ab4
ilo: add more convenient intel_bo_{ref,unref}()

They both check for NULL and intel_bo_ref() returns the referenced bo.  They
replace intel_bo_{reference,unreference}().
src/gallium/drivers/ilo/ilo_builder.c
src/gallium/drivers/ilo/ilo_cp.c
src/gallium/drivers/ilo/ilo_query.c
src/gallium/drivers/ilo/ilo_render.c
src/gallium/drivers/ilo/ilo_resource.c
src/gallium/drivers/ilo/ilo_screen.c
src/gallium/drivers/ilo/intel_winsys.h
src/gallium/winsys/intel/drm/intel_drm_winsys.c