OSDN Git Service

st/dri: change dri_extensions to dri_helpers
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 28 Jul 2017 03:47:51 +0000 (20:47 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 7 Aug 2017 17:15:13 +0000 (18:15 +0100)
These files provide helper structs and functions for dri2.c and drisw.c,
and name change better conveys that.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/Makefile.sources
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_helpers.c [moved from src/gallium/state_trackers/dri/dri_extensions.c with 100% similarity]
src/gallium/state_trackers/dri/dri_helpers.h [moved from src/gallium/state_trackers/dri/dri_extensions.h with 96% similarity]
src/gallium/state_trackers/dri/drisw.c

index 46da886..36d5d47 100644 (file)
@@ -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 \
index 3555107..eb22a16 100644 (file)
@@ -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"
 
@@ -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;
 
index 46ec95c..c0f3058 100644 (file)
@@ -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);