From 1825280128f4bce5fddae8fc132f13e091071bb9 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Thu, 27 Jul 2017 20:47:51 -0700 Subject: [PATCH] st/dri: change dri_extensions to dri_helpers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These files provide helper structs and functions for dri2.c and drisw.c, and name change better conveys that. Reviewed-by: Emil Velikov Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/Makefile.sources | 4 ++-- src/gallium/state_trackers/dri/dri2.c | 2 +- src/gallium/state_trackers/dri/{dri_extensions.c => dri_helpers.c} | 0 src/gallium/state_trackers/dri/{dri_extensions.h => dri_helpers.h} | 4 ++-- src/gallium/state_trackers/dri/drisw.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename src/gallium/state_trackers/dri/{dri_extensions.c => dri_helpers.c} (100%) rename src/gallium/state_trackers/dri/{dri_extensions.h => dri_helpers.h} (96%) diff --git a/src/gallium/state_trackers/dri/Makefile.sources b/src/gallium/state_trackers/dri/Makefile.sources index 46da886..36d5d47 100644 --- a/src/gallium/state_trackers/dri/Makefile.sources +++ b/src/gallium/state_trackers/dri/Makefile.sources @@ -3,8 +3,8 @@ common_SOURCES := \ dri_context.h \ dri_drawable.c \ dri_drawable.h \ - dri_extensions.c \ - dri_extensions.h \ + dri_helpers.c \ + dri_helpers.h \ dri_query_renderer.c \ dri_query_renderer.h \ dri_screen.c \ diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 3555107..eb22a16 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -48,7 +48,7 @@ #include "dri_screen.h" #include "dri_context.h" #include "dri_drawable.h" -#include "dri_extensions.h" +#include "dri_helpers.h" #include "dri_query_renderer.h" #include "dri2_buffer.h" diff --git a/src/gallium/state_trackers/dri/dri_extensions.c b/src/gallium/state_trackers/dri/dri_helpers.c similarity index 100% rename from src/gallium/state_trackers/dri/dri_extensions.c rename to src/gallium/state_trackers/dri/dri_helpers.c diff --git a/src/gallium/state_trackers/dri/dri_extensions.h b/src/gallium/state_trackers/dri/dri_helpers.h similarity index 96% rename from src/gallium/state_trackers/dri/dri_extensions.h rename to src/gallium/state_trackers/dri/dri_helpers.h index 89b01cd..a55c47f 100644 --- a/src/gallium/state_trackers/dri/dri_extensions.h +++ b/src/gallium/state_trackers/dri/dri_helpers.h @@ -20,8 +20,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef DRI_EXTENSIONS_H -#define DRI_EXTENSIONS_H +#ifndef DRI_HELPERS_H +#define DRI_HELPERS_H extern const __DRI2fenceExtension dri2FenceExtension; diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index 46ec95c..c0f3058 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -46,7 +46,7 @@ #include "dri_screen.h" #include "dri_context.h" #include "dri_drawable.h" -#include "dri_extensions.h" +#include "dri_helpers.h" #include "dri_query_renderer.h" DEBUG_GET_ONCE_BOOL_OPTION(swrast_no_present, "SWRAST_NO_PRESENT", FALSE); -- 2.7.4