OSDN Git Service

util: Move os_misc to util
authorDylan Baker <dylan@pnwbakers.com>
Mon, 29 Oct 2018 18:21:07 +0000 (11:21 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 30 Oct 2018 21:32:52 +0000 (14:32 -0700)
this is needed by u_debug

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
12 files changed:
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/util/u_debug.h
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/v3d/v3d_screen.c
src/gallium/drivers/vc4/vc4_screen.c
src/util/Makefile.sources
src/util/meson.build
src/util/os_misc.c [moved from src/gallium/auxiliary/os/os_misc.c with 100% similarity]
src/util/os_misc.h [moved from src/gallium/auxiliary/os/os_misc.h with 100% similarity]

index 923ffb2..75df7d0 100644 (file)
@@ -106,8 +106,6 @@ C_SOURCES := \
        os/os_memory_debug.h \
        os/os_memory_stdc.h \
        os/os_memory.h \
-       os/os_misc.c \
-       os/os_misc.h \
        os/os_mman.h \
        os/os_process.c \
        os/os_process.h \
index 656955c..9c158b6 100644 (file)
@@ -126,8 +126,6 @@ files_libgallium = files(
   'os/os_memory_debug.h',
   'os/os_memory_stdc.h',
   'os/os_memory.h',
-  'os/os_misc.c',
-  'os/os_misc.h',
   'os/os_mman.h',
   'os/os_process.c',
   'os/os_process.h',
index bd946e6..b3505ca 100644 (file)
@@ -39,7 +39,7 @@
 #define U_DEBUG_H_
 
 
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 
 #if defined(PIPE_OS_HAIKU)
 /* Haiku provides debug_printf in libroot with OS.h */
index 169f502..a7b4a43 100644 (file)
@@ -27,7 +27,7 @@
 
 
 #include "draw/draw_context.h"
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 #include "util/u_format.h"
 #include "util/u_format_s3tc.h"
 #include "util/u_inlines.h"
index f706bf9..c95016a 100644 (file)
@@ -38,7 +38,7 @@
 #include "draw/draw_context.h"
 #include "gallivm/lp_bld_type.h"
 
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 #include "util/os_time.h"
 #include "lp_texture.h"
 #include "lp_fence.h"
index bd8f655..44e48cc 100644 (file)
@@ -31,7 +31,7 @@
 #include "util/u_format_s3tc.h"
 #include "util/u_screen.h"
 #include "util/u_video.h"
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 #include "util/os_time.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
index 5a8400d..1d59dbf 100644 (file)
@@ -22,7 +22,7 @@
  * IN THE SOFTWARE.
  */
 
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
 #include "pipe/p_state.h"
index 13fd5ac..14ee6cf 100644 (file)
@@ -22,7 +22,7 @@
  * IN THE SOFTWARE.
  */
 
-#include "os/os_misc.h"
+#include "util/os_misc.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
 #include "pipe/p_state.h"
index e8558f5..b1dad51 100644 (file)
@@ -27,6 +27,8 @@ MESA_UTIL_FILES := \
        mesa-sha1.h \
        os_time.c \
        os_time.h \
+       os_misc.c \
+       os_misc.h \
        u_process.c \
        u_process.h \
        sha1/sha1.c \
index 49d84c1..cf173ee 100644 (file)
@@ -51,6 +51,8 @@ files_mesa_util = files(
   'mesa-sha1.h',
   'os_time.c',
   'os_time.h',
+  'os_misc.c',
+  'os_misc.h',
   'u_process.c',
   'u_process.h',
   'sha1/sha1.c',