drm_api: Operate on textures instead of buffers
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 27 Aug 2009 17:57:29 +0000 (18:57 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Fri, 28 Aug 2009 12:38:23 +0000 (13:38 +0100)
commit1e5014f7dfabcaf1f4b5608eb08e97179446eb09
tree75ab693e5e07467c36fd3593c440143d62ce907e
parent7d9af52bc59bfeb19d9bdb55258f4a830a1b0d04
drm_api: Operate on textures instead of buffers

Most use cases just got the buffer from the texture
and then called into one of the get_handle functions.

Also with this patch it would be easier to move to a
generic function for getting handles from textures
and textures from handles, that is exposed via the screen.
src/gallium/drivers/identity/id_drm.c
src/gallium/drivers/trace/tr_drm.c
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/winsys/drm/intel/gem/intel_be_api.c
src/gallium/winsys/drm/intel/gem/intel_be_device.c
src/gallium/winsys/drm/intel/gem/intel_be_device.h