mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
bentley-ottmann: hint that the insertion compare function should be inlined
Albeit it too large for gcc to automatically inline, it is only used from within a single function. Hopefully gcc can optimise better with the hint. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
3c6e4311fb
commit
637659fb51
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ _line_equal (const cairo_line_t *a, const cairo_line_t *b)
|
|||
a->p2.x == b->p2.x && a->p2.y == b->p2.y;
|
||||
}
|
||||
|
||||
static int
|
||||
static inline int
|
||||
_cairo_bo_sweep_line_compare_edges (const cairo_bo_sweep_line_t *sweep_line,
|
||||
const cairo_bo_edge_t *a,
|
||||
const cairo_bo_edge_t *b)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue