gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 25 Jan 2008 20:53:31 +0000 (20:53 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 25 Jan 2008 20:53:31 +0000 (20:53 +0000)
commit1e0d30a515e4cac891b6c590f12a33e0e8a8e295
tree72ffec9e89bd0bd9202fcfc39f5e7bdf881adcf2
parent756d52ec12c41ee90ee9598dc9028cc134806bd2
gallium:  rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code

Provide an actual definition of the pipe_buffer struct,  containing
the parameters used to create the buffer, and its refcount.

Shift refcounting buffers out of the winsys interface, similar to
surfaces & textures.

Rework pipebuffer/ to reflect the fact these changes, and also Michel's
reworking of the buffer interface.
62 files changed:
src/mesa/drivers/dri/intel_winsys/intel_winsys.h
src/mesa/drivers/dri/intel_winsys/intel_winsys_i915.c
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
src/mesa/drivers/x11/xm_winsys.c
src/mesa/pipe/cell/ppu/cell_draw_arrays.c
src/mesa/pipe/cell/ppu/cell_draw_arrays.h
src/mesa/pipe/cell/ppu/cell_texture.h
src/mesa/pipe/failover/fo_context.c
src/mesa/pipe/i915simple/i915_blit.c
src/mesa/pipe/i915simple/i915_blit.h
src/mesa/pipe/i915simple/i915_context.c
src/mesa/pipe/i915simple/i915_context.h
src/mesa/pipe/i915simple/i915_prim_vbuf.c
src/mesa/pipe/i915simple/i915_state_emit.c
src/mesa/pipe/i915simple/i915_surface.c
src/mesa/pipe/i915simple/i915_texture.c
src/mesa/pipe/i915simple/i915_winsys.h
src/mesa/pipe/i965simple/brw_blit.c
src/mesa/pipe/i965simple/brw_blit.h
src/mesa/pipe/i965simple/brw_context.h
src/mesa/pipe/i965simple/brw_draw.c
src/mesa/pipe/i965simple/brw_draw.h
src/mesa/pipe/i965simple/brw_draw_upload.c
src/mesa/pipe/i965simple/brw_state.h
src/mesa/pipe/i965simple/brw_state_pool.c
src/mesa/pipe/i965simple/brw_surface.c
src/mesa/pipe/i965simple/brw_tex_layout.c
src/mesa/pipe/i965simple/brw_winsys.h
src/mesa/pipe/i965simple/brw_wm_surface_state.c
src/mesa/pipe/p_context.h
src/mesa/pipe/p_inlines.h
src/mesa/pipe/p_state.h
src/mesa/pipe/p_winsys.h
src/mesa/pipe/pipebuffer/Makefile
src/mesa/pipe/pipebuffer/pb_buffer.c
src/mesa/pipe/pipebuffer/pb_buffer.h
src/mesa/pipe/pipebuffer/pb_buffer_client.c
src/mesa/pipe/pipebuffer/pb_buffer_fenced.c
src/mesa/pipe/pipebuffer/pb_buffer_fenced.h
src/mesa/pipe/pipebuffer/pb_buffer_handle.c [deleted file]
src/mesa/pipe/pipebuffer/pb_buffer_handle.h [deleted file]
src/mesa/pipe/pipebuffer/pb_buffer_malloc.c
src/mesa/pipe/pipebuffer/pb_buffer_null.c [deleted file]
src/mesa/pipe/pipebuffer/pb_bufmgr.h
src/mesa/pipe/pipebuffer/pb_bufmgr_fenced.c
src/mesa/pipe/pipebuffer/pb_bufmgr_mm.c
src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
src/mesa/pipe/softpipe/sp_context.c
src/mesa/pipe/softpipe/sp_draw_arrays.c
src/mesa/pipe/softpipe/sp_state.h
src/mesa/pipe/softpipe/sp_state_fs.c
src/mesa/pipe/softpipe/sp_texture.c
src/mesa/pipe/softpipe/sp_texture.h
src/mesa/pipe/xlib/xm_winsys.c
src/mesa/pipe/xlib/xm_winsys_aub.c
src/mesa/pipe/xlib/xm_winsys_aub.h
src/mesa/state_tracker/st_atom_constbuf.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_cb_bufferobjects.h
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_draw.c