summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 12:32:01 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:48:11 +1100
commit2efddc63ee864ab917e444b68a7c2dcf520d451e (patch)
treec5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/drivers/rbug
parent464d4806c112c6d224a55b328cde327a025acd91 (diff)
gallium/util: replace pipe_mutex with mtx_t
pipe_mutex was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r--src/gallium/drivers/rbug/rbug_context.h6
-rw-r--r--src/gallium/drivers/rbug/rbug_screen.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/rbug/rbug_context.h b/src/gallium/drivers/rbug/rbug_context.h
index e99f6edc523..6f11fa46b5d 100644
--- a/src/gallium/drivers/rbug/rbug_context.h
+++ b/src/gallium/drivers/rbug/rbug_context.h
@@ -42,7 +42,7 @@ struct rbug_context {
struct rbug_list list;
/* call locking */
- pipe_mutex call_mutex;
+ mtx_t call_mutex;
/* current state */
struct {
@@ -58,7 +58,7 @@ struct rbug_context {
} curr;
/* draw locking */
- pipe_mutex draw_mutex;
+ mtx_t draw_mutex;
pipe_condvar draw_cond;
unsigned draw_num_rules;
int draw_blocker;
@@ -74,7 +74,7 @@ struct rbug_context {
} draw_rule;
/* list of state objects */
- pipe_mutex list_mutex;
+ mtx_t list_mutex;
unsigned num_shaders;
struct rbug_list shaders;
};
diff --git a/src/gallium/drivers/rbug/rbug_screen.h b/src/gallium/drivers/rbug/rbug_screen.h
index fd92374beda..67e28762b70 100644
--- a/src/gallium/drivers/rbug/rbug_screen.h
+++ b/src/gallium/drivers/rbug/rbug_screen.h
@@ -49,7 +49,7 @@ struct rbug_screen
/* remote debugger */
struct rbug_rbug *rbug;
- pipe_mutex list_mutex;
+ mtx_t list_mutex;
int num_contexts;
int num_resources;
int num_surfaces;