From bea941a52187a3252720a5abb6226a2631489824 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 20 Jul 2020 16:23:09 -0700 Subject: [PATCH] vrend: rename GLX sources Rename them to vrend_winsys_glx.* Signed-off-by: Chia-I Wu Reviewed-by: Gurchetan Singh --- src/meson.build | 8 ++++---- src/virglrenderer.c | 2 +- src/{virgl_glx_context.c => vrend_winsys_glx.c} | 2 +- src/{virgl_glx.h => vrend_winsys_glx.h} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename src/{virgl_glx_context.c => vrend_winsys_glx.c} (99%) rename src/{virgl_glx.h => vrend_winsys_glx.h} (100%) diff --git a/src/meson.build b/src/meson.build index 26a82f9..b5bc125 100644 --- a/src/meson.build +++ b/src/meson.build @@ -67,9 +67,9 @@ vrend_winsys_egl_sources = [ 'vrend_winsys_egl.h', ] -virgl_glx_sources = [ - 'virgl_glx_context.c', - 'virgl_glx.h', +vrend_winsys_glx_sources = [ + 'vrend_winsys_glx.c', + 'vrend_winsys_glx.h', ] virgl_depends = [ @@ -88,7 +88,7 @@ if have_egl endif if have_glx - virgl_sources += virgl_glx_sources + virgl_sources += vrend_winsys_glx_sources virgl_depends += [glx_dep] endif diff --git a/src/virglrenderer.c b/src/virglrenderer.c index 9bc1ae8..d6b598e 100644 --- a/src/virglrenderer.c +++ b/src/virglrenderer.c @@ -48,7 +48,7 @@ #endif #ifdef HAVE_EPOXY_GLX_H -#include "virgl_glx.h" +#include "vrend_winsys_glx.h" static struct virgl_glx *glx_info; #endif diff --git a/src/virgl_glx_context.c b/src/vrend_winsys_glx.c similarity index 99% rename from src/virgl_glx_context.c rename to src/vrend_winsys_glx.c index 20630ca..23bb983 100644 --- a/src/virgl_glx_context.c +++ b/src/vrend_winsys_glx.c @@ -29,7 +29,7 @@ #include #include "virglrenderer.h" -#include "virgl_glx.h" +#include "vrend_winsys_glx.h" struct virgl_glx { Display *display; diff --git a/src/virgl_glx.h b/src/vrend_winsys_glx.h similarity index 100% rename from src/virgl_glx.h rename to src/vrend_winsys_glx.h