summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/gallium/state_trackers/drisw/Makefile26
l---------src/gallium/state_trackers/drisw/dri1_helper.c1
l---------src/gallium/state_trackers/drisw/dri_context.c1
l---------src/gallium/state_trackers/drisw/dri_drawable.c1
l---------src/gallium/state_trackers/drisw/dri_extensions.c1
l---------src/gallium/state_trackers/drisw/dri_screen.c1
l---------src/gallium/state_trackers/drisw/dri_st_api.c1
l---------src/gallium/state_trackers/drisw/drisw.c1
9 files changed, 34 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index edf2363a717..1b9500b8b5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1204,7 +1204,7 @@ yes)
GALLIUM_STATE_TRACKERS_DIRS=glx
;;
dri)
- GALLIUM_STATE_TRACKERS_DIRS="dri"
+ GALLIUM_STATE_TRACKERS_DIRS="dri drisw"
if test "x$enable_egl" = xyes; then
GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS egl"
fi
diff --git a/src/gallium/state_trackers/drisw/Makefile b/src/gallium/state_trackers/drisw/Makefile
new file mode 100644
index 00000000000..dec9a39edec
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/Makefile
@@ -0,0 +1,26 @@
+TOP = ../../../..
+include $(TOP)/configs/current
+
+LIBNAME = drisw
+
+LIBRARY_DEFINES = -D__NOT_HAVE_DRM_H
+
+LIBRARY_INCLUDES = \
+ -I../dri \
+ -I$(TOP)/include \
+ -I$(TOP)/src/mesa \
+ -I$(TOP)/src/mesa/drivers/dri/common \
+ -I$(TOP)/src/mesa/main \
+ -D__NOT_HAVE_DRM_H
+
+
+C_SOURCES = \
+ dri_context.c \
+ dri_screen.c \
+ dri_drawable.c \
+ dri_extensions.c \
+ dri_st_api.c \
+ dri1_helper.c \
+ drisw.c
+
+include ../../Makefile.template
diff --git a/src/gallium/state_trackers/drisw/dri1_helper.c b/src/gallium/state_trackers/drisw/dri1_helper.c
new file mode 120000
index 00000000000..e704e382e05
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri1_helper.c
@@ -0,0 +1 @@
+../dri/dri1_helper.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/dri_context.c b/src/gallium/state_trackers/drisw/dri_context.c
new file mode 120000
index 00000000000..e4e879dc867
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri_context.c
@@ -0,0 +1 @@
+../dri/dri_context.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/dri_drawable.c b/src/gallium/state_trackers/drisw/dri_drawable.c
new file mode 120000
index 00000000000..d7f65c85d20
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri_drawable.c
@@ -0,0 +1 @@
+../dri/dri_drawable.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/dri_extensions.c b/src/gallium/state_trackers/drisw/dri_extensions.c
new file mode 120000
index 00000000000..60ecde9547d
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri_extensions.c
@@ -0,0 +1 @@
+../dri/dri_extensions.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/dri_screen.c b/src/gallium/state_trackers/drisw/dri_screen.c
new file mode 120000
index 00000000000..f22c562c84f
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri_screen.c
@@ -0,0 +1 @@
+../dri/dri_screen.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/dri_st_api.c b/src/gallium/state_trackers/drisw/dri_st_api.c
new file mode 120000
index 00000000000..eac8ec66905
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/dri_st_api.c
@@ -0,0 +1 @@
+../dri/dri_st_api.c \ No newline at end of file
diff --git a/src/gallium/state_trackers/drisw/drisw.c b/src/gallium/state_trackers/drisw/drisw.c
new file mode 120000
index 00000000000..258a79021ef
--- /dev/null
+++ b/src/gallium/state_trackers/drisw/drisw.c
@@ -0,0 +1 @@
+../dri/drisw.c \ No newline at end of file