summaryrefslogtreecommitdiff
path: root/src/gallium/targets/dri-swrast
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-09-26 11:35:31 -0700
committerEric Anholt <eric@anholt.net>2013-10-10 16:34:30 -0700
commitd81632fb1e809a0b1ee9310ae3a4733a1c0651b7 (patch)
tree178ef0f91ec8cfda41cf2209f0b1197d430af059 /src/gallium/targets/dri-swrast
parent683f6daa97fa09118b50419fb37c543ede65be18 (diff)
dri: Merge drisw_util.c into dri_util.c
The only important difference was not calling drmGetVersion, and making the swrast extension vtable. That doesn't justify duplicating the other 330 lines of code. v2: fix the scons build (code by Emil Velikov) v3: fix scons build with swrast-only (code by Emil Velikov) v4: Drop the new define I added, when we already have __NOT_HAVE_DRM_H. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/targets/dri-swrast')
-rw-r--r--src/gallium/targets/dri-swrast/Makefile.am2
-rw-r--r--src/gallium/targets/dri-swrast/SConscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/dri-swrast/Makefile.am b/src/gallium/targets/dri-swrast/Makefile.am
index cdbda976457..5d2f1463868 100644
--- a/src/gallium/targets/dri-swrast/Makefile.am
+++ b/src/gallium/targets/dri-swrast/Makefile.am
@@ -44,7 +44,7 @@ dri_LTLIBRARIES = swrast_dri.la
swrast_dri_la_SOURCES = \
swrast_drm_api.c \
$(top_srcdir)/src/mesa/drivers/dri/common/utils.c \
- $(top_srcdir)/src/mesa/drivers/dri/common/drisw_util.c \
+ $(top_srcdir)/src/mesa/drivers/dri/common/dri_util.c \
$(top_srcdir)/src/mesa/drivers/dri/common/xmlconfig.c
swrast_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
diff --git a/src/gallium/targets/dri-swrast/SConscript b/src/gallium/targets/dri-swrast/SConscript
index 6b64c56413c..8ddd14ea5a7 100644
--- a/src/gallium/targets/dri-swrast/SConscript
+++ b/src/gallium/targets/dri-swrast/SConscript
@@ -1,6 +1,6 @@
Import('*')
-env = drienv.Clone()
+env = driswenv.Clone()
env.Append(CPPPATH = [
'#/src/gallium/winsys/sw/dri',