[PATCH 1/2] render: Move miCompositeRects() into fb as fbCompositeRects().

Aaron Plattner aplattner at nvidia.com
Thu Mar 31 10:07:10 PDT 2011


On Wed, Mar 30, 2011 at 09:37:21AM -0700, Søren Sandmann wrote:
> From: Søren Sandmann Pedersen <ssp at redhat.com>
> 
> It is not used anywhere else.
> 
> Signed-off-by: Soren Sandmann <ssp at redhat.com>
> ---

[...]

> +    pixman_image_fill_rectangles (
> +	op, image, (pixman_color_t *)color, nRect,
> +	(const pixman_rectangle16_t *)rects);

This is guaranteed to be software rendering.

[...]

> -    (*pGC->ops->PolyFillRect) (pDst->pDrawable, pGC, nRect, rects);
[...]
> -	while (nRect--)
> -	{
> -	    CompositePicture (op, pSrc, 0, pDst, 0, 0, 0, 0, 
> -			      rects->x,
> -			      rects->y,
> -			      rects->width,
> -			      rects->height);
> -	    rects++;
> -	}

This at least might be hardware rendering.


More information about the xorg-devel mailing list