summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-08 15:33:38 +1100
committerTimothy Arceri <[email protected]>2017-03-12 17:49:03 +1100
commitb822d9dd67b502565b30da37b90c1d70114b8409 (patch)
tree26507a1aaec8caae71fa85ba0b885192d550b524
parent04ec4db8b5424872ebefed677cbd01fa3b40145d (diff)
gallium/util: move u_queue.{c,h} to src/util
This will allow us to use it outside of gallium for things like compressing shader cache entries. Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/auxiliary/Makefile.sources2
-rw-r--r--src/util/Makefile.sources2
-rw-r--r--src/util/u_queue.c (renamed from src/gallium/auxiliary/util/u_queue.c)0
-rw-r--r--src/util/u_queue.h (renamed from src/gallium/auxiliary/util/u_queue.h)0
4 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources
index 9063b5134c3..c3a3af9fbca 100644
--- a/src/gallium/auxiliary/Makefile.sources
+++ b/src/gallium/auxiliary/Makefile.sources
@@ -276,8 +276,6 @@ C_SOURCES := \
util/u_pstipple.c \
util/u_pstipple.h \
util/u_pwr8.h \
- util/u_queue.c \
- util/u_queue.h \
util/u_range.h \
util/u_rect.h \
util/u_resource.c \
diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources
index 8b5ee2d0c71..e6c1c7690f1 100644
--- a/src/util/Makefile.sources
+++ b/src/util/Makefile.sources
@@ -44,6 +44,8 @@ MESA_UTIL_FILES := \
texcompress_rgtc_tmp.h \
u_atomic.h \
u_endian.h \
+ u_queue.c \
+ u_queue.h \
u_string.h \
u_thread.h \
u_vector.c \
diff --git a/src/gallium/auxiliary/util/u_queue.c b/src/util/u_queue.c
index 05196674189..05196674189 100644
--- a/src/gallium/auxiliary/util/u_queue.c
+++ b/src/util/u_queue.c
diff --git a/src/gallium/auxiliary/util/u_queue.h b/src/util/u_queue.h
index 0073890cf3c..0073890cf3c 100644
--- a/src/gallium/auxiliary/util/u_queue.h
+++ b/src/util/u_queue.h