From 0c82c2fb0b5d7c3b481190667a481bf2dd126e36 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 29 Oct 2015 10:10:35 +0000 Subject: [PATCH] virgl: rename virgl.h to virgl_screen.h Provide a more meaningful name considering it's purpose. Signed-off-by: Emil Velikov Reviewed-by: Dave Airlie --- src/gallium/drivers/virgl/Makefile.sources | 2 +- src/gallium/drivers/virgl/virgl_context.c | 2 +- src/gallium/drivers/virgl/virgl_context.h | 2 +- src/gallium/drivers/virgl/virgl_screen.c | 2 +- src/gallium/drivers/virgl/{virgl.h => virgl_screen.h} | 0 src/gallium/drivers/virgl/virgl_texture.c | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename src/gallium/drivers/virgl/{virgl.h => virgl_screen.h} (100%) diff --git a/src/gallium/drivers/virgl/Makefile.sources b/src/gallium/drivers/virgl/Makefile.sources index ed309aee1d1..c27d284e248 100644 --- a/src/gallium/drivers/virgl/Makefile.sources +++ b/src/gallium/drivers/virgl/Makefile.sources @@ -4,7 +4,6 @@ C_SOURCES := \ virgl_context.h \ virgl_encode.c \ virgl_encode.h \ - virgl.h \ virgl_hw.h \ virgl_protocol.h \ virgl_public.h \ @@ -12,6 +11,7 @@ C_SOURCES := \ virgl_resource.c \ virgl_resource.h \ virgl_screen.c \ + virgl_screen.h \ virgl_streamout.c \ virgl_texture.c \ virgl_tgsi.c \ diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c index 37a631a2b26..31464595dad 100644 --- a/src/gallium/drivers/virgl/virgl_context.c +++ b/src/gallium/drivers/virgl/virgl_context.c @@ -46,7 +46,7 @@ #include "virgl_context.h" #include "virgl_resource.h" -#include "virgl.h" +#include "virgl_screen.h" #include "state_tracker/sw_winsys.h" struct pipe_screen encscreen; diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h index 878d7862dbd..948ea2d552b 100644 --- a/src/gallium/drivers/virgl/virgl_context.h +++ b/src/gallium/drivers/virgl/virgl_context.h @@ -27,7 +27,7 @@ #include "pipe/p_context.h" #include "virgl_protocol.h" -#include "virgl.h" +#include "virgl_screen.h" #include "util/u_slab.h" #include "util/list.h" #include "indices/u_primconvert.h" diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 2bc7f879487..ebc42f4a5d7 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -34,7 +34,7 @@ #include "state_tracker/sw_winsys.h" #include "tgsi/tgsi_exec.h" -#include "virgl.h" +#include "virgl_screen.h" #include "virgl_resource.h" #include "virgl_public.h" #include "virgl_context.h" diff --git a/src/gallium/drivers/virgl/virgl.h b/src/gallium/drivers/virgl/virgl_screen.h similarity index 100% rename from src/gallium/drivers/virgl/virgl.h rename to src/gallium/drivers/virgl/virgl_screen.h diff --git a/src/gallium/drivers/virgl/virgl_texture.c b/src/gallium/drivers/virgl/virgl_texture.c index 97d02eba567..4fbdb69c586 100644 --- a/src/gallium/drivers/virgl/virgl_texture.c +++ b/src/gallium/drivers/virgl/virgl_texture.c @@ -22,7 +22,7 @@ */ #include "util/u_memory.h" #include "util/u_format.h" -#include "virgl.h" +#include "virgl_screen.h" #include "virgl_resource.h" #include "virgl_context.h" -- 2.30.2