On 01/28/2013 09:00 PM, Eric Anholt wrote:
> This is similar code to intel_miptree_copy_slice, but the knobs
> are all set differently.
> ---
>  src/mesa/drivers/dri/intel/intel_pixel_copy.c |   18 ++++++++++---
>  src/mesa/drivers/dri/intel/intel_regions.c    |   34 
> -------------------------
>  src/mesa/drivers/dri/intel/intel_regions.h    |   13 ----------
>  3 files changed, 14 insertions(+), 51 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/intel/intel_pixel_copy.c 
> b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
> index 682a52d..f946787 100644


> +   if (!intelEmitCopyBlit(intel,
> +                          draw_irb->mt->cpp,
> +                       src_pitch, read_irb->mt->region->bo,
> +                          0, read_irb->mt->region->tiling,
> +                       draw_irb->mt->region->pitch, draw_irb->mt->region->bo,
> +                          0, draw_irb->mt->region->tiling,
> +                          srcx, srcy,
> +                          dstx, dsty,
> +                       width, height,
>                         ctx->Color.ColorLogicOpEnabled ?
>                         ctx->Color.LogicOp : GL_COPY)) {


Weird whitespace here due to mixed tabs and spaces.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to