diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-24 17:47:22 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-24 18:54:07 +0000 |
commit | 16462e551d575bd5a370a8ac8b450ba72fea7d47 (patch) | |
tree | 35a5a6992aba612464eab2b21d6dda3a5bcdb20e | |
parent | b8b49ae70b3aadf4423bd6830c446c040f87a2f1 (diff) |
sna: Install CPU handler for PolyLine for miPolySegment callback
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 531140e7..5b90941d 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -6299,6 +6299,13 @@ out: RegionUninit(&data.region); } +static void +sna_poly_line__cpu(DrawablePtr drawable, GCPtr gc, + int mode, int n, DDXPointPtr pt) +{ + fbPolyLine(drawable, gc, mode, n, pt); +} + static Bool sna_poly_segment_blt(DrawablePtr drawable, struct kgem_bo *bo, @@ -10973,7 +10980,7 @@ static const GCOps sna_gc_ops__cpu = { sna_copy_area, sna_copy_plane, sna_poly_point__cpu, - sna_poly_line, + sna_poly_line__cpu, sna_poly_segment, sna_poly_rectangle, sna_poly_arc, |