Mesa (master): gallium: remove pipe_context member from pipe_transfer
Keith Whitwell
keithw at kemper.freedesktop.org
Fri Mar 12 10:53:44 UTC 2010
Module: Mesa
Branch: master
Commit: d35ecca5ee231c072687578642e0c22c6c0590b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d35ecca5ee231c072687578642e0c22c6c0590b1
Author: Keith Whitwell <keithw at vmware.com>
Date: Thu Mar 11 16:10:25 2010 +0000
gallium: remove pipe_context member from pipe_transfer
There was very little use for this beyond permitting the
pipe_context::tex_transfer_destroy() function to omit the pipe_context
argument.
This change adds the pipe_context argument into tex_transfer_destroy()
so that it looks like other pipe_context functions, and removes the
pipe_context pointer from pipe_transfer.
---
src/gallium/auxiliary/draw/draw_pipe_aaline.c | 2 +-
src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 2 +-
src/gallium/auxiliary/util/u_debug.c | 11 +++++----
src/gallium/auxiliary/util/u_debug.h | 3 +-
src/gallium/auxiliary/util/u_gen_mipmap.c | 12 +++++-----
src/gallium/auxiliary/util/u_inlines.h | 14 ++++++------
src/gallium/auxiliary/util/u_rect.c | 6 ++--
src/gallium/auxiliary/util/u_tile.c | 26 +++++++++++----------
src/gallium/auxiliary/util/u_tile.h | 18 ++++++++++-----
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 2 +-
src/gallium/drivers/i915/i915_texture.c | 4 +-
src/gallium/drivers/i965/brw_screen.h | 1 +
src/gallium/drivers/i965/brw_screen_texture.c | 4 +-
src/gallium/drivers/identity/id_context.c | 6 +++-
src/gallium/drivers/identity/id_objects.c | 12 ++++++---
src/gallium/drivers/identity/id_objects.h | 4 ++-
src/gallium/drivers/llvmpipe/lp_scene.c | 4 +-
src/gallium/drivers/llvmpipe/lp_texture.c | 3 +-
src/gallium/drivers/nv30/nv30_transfer.c | 5 ++-
src/gallium/drivers/nv40/nv40_transfer.c | 4 +-
src/gallium/drivers/nv50/nv50_transfer.c | 4 +-
src/gallium/drivers/r300/r300_screen.c | 2 -
src/gallium/drivers/r300/r300_transfer.c | 3 +-
src/gallium/drivers/softpipe/sp_tex_tile_cache.c | 11 +++++----
src/gallium/drivers/softpipe/sp_texture.c | 4 +-
src/gallium/drivers/softpipe/sp_tile_cache.c | 19 ++++++++-------
src/gallium/drivers/svga/svga_screen_texture.c | 5 ++-
src/gallium/drivers/trace/tr_context.c | 9 ++++---
src/gallium/drivers/trace/tr_rbug.c | 2 +-
src/gallium/drivers/trace/tr_texture.c | 16 +++++++------
src/gallium/drivers/trace/tr_texture.h | 4 ++-
src/gallium/include/pipe/p_context.h | 3 +-
src/gallium/include/pipe/p_state.h | 2 -
src/gallium/state_trackers/vega/api_filters.c | 2 +-
src/gallium/state_trackers/vega/api_images.c | 4 +-
src/gallium/state_trackers/vega/image.c | 8 +++---
src/gallium/state_trackers/vega/paint.c | 2 +-
src/mesa/state_tracker/st_atom_pixeltransfer.c | 2 +-
src/mesa/state_tracker/st_cb_accum.c | 14 ++++++------
src/mesa/state_tracker/st_cb_bitmap.c | 8 +++---
src/mesa/state_tracker/st_cb_drawpixels.c | 18 +++++++-------
src/mesa/state_tracker/st_cb_readpixels.c | 22 +++++++++---------
src/mesa/state_tracker/st_cb_texture.c | 12 +++++-----
src/mesa/state_tracker/st_gen_mipmap.c | 4 +-
src/mesa/state_tracker/st_texture.c | 4 +-
45 files changed, 177 insertions(+), 150 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=d35ecca5ee231c072687578642e0c22c6c0590b1
More information about the mesa-commit
mailing list