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:

committed by
Marge Bot

parent
d29bb6467e
commit
c3ec99bf9a
@@ -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)
|
* @param can_reclaim Whether a buffer can be reclaimed (e.g. is not busy)
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
pb_cache_init(struct pb_cache *mgr, uint num_heaps,
|
pb_cache_init(struct pb_cache *mgr, unsigned num_heaps,
|
||||||
uint usecs, float size_factor,
|
unsigned usecs, float size_factor,
|
||||||
unsigned bypass_usage, uint64_t maximum_cache_size,
|
unsigned bypass_usage, uint64_t maximum_cache_size,
|
||||||
void *winsys,
|
void *winsys,
|
||||||
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),
|
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),
|
||||||
|
@@ -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);
|
unsigned pb_cache_release_all_buffers(struct pb_cache *mgr);
|
||||||
void pb_cache_init_entry(struct pb_cache *mgr, struct pb_cache_entry *entry,
|
void pb_cache_init_entry(struct pb_cache *mgr, struct pb_cache_entry *entry,
|
||||||
struct pb_buffer *buf, unsigned bucket_index);
|
struct pb_buffer *buf, unsigned bucket_index);
|
||||||
void pb_cache_init(struct pb_cache *mgr, uint num_heaps,
|
void pb_cache_init(struct pb_cache *mgr, unsigned num_heaps,
|
||||||
uint usecs, float size_factor,
|
unsigned usecs, float size_factor,
|
||||||
unsigned bypass_usage, uint64_t maximum_cache_size,
|
unsigned bypass_usage, uint64_t maximum_cache_size,
|
||||||
void *winsys,
|
void *winsys,
|
||||||
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),
|
void (*destroy_buffer)(void *winsys, struct pb_buffer *buf),
|
||||||
|
Reference in New Issue
Block a user