Keith Packard <kei...@keithp.com> writes:

> This uses the same shaders as glamor_poly_glyph_blt.
>
> Signed-off-by: Keith Packard <kei...@keithp.com>
> ---
>  glamor/glamor_glyphblt.c | 131 
> ++++++++++++++++++-----------------------------
>  1 file changed, 49 insertions(+), 82 deletions(-)
>
> diff --git a/glamor/glamor_glyphblt.c b/glamor/glamor_glyphblt.c
> index 1c511ff..8ed3a14 100644
> --- a/glamor/glamor_glyphblt.c
> +++ b/glamor/glamor_glyphblt.c

> -static Bool
> -_glamor_push_pixels(GCPtr pGC, PixmapPtr pBitmap,
> -                    DrawablePtr pDrawable, int w, int h, int x, int y,
> -                    Bool fallback)
> -{
> -    glamor_pixmap_private *pixmap_priv;
> -
> -    if (!fallback && glamor_ddx_fallback_check_pixmap(pDrawable)
> -        && glamor_ddx_fallback_check_pixmap(&pBitmap->drawable)
> -        && glamor_ddx_fallback_check_gc(pGC))
> -        return FALSE;
> +    glamor_pixmap_loop(pixmap_priv, box_x, box_y) {
> +        glamor_set_destination_drawable(drawable, box_x, box_y, FALSE, TRUE, 
> prog->matrix_uniform, NULL, NULL);

glamor is mostly wrapped at 80 columns, and I think consistently
wrapping here would look better than not.

Other than that, I'd reviewed the previous version of this patch that
I'd seen in your branch, and I don't think you've changed it.

Attachment: pgpZYSlNIQUoi.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to