glamor: Add glamor_program based poly_fill_rect
authorKeith Packard <keithp@keithp.com>
Wed, 2 Apr 2014 04:15:46 +0000 (21:15 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 20:07:52 +0000 (13:07 -0700)
commit3411e8c538476443cafbb70082ef7457932e4a38
tree0995278e12fc6540558c401e3f33e15269a3c1d5
parent0a6d31161811c422799d6f065ea2842d42707530
glamor: Add glamor_program based poly_fill_rect

This accelerates poly_fill_rect using GPU-based geometry computation

Improves x11perf -rect100 by 41.5127% +/- 7.63888% (n=10)
Improves x11perf -rect10 by 3745.72% +/- 94.7503% (n=6)

v2: Rebase on skipping the prepare rewrite for now, and fix the GLSL
    1.20 and GLES2 cases (changes by anholt).

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
glamor/Makefile.am
glamor/glamor_polyfillrect.c [deleted file]
glamor/glamor_priv.h
glamor/glamor_rects.c [new file with mode: 0644]