r600g: propogate resource usage flags to winsys, use to choose bo domains
authorKeith Whitwell <keithw@vmware.com>
Tue, 2 Nov 2010 17:47:06 +0000 (17:47 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 3 Nov 2010 09:36:01 +0000 (09:36 +0000)
commit29c4a15bf61a76cd71ffa5b8f09706d0eab84281
treedd9fe2c087e1c83c1812b0010016cd32c9c67105
parent14c0bbf469642722f86df315b9f85d23f9753956
r600g: propogate resource usage flags to winsys, use to choose bo domains

This opens the question of what interface the winsys layer should
really have for talking about these concepts.

For now I'm using the existing gallium resource usage concept, but
there is no reason not use terms closer to what the hardware
understands - eg. the domains themselves.
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/winsys/r600/drm/r600_bo.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h