diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 11:42:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 11:42:03 +0000 |
commit | 32d8908337d45b9598ce07bc46b633ed5e0c7070 (patch) | |
tree | 208877f4ad658db16da6ae247d3eec04653f443b /src/sna/sna_trapezoids.c | |
parent | aa358fad8c934e6962976ecfdc5e5ebc9d1ad83c (diff) |
sna: Flatten unaligned box emission
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r-- | src/sna/sna_trapezoids.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 89f89db5..bed91688 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -2861,7 +2861,7 @@ static inline int grid_coverage(int samples, pixman_fixed_t f) return (samples * pixman_fixed_frac(f) + pixman_fixed_1/2) / pixman_fixed_1; } -static void +inline static void composite_unaligned_box(struct sna *sna, struct sna_composite_spans_op *tmp, const BoxRec *box, @@ -2885,7 +2885,7 @@ composite_unaligned_box(struct sna *sna, tmp->box(sna, tmp, box, opacity); } -static void +inline static void composite_unaligned_trap_row(struct sna *sna, struct sna_composite_spans_op *tmp, xTrapezoid *trap, int dx, @@ -2963,7 +2963,7 @@ composite_unaligned_trap_row(struct sna *sna, } } -static void +flatten static void composite_unaligned_trap(struct sna *sna, struct sna_composite_spans_op *tmp, xTrapezoid *trap, |