gallium: Reorg texture usage flags
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 17 Feb 2010 21:08:49 +0000 (21:08 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 1 Mar 2010 16:05:35 +0000 (16:05 +0000)
commit3f37f23d17734e8a49809859df58354ed9c00a2d
treebdbd800b72ff18cc548b94bee1dbf6a1e2ba226e
parentb2e94d05c9602e2814a513a51eed67d014b338f3
gallium: Reorg texture usage flags

Introduce a new shared usage and rename primary to scanout.
The display target usage is more of a windows concept and
doesn't mean the same thing as shared. Display target means
that the surface should be presentable, for softpipe this
means that it should be backed by a hardware buffer.
13 files changed:
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/i965/brw_screen_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/include/pipe/p_defines.h
src/gallium/state_trackers/egl/kms/native_kms.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/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c