[virglrenderer-devel] [PATCH 1/8] renderer: make some functions static
Dave Airlie
airlied at gmail.com
Mon May 21 03:07:22 UTC 2018
From: Dave Airlie <airlied at redhat.com>
---
src/vrend_renderer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index 5f8ff23..018db40 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -452,7 +452,7 @@ bool vrend_format_is_emulated_alpha(enum virgl_formats format)
format == VIRGL_FORMAT_A16_UNORM);
}
-bool vrend_format_needs_swizzle(enum virgl_formats format)
+static bool vrend_format_needs_swizzle(enum virgl_formats format)
{
return tex_conv_table[format].flags & VREND_BIND_NEED_SWIZZLE;
}
@@ -6616,8 +6616,8 @@ static void vrender_get_glsl_version(int *glsl_version)
* Does all of the common caps setting,
* if it dedects a early out returns true.
*/
-bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version,
- union virgl_caps *caps)
+static bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version,
+ union virgl_caps *caps)
{
int i, gl_ver;
GLint max;
@@ -6726,8 +6726,8 @@ bool vrend_renderer_fill_caps_common(uint32_t set, uint32_t version,
return false;
}
-void vrend_renderer_fill_caps_gles(uint32_t set, uint32_t version,
- union virgl_caps *caps)
+static void vrend_renderer_fill_caps_gles(uint32_t set, uint32_t version,
+ union virgl_caps *caps)
{
GLint max;
GLfloat range[2];
--
2.14.3
More information about the virglrenderer-devel
mailing list