diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:32:01 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:48:11 +1100 |
commit | 2efddc63ee864ab917e444b68a7c2dcf520d451e (patch) | |
tree | c5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/drivers/llvmpipe | |
parent | 464d4806c112c6d224a55b328cde327a025acd91 (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/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_fence.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_scene.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_fence.h b/src/gallium/drivers/llvmpipe/lp_fence.h index d7f0c153ec8..4fc0801a6f0 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.h +++ b/src/gallium/drivers/llvmpipe/lp_fence.h @@ -43,7 +43,7 @@ struct lp_fence struct pipe_reference reference; unsigned id; - pipe_mutex mutex; + mtx_t mutex; pipe_condvar signalled; boolean issued; diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index b1464bb54c4..da29057f1ef 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -174,7 +174,7 @@ struct lp_scene { unsigned tiles_x, tiles_y; int curr_x, curr_y; /**< for iterating over bins */ - pipe_mutex mutex; + mtx_t mutex; struct cmd_bin tile[TILES_X][TILES_Y]; struct data_block_list data; diff --git a/src/gallium/drivers/llvmpipe/lp_screen.h b/src/gallium/drivers/llvmpipe/lp_screen.h index 00bf20c8c5f..da702ad7753 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.h +++ b/src/gallium/drivers/llvmpipe/lp_screen.h @@ -56,7 +56,7 @@ struct llvmpipe_screen unsigned timestamp; struct lp_rasterizer *rast; - pipe_mutex rast_mutex; + mtx_t rast_mutex; }; |