summaryrefslogtreecommitdiff
path: root/glamor/glamor_dash.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-13 11:40:06 -0700
committerKeith Packard <keithp@keithp.com>2015-05-14 16:12:42 -0700
commit1b745e0c1ff45e014aa21c3d8edf93227bec99bf (patch)
treee46e81c83286e767992d8acd2e423f5b851133e5 /glamor/glamor_dash.c
parentff3195aadde95c8e89f77f389a7dfb418dd2426c (diff)
glamor: Adapt glamor_program API to handle render acceleration
This extends the existing API to support options needed for render accleration, including an additional fragment, 'combine', (which provides a place to perform the source IN mask operation before the final OP dest state) and an additional 'defines' parameter which provides a way to add target-dependent values without using a uniform. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor/glamor_dash.c')
-rw-r--r--glamor/glamor_dash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_dash.c b/glamor/glamor_dash.c
index 4281ff0a8..101228e40 100644
--- a/glamor/glamor_dash.c
+++ b/glamor/glamor_dash.c
@@ -170,7 +170,7 @@ glamor_dash_setup(DrawablePtr drawable, GCPtr gc)
if (!prog->prog) {
if (!glamor_build_program(screen, prog,
&glamor_facet_double_dash_lines,
- NULL))
+ NULL, NULL, NULL))
goto bail;
}