diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-23 09:42:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-23 10:01:16 +0100 |
commit | b2206eca00e497aff0d79a6e9feae3d9c5070dcc (patch) | |
tree | d0a43d09cc72480b697efcfa4d6c37c4a9e70940 /src/sna/gen7_render.c | |
parent | bb4c057620fb0558a77a9b7db538786ffda7cf13 (diff) |
sna/gen6+: Encourage the compiler to inline a couple of key functions
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r-- | src/sna/gen7_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index 5815490a..0d03c3bb 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -2089,7 +2089,7 @@ gen7_composite_picture(struct sna *sna, x, y, w, h, dst_x, dst_y); } -static void gen7_composite_channel_convert(struct sna_composite_channel *channel) +inline static void gen7_composite_channel_convert(struct sna_composite_channel *channel) { channel->repeat = gen7_repeat(channel->repeat); channel->filter = gen7_filter(channel->filter); @@ -2114,7 +2114,7 @@ static void gen7_render_composite_done(struct sna *sna, sna_render_composite_redirect_done(sna, op); } -static bool +inline static bool gen7_composite_set_target(struct sna *sna, struct sna_composite_op *op, PicturePtr dst, |