From 992e9572bdbc1f3d5243ca8eecbd6a372721a62b Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Thu, 25 Mar 2010 17:01:53 +0200 Subject: [PATCH] swrastg_dri: add state_tracker --- configure.ac | 2 +- src/gallium/state_trackers/drisw/Makefile | 26 +++++++++++++++++++ .../state_trackers/drisw/dri1_helper.c | 1 + .../state_trackers/drisw/dri_context.c | 1 + .../state_trackers/drisw/dri_drawable.c | 1 + .../state_trackers/drisw/dri_extensions.c | 1 + src/gallium/state_trackers/drisw/dri_screen.c | 1 + src/gallium/state_trackers/drisw/dri_st_api.c | 1 + src/gallium/state_trackers/drisw/drisw.c | 1 + 9 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/gallium/state_trackers/drisw/Makefile create mode 120000 src/gallium/state_trackers/drisw/dri1_helper.c create mode 120000 src/gallium/state_trackers/drisw/dri_context.c create mode 120000 src/gallium/state_trackers/drisw/dri_drawable.c create mode 120000 src/gallium/state_trackers/drisw/dri_extensions.c create mode 120000 src/gallium/state_trackers/drisw/dri_screen.c create mode 120000 src/gallium/state_trackers/drisw/dri_st_api.c create mode 120000 src/gallium/state_trackers/drisw/drisw.c 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 -- 2.30.2