mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-17 16:39:31 +00:00
gallium/hud: s/unsigned/enum pipe_query_type/
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
3c35dad1df
commit
541f569a19
@ -194,7 +194,7 @@ hud_batch_query_cleanup(struct hud_batch_query_context **pbq,
|
||||
|
||||
struct query_info {
|
||||
struct hud_batch_query_context *batch;
|
||||
unsigned query_type;
|
||||
enum pipe_query_type query_type;
|
||||
unsigned result_index; /* unit depends on query_type */
|
||||
enum pipe_driver_query_result_type result_type;
|
||||
|
||||
@ -349,7 +349,8 @@ free_query_info(void *ptr, struct pipe_context *pipe)
|
||||
void
|
||||
hud_pipe_query_install(struct hud_batch_query_context **pbq,
|
||||
struct hud_pane *pane,
|
||||
const char *name, unsigned query_type,
|
||||
const char *name,
|
||||
enum pipe_query_type query_type,
|
||||
unsigned result_index,
|
||||
uint64_t max_value, enum pipe_driver_query_type type,
|
||||
enum pipe_driver_query_result_type result_type,
|
||||
|
@ -162,7 +162,8 @@ void hud_thread_counter_install(struct hud_pane *pane, const char *name,
|
||||
enum hud_counter counter);
|
||||
void hud_pipe_query_install(struct hud_batch_query_context **pbq,
|
||||
struct hud_pane *pane,
|
||||
const char *name, unsigned query_type,
|
||||
const char *name,
|
||||
enum pipe_query_type query_type,
|
||||
unsigned result_index,
|
||||
uint64_t max_value,
|
||||
enum pipe_driver_query_type type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user