glamor: Add glamor_program based fill/set/get spans
authorKeith Packard <keithp@keithp.com>
Wed, 2 Apr 2014 04:15:45 +0000 (21:15 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 20:07:51 +0000 (13:07 -0700)
commit0a6d31161811c422799d6f065ea2842d42707530
tree08efca8f926031ba3f36cb1cef355ea7d701fbfb
parentd78c257f523908760c1b872cc4bef3d42eb31f50
glamor: Add glamor_program based fill/set/get spans

This accelerates spans operations using GPU-based geometry computation

-wellipse500 goes from about 4k/sec before the patch, to ~8k/sec in
the GLES2 fallback loop, to ~100k/sec in desktop mode.

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_fillspans.c [deleted file]
glamor/glamor_getspans.c [deleted file]
glamor/glamor_priv.h
glamor/glamor_setspans.c [deleted file]
glamor/glamor_spans.c [new file with mode: 0644]