i965g: convert read/write domain pairs into single usage value
authorKeith Whitwell <keithw@vmware.com>
Tue, 3 Nov 2009 23:16:02 +0000 (23:16 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 4 Nov 2009 10:09:39 +0000 (10:09 +0000)
commita277bb20debc413f6ccf46f529497bf8bafa64dd
treeba3885ccdd386b674b221bc680be37c0cddd4eb8
parent4ea94c04c9ab7b11fa06c60f2487a911f1422844
i965g: convert read/write domain pairs into single usage value

Easier to understand what's going on in the driver sources, convert
stereotype usage values back to GEM read/write domain flags in the
winsys.
18 files changed:
src/gallium/drivers/i965/brw_batchbuffer.c
src/gallium/drivers/i965/brw_batchbuffer.h
src/gallium/drivers/i965/brw_cc.c
src/gallium/drivers/i965/brw_clip_state.c
src/gallium/drivers/i965/brw_curbe.c
src/gallium/drivers/i965/brw_draw_upload.c
src/gallium/drivers/i965/brw_gs_state.c
src/gallium/drivers/i965/brw_misc_state.c
src/gallium/drivers/i965/brw_pipe_query.c
src/gallium/drivers/i965/brw_sf_state.c
src/gallium/drivers/i965/brw_vs_state.c
src/gallium/drivers/i965/brw_vs_surface_state.c
src/gallium/drivers/i965/brw_winsys.h
src/gallium/drivers/i965/brw_wm_constant_buffer.c
src/gallium/drivers/i965/brw_wm_sampler_state.c
src/gallium/drivers/i965/brw_wm_state.c
src/gallium/drivers/i965/brw_wm_surface_state.c
src/gallium/winsys/drm/i965/gem/i965_drm_buffer.c