[Mesa-dev] [PATCH 06/10] intel: Fold intel_region_copy() into its one caller.
Chad Versace
chad.versace at linux.intel.com
Mon Feb 4 12:15:25 PST 2013
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.
More information about the mesa-dev
mailing list