aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2017-07-27 20:47:51 -0700
committerEmil Velikov <[email protected]>2017-08-07 18:15:13 +0100
commit1825280128f4bce5fddae8fc132f13e091071bb9 (patch)
treec4bf54aba1f856b3af6004c9c217982577f0ee01
parente7a52cc381d275b4ab8ee2fb230e32ab97090daf (diff)
st/dri: change dri_extensions to dri_helpers
These files provide helper structs and functions for dri2.c and drisw.c, and name change better conveys that. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/state_trackers/dri/Makefile.sources4
-rw-r--r--src/gallium/state_trackers/dri/dri2.c2
-rw-r--r--src/gallium/state_trackers/dri/dri_helpers.c (renamed from src/gallium/state_trackers/dri/dri_extensions.c)0
-rw-r--r--src/gallium/state_trackers/dri/dri_helpers.h (renamed from src/gallium/state_trackers/dri/dri_extensions.h)4
-rw-r--r--src/gallium/state_trackers/dri/drisw.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/dri/Makefile.sources b/src/gallium/state_trackers/dri/Makefile.sources
index 46da886c005..36d5d47bb33 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 3555107856c..eb22a16249b 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
index b3a2cb78f9c..b3a2cb78f9c 100644
--- a/src/gallium/state_trackers/dri/dri_extensions.c
+++ b/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
index 89b01cd3ed8..a55c47ffc79 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 46ec95c6906..c0f3058272c 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);