i965g: pass relocation information in an array with bo_subdata
authorKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 22:43:36 +0000 (22:43 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 5 Nov 2009 22:43:36 +0000 (22:43 +0000)
commit4c196ed7a8e06933d11b96ac520afa39252fc5c7
treed32fea2784830e7695c071104a461eb853da638f
parent3763457892c2d0c654c0eca7585e4d3a863f7714
i965g: pass relocation information in an array with bo_subdata

Makes it easier to dump as we get all of the information
about the upload in a single hit.

Opens the window to simplification in the driver if these
relocation arrays can be maintained statically rather than
being recreated whenever we check for a new upload.

Still needs some cleanup to avoid uglyness introduced with the
delta values.
16 files changed:
src/gallium/drivers/i965/brw_cc.c
src/gallium/drivers/i965/brw_clip_state.c
src/gallium/drivers/i965/brw_context.h
src/gallium/drivers/i965/brw_curbe.c
src/gallium/drivers/i965/brw_gs_state.c
src/gallium/drivers/i965/brw_sf_state.c
src/gallium/drivers/i965/brw_state.h
src/gallium/drivers/i965/brw_state_cache.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/xlib/xlib_i965.c