diff options
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r-- | src/gallium/drivers/rbug/rbug_context.h | 6 | ||||
-rw-r--r-- | src/gallium/drivers/rbug/rbug_screen.h | 2 |
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; |