diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-23 20:40:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-26 15:05:09 +0100 |
commit | 56f65e65204f1ecbad598419e525e69f6179f9c7 (patch) | |
tree | 7fff947467df4f0aaba5407d15d0132dcc7d3ac6 | |
parent | f65e73f8a3a013e79b753d625f79994408e717f7 (diff) |
sna: Inline box_intersect()
Most of this branchy function is spent in manipulating the stack for the
function call, so inline it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 9b6b2c7f..8df94eb8 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1729,7 +1729,7 @@ sna_copy_area(DrawablePtr src, DrawablePtr dst, GCPtr gc, 0, NULL); } -static Bool +inline static Bool box_intersect(BoxPtr a, const BoxRec *b) { if (a->x1 < b->x1) |