diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-18 23:25:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-23 18:52:15 +0100 |
commit | 4a3476ea094e84887fefb558e0bba023fee34151 (patch) | |
tree | b570e80f1a575283005781e700a81ee142b79663 /src/i830_driver.c | |
parent | e5c971e7639095d38da3518a5dc404b708d45cfb (diff) |
i915: amalgamate composite into a single primitive list
Combine all the calls to composite between prepare_composite and
done_composite into a single primitive list, rather than a primitive
call per composite().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index db8af063..6ec6f519 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1227,11 +1227,12 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv) return FALSE; } - if (IS_I965G(intel)) + if (IS_I965G(intel)) { intel->batch_flush_notify = i965_batch_flush_notify; - else if (IS_I9XX(intel)) + } else if (IS_I9XX(intel)) { + intel->vertex_flush = i915_vertex_flush; intel->batch_flush_notify = i915_batch_flush_notify; - else + } else intel->batch_flush_notify = i830_batch_flush_notify; miInitializeBackingStore(screen); |