swrastg_dri: add state_tracker
authorGeorge Sapountzis <gsapountzis@gmail.com>
Thu, 25 Mar 2010 15:01:53 +0000 (17:01 +0200)
committerGeorge Sapountzis <gsapountzis@gmail.com>
Thu, 25 Mar 2010 15:01:53 +0000 (17:01 +0200)
configure.ac
src/gallium/state_trackers/drisw/Makefile [new file with mode: 0644]
src/gallium/state_trackers/drisw/dri1_helper.c [new symlink]
src/gallium/state_trackers/drisw/dri_context.c [new symlink]
src/gallium/state_trackers/drisw/dri_drawable.c [new symlink]
src/gallium/state_trackers/drisw/dri_extensions.c [new symlink]
src/gallium/state_trackers/drisw/dri_screen.c [new symlink]
src/gallium/state_trackers/drisw/dri_st_api.c [new symlink]
src/gallium/state_trackers/drisw/drisw.c [new symlink]

index edf2363a717cac378640e76d38ef5f84ae923c86..1b9500b8b5a47d8ec8cc1755d6aa91a7f77c1260 100644 (file)
@@ -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 (file)
index 0000000..dec9a39
--- /dev/null
@@ -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 (symlink)
index 0000000..e704e38
--- /dev/null
@@ -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 (symlink)
index 0000000..e4e879d
--- /dev/null
@@ -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 (symlink)
index 0000000..d7f65c8
--- /dev/null
@@ -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 (symlink)
index 0000000..60ecde9
--- /dev/null
@@ -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 (symlink)
index 0000000..f22c562
--- /dev/null
@@ -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 (symlink)
index 0000000..eac8ec6
--- /dev/null
@@ -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 (symlink)
index 0000000..258a790
--- /dev/null
@@ -0,0 +1 @@
+../dri/drisw.c
\ No newline at end of file