[Mesa-dev] [PATCH 4/4] llvmpipe: Eliminate color buffer swizzling.

Roland Scheidegger sroland at vmware.com
Wed Nov 28 14:33:42 PST 2012


Am 28.11.2012 21:57, schrieb jfonseca at vmware.com:
> From: José Fonseca <jfonseca at vmware.com>
> 
> Now dead code.
> 
> Also had to remove the show_tiles/show_subtiles because now the color
> buffers are always stored in their native format, so there is no longer
> an easy way to paint the tile sizes.
> 
> Depth-stencil buffers are still swizzled.
> ---
>  src/gallium/drivers/llvmpipe/SConscript         |   20 -
>  src/gallium/drivers/llvmpipe/lp_debug.h         |    2 -
>  src/gallium/drivers/llvmpipe/lp_rast.c          |  202 +------
>  src/gallium/drivers/llvmpipe/lp_rast_priv.h     |   81 +--
>  src/gallium/drivers/llvmpipe/lp_rast_tri.c      |    1 -
>  src/gallium/drivers/llvmpipe/lp_scene.c         |    2 -
>  src/gallium/drivers/llvmpipe/lp_scene.h         |    2 -
>  src/gallium/drivers/llvmpipe/lp_screen.c        |    2 -
>  src/gallium/drivers/llvmpipe/lp_setup_context.h |    1 -
>  src/gallium/drivers/llvmpipe/lp_state_fs.c      |  130 +----
>  src/gallium/drivers/llvmpipe/lp_state_fs.h      |    3 -
>  src/gallium/drivers/llvmpipe/lp_texture.c       |  107 ----
>  src/gallium/drivers/llvmpipe/lp_texture.h       |   15 -
>  src/gallium/drivers/llvmpipe/lp_tile_image.c    |   41 +-
>  src/gallium/drivers/llvmpipe/lp_tile_image.h    |    4 +
>  src/gallium/drivers/llvmpipe/lp_tile_soa.h      |   97 ----
>  src/gallium/drivers/llvmpipe/lp_tile_soa.py     |  654 -----------------------
>  17 files changed, 30 insertions(+), 1334 deletions(-)
>  delete mode 100644 src/gallium/drivers/llvmpipe/lp_tile_soa.h
>  delete mode 100644 src/gallium/drivers/llvmpipe/lp_tile_soa.py
> 

+30 -1334 looks good to me :-).
1 and 3 of the series also look good.

Roland



More information about the mesa-dev mailing list