pipebuffer: use unsigned instead of uint

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
This commit is contained in:
Erik Faye-Lund
2023-06-23 16:19:10 +02:00
committed by Marge Bot
parent d29bb6467e
commit c3ec99bf9a
2 changed files with 4 additions and 4 deletions

View File

@@ -280,8 +280,8 @@ pb_cache_init_entry(struct pb_cache *mgr, struct pb_cache_entry *entry,
* @param can_reclaim Whether a buffer can be reclaimed (e.g. is not busy)
*/
void
pb_cache_init(struct pb_cache *mgr, uint num_heaps,
uint usecs, float size_factor,
pb_cache_init(struct pb_cache *mgr, unsigned num_heaps,
unsigned usecs, float size_factor,
unsigned bypass_usage, uint64_t maximum_cache_size,
void *winsys,
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),

View File

@@ -74,8 +74,8 @@ struct pb_buffer *pb_cache_reclaim_buffer(struct pb_cache *mgr, pb_size size,
unsigned pb_cache_release_all_buffers(struct pb_cache *mgr);
void pb_cache_init_entry(struct pb_cache *mgr, struct pb_cache_entry *entry,
struct pb_buffer *buf, unsigned bucket_index);
void pb_cache_init(struct pb_cache *mgr, uint num_heaps,
uint usecs, float size_factor,
void pb_cache_init(struct pb_cache *mgr, unsigned num_heaps,
unsigned usecs, float size_factor,
unsigned bypass_usage, uint64_t maximum_cache_size,
void *winsys,
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),