gallium: Add texture usage information to surface_buffer_create
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 11 Aug 2009 17:33:58 +0000 (18:33 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 11 Aug 2009 17:34:43 +0000 (18:34 +0100)
commita41a253ce3b667fc8ad1bfbafce9e3e633667383
tree2a9b3c733bee3ef41bd1b13ddfabeaf2e3eaf81d
parent7013a4dfb84ce730f093600326fa158cdb1563ff
gallium: Add texture usage information to surface_buffer_create

We need aditional meta data about the usage of the surface
in softpipe because we need to be able tell the diffrence
between PRIMARY and DISPLAY_TARGET surfaces.
src/gallium/auxiliary/util/u_simple_screen.c
src/gallium/auxiliary/util/u_timed_winsys.c
src/gallium/drivers/identity/id_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/trace/tr_screen.c
src/gallium/include/pipe/internal/p_winsys_screen.h
src/gallium/include/pipe/p_screen.h