summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/gen6_render.c2
-rw-r--r--src/sna/gen7_render.c4
-rw-r--r--src/sna/gen8_render.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c
index cc1c209b..49a783aa 100644
--- a/src/sna/gen6_render.c
+++ b/src/sna/gen6_render.c
@@ -1861,7 +1861,7 @@ static void gen6_render_composite_done(struct sna *sna,
sna_render_composite_redirect_done(sna, op);
}
-static bool
+inline static bool
gen6_composite_set_target(struct sna *sna,
struct sna_composite_op *op,
PicturePtr dst,
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,
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index b66a7357..64976303 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -1898,7 +1898,7 @@ gen8_composite_picture(struct sna *sna,
x, y, w, h, dst_x, dst_y);
}
-static bool gen8_composite_channel_convert(struct sna_composite_channel *channel)
+inline static bool gen8_composite_channel_convert(struct sna_composite_channel *channel)
{
if (unaligned(channel->bo, PICT_FORMAT_BPP(channel->pict_format)))
return false;
@@ -1928,7 +1928,7 @@ static void gen8_render_composite_done(struct sna *sna,
sna_render_composite_redirect_done(sna, op);
}
-static bool
+inline static bool
gen8_composite_set_target(struct sna *sna,
struct sna_composite_op *op,
PicturePtr dst,