summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-21 12:24:33 +0200
committerMarek Olšák <[email protected]>2017-06-26 02:17:03 +0200
commit1e37a5054b1f47a0e95183bd99b8c6a3a8be4725 (patch)
tree34a80a5f80ca22123136056d347f5a487407f9e7 /src/mesa/main/glthread.h
parent6884c95ab4e06a418add29052b0a633a7fdad6ae (diff)
mesa/glthread: remove HAVE_PTHREAD guards
we are switching to util_queue. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index 50c1db25488..07bed380cbf 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -29,8 +29,6 @@
/* Command size is a number of bytes stored in a short. */
#define MARSHAL_MAX_CMD_SIZE 65535
-#ifdef HAVE_PTHREAD
-
#include <inttypes.h>
#include <stdbool.h>
#include <pthread.h>
@@ -124,32 +122,4 @@ void _mesa_glthread_restore_dispatch(struct gl_context *ctx);
void _mesa_glthread_flush_batch(struct gl_context *ctx);
void _mesa_glthread_finish(struct gl_context *ctx);
-#else /* HAVE_PTHREAD */
-
-static inline void
-_mesa_glthread_init(struct gl_context *ctx)
-{
-}
-
-static inline void
-_mesa_glthread_destroy(struct gl_context *ctx)
-{
-}
-
-static inline void
-_mesa_glthread_finish(struct gl_context *ctx)
-{
-}
-
-static inline void
-_mesa_glthread_restore_dispatch(struct gl_context *ctx)
-{
-}
-
-static inline void
-_mesa_glthread_flush_batch(struct gl_context *ctx)
-{
-}
-
-#endif /* !HAVE_PTHREAD */
#endif /* _GLTHREAD_H*/