glamor: Add infrastructure for generating shaders on the fly
authorKeith Packard <keithp@keithp.com>
Wed, 12 Mar 2014 21:27:59 +0000 (14:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Mar 2014 19:58:40 +0000 (12:58 -0700)
commit029b64c30a8bdf87edfdb1c988f4e8dcee1bb4ef
tree94f34dc74a0e5ba769916c0b133418486534951e
parent0ca7223742e9ec0594203b3a99b11441730cca1a
glamor: Add infrastructure for generating shaders on the fly

This just adds a bunch of support code to construct shaders from
'facets', which bundle attributes needed for each layer of the
rendering system. At this point, that includes only the primitive and
the fill stuff.

v2: Correct comment in glamor transform about 1/2 pixel correction needed
    for GL_POINT. (Eric Anholt)
v3: Rebase on Markus's cleanups (change 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_priv.h
glamor/glamor_program.c [new file with mode: 0644]
glamor/glamor_program.h [new file with mode: 0644]
glamor/glamor_transform.c [new file with mode: 0644]
glamor/glamor_transform.h [new file with mode: 0644]