/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_query.c | 189 pool->query_type = pCreateInfo->queryType; in v3dv_CreateQueryPool() 203 switch (pool->query_type) { in v3dv_CreateQueryPool() 248 switch (pool->query_type) { in v3dv_CreateQueryPool() 280 if (pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR) { in v3dv_CreateQueryPool() 308 if (pool->query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR) { in v3dv_DestroyQueryPool() 336 VkQueryType query_type) in query_wait_available() 367 if (query_type == VK_QUERY_TYPE_OCCLUSION && in query_wait_available() 371 if (query_type == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR && in query_wait_available() 387 assert(pool && pool->query_type == VK_QUERY_TYPE_OCCLUSION); in write_occlusion_query_result() 408 assert(pool && pool->query_type in write_timestamp_query_result() 334 query_wait_available(struct v3dv_device *device, struct v3dv_query *q, VkQueryType query_type) query_wait_available() argument 453 query_check_available(struct v3dv_device *device, struct v3dv_query *q, VkQueryType query_type) query_check_available() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_query.c | 41 fd_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) in fd_create_query() argument 47 q = ctx->create_query(ctx, query_type, index); in fd_create_query() 49 q = fd_sw_create_query(ctx, query_type, index); in fd_create_query() 109 .name = _name, .query_type = _query_type, \ 186 query_type(enum fd_perfcntr_type type) in query_type() function 242 info->query_type = FD_QUERY_FIRST_PERFCNTR + idx; in setup_perfcntr_query_info() 243 info->type = query_type(c->query_type); in setup_perfcntr_query_info()
|
H A D | freedreno_query_acc.c | 189 fd_acc_create_query2(struct fd_context *ctx, unsigned query_type, in fd_acc_create_query2() argument 200 DBG("%p: query_type=%u", aq, query_type); in fd_acc_create_query2() 209 q->type = query_type; in fd_acc_create_query2() 216 fd_acc_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_acc_create_query() argument 218 int idx = pidx(query_type); in fd_acc_create_query() 223 return fd_acc_create_query2(ctx, query_type, index, in fd_acc_create_query() 259 int idx = pidx(provider->query_type); in fd_acc_query_register_provider()
|
H A D | freedreno_query_acc.h | 58 unsigned query_type; member 102 unsigned query_type, unsigned index); 104 fd_acc_create_query2(struct fd_context *ctx, unsigned query_type,
|
H A D | freedreno_query_hw.c | 43 unsigned query_type) assert_dt 47 int idx = pidx(query_type); 76 int idx = pidx(hq->provider->query_type); in query_active_in_batch() 84 int idx = pidx(hq->provider->query_type); 101 ASSERTED int idx = pidx(hq->provider->query_type); 263 fd_hw_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_hw_create_query() argument 267 int idx = pidx(query_type); in fd_hw_create_query() 276 DBG("%p: query_type=%u", hq, query_type); in fd_hw_create_query() 285 q->type = query_type; in fd_hw_create_query() [all...] |
H A D | freedreno_query_sw.c | 171 fd_sw_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_sw_create_query() argument 176 switch (query_type) { in fd_sw_create_query() 200 q->type = query_type; in fd_sw_create_query()
|
H A D | freedreno_query.h | 105 /* maps query_type to sample provider idx: */ 107 pidx(unsigned query_type) in pidx() argument 109 switch (query_type) { in pidx()
|
H A D | freedreno_query_hw.h | 48 * queries with the same query_type. So we cache per sample provider 71 unsigned query_type; member 135 struct fd_query *fd_hw_create_query(struct fd_context *ctx, unsigned query_type,
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_query.cpp | 63 num_sub_queries(unsigned query_type) in num_sub_queries() argument 65 switch (query_type) { in num_sub_queries() 74 d3d12_query_heap_type(unsigned query_type, unsigned sub_query) in d3d12_query_heap_type() argument 76 switch (query_type) { in d3d12_query_heap_type() 96 util_str_query_type(query_type, true)); in d3d12_query_heap_type() 102 d3d12_query_type(unsigned query_type, unsigned sub_query, unsigned index) in d3d12_query_type() argument 104 switch (query_type) { in d3d12_query_type() 124 util_str_query_type(query_type, true)); in d3d12_query_type() 131 unsigned query_type, unsigned index) in d3d12_create_query() 141 query->type = (pipe_query_type)query_type; in d3d12_create_query() 130 d3d12_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index) d3d12_create_query() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_query.c | 32 unsigned query_type, in r300_create_query() 39 if (query_type != PIPE_QUERY_OCCLUSION_COUNTER && in r300_create_query() 40 query_type != PIPE_QUERY_OCCLUSION_PREDICATE && in r300_create_query() 41 query_type != PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE && in r300_create_query() 42 query_type != PIPE_QUERY_GPU_FINISHED) { in r300_create_query() 50 q->type = query_type; in r300_create_query() 52 if (query_type == PIPE_QUERY_GPU_FINISHED) { in r300_create_query() 31 r300_create_query(struct pipe_context *pipe, unsigned query_type, unsigned index) r300_create_query() argument
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_driver_query.c | 134 unsigned query_type, unsigned *result_index) in batch_query_add() 147 if (bq->query_types[i] == query_type) { in batch_query_add() 165 bq->query_types[bq->num_query_types] = query_type; in batch_query_add() 197 enum pipe_query_type query_type; member 272 pipe->create_query(pipe, info->query_type, 0); in query_new_value_normal() 280 pipe->create_query(pipe, info->query_type, 0); in query_new_value_normal() 289 info->query[info->head] = pipe->create_query(pipe, info->query_type, 0); in query_new_value_normal() 373 enum pipe_query_type query_type, in hud_pipe_query_install() 400 if (!batch_query_add(pbq, query_type, &info->result_index)) in hud_pipe_query_install() 405 info->query_type in hud_pipe_query_install() 133 batch_query_add(struct hud_batch_query_context **pbq, unsigned query_type, unsigned *result_index) batch_query_add() argument 370 hud_pipe_query_install(struct hud_batch_query_context **pbq, struct hud_pane *pane, 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, unsigned flags) hud_pipe_query_install() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_query.c | 240 .query_type = PIPE_QUERY_OCCLUSION_COUNTER, 246 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE, 252 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE, 258 .query_type = PIPE_QUERY_TIME_ELAPSED, 272 .query_type = PIPE_QUERY_TIMESTAMP,
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_query_acc.h | 37 bool (*supports)(unsigned query_type); 38 struct etna_acc_query * (*allocate)(struct etna_context *ctx, unsigned query_type); 65 etna_acc_create_query(struct etna_context *ctx, unsigned query_type);
|
H A D | etnaviv_query_acc.c | 165 etna_acc_create_query(struct etna_context *ctx, unsigned query_type) in etna_acc_create_query() argument 175 if (p->supports(query_type)) in etna_acc_create_query() 184 aq = p->allocate(ctx, query_type); in etna_acc_create_query() 194 q->type = query_type; in etna_acc_create_query()
|
H A D | etnaviv_query_acc_perfmon.c | 97 perfmon_supports(unsigned query_type) in perfmon_supports() argument 99 return !!etna_pm_query_config(query_type); in perfmon_supports() 103 perfmon_allocate(struct etna_context *ctx, unsigned query_type) in perfmon_allocate() argument 108 cfg = etna_pm_query_config(query_type); in perfmon_allocate()
|
H A D | etnaviv_query_acc_occlusion.c | 47 occlusion_supports(unsigned query_type) in occlusion_supports() argument 49 switch (query_type) { in occlusion_supports() 62 occlusion_allocate(struct etna_context *ctx, ASSERTED unsigned query_type) in occlusion_allocate() argument
|
H A D | etnaviv_query_sw.c | 94 etna_sw_create_query(struct etna_context *ctx, unsigned query_type) in etna_sw_create_query() argument 99 switch (query_type) { in etna_sw_create_query() 114 q->type = query_type; in etna_sw_create_query()
|
H A D | etnaviv_query.c | 38 etna_create_query(struct pipe_context *pctx, unsigned query_type, in etna_create_query() argument 44 q = etna_sw_create_query(ctx, query_type); in etna_create_query() 46 q = etna_acc_create_query(ctx, query_type); in etna_create_query()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_query_pipe.c | 190 v3d_create_query_pipe(struct v3d_context *v3d, unsigned query_type, unsigned index) in v3d_create_query_pipe() argument 192 if (query_type >= PIPE_QUERY_DRIVER_SPECIFIC) in v3d_create_query_pipe() 198 pquery->type = query_type; in v3d_create_query_pipe()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_query.c | 118 .query_type = PIPE_QUERY_OCCLUSION_COUNTER, 124 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE, 130 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE,
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_query.c | 96 unsigned query_type, unsigned index) in virgl_create_query() 114 query->result_size = (query_type == PIPE_QUERY_TIMESTAMP || in virgl_create_query() 115 query_type == PIPE_QUERY_TIME_ELAPSED) ? 8 : 4; in virgl_create_query() 122 pipe_to_virgl_query(query_type), index, query->buf, 0); in virgl_create_query() 95 virgl_create_query(struct pipe_context *ctx, unsigned query_type, unsigned index) virgl_create_query() argument
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_query.c | 137 .query_type = PIPE_QUERY_OCCLUSION_COUNTER, 145 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE, 153 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE, 245 .query_type = PIPE_QUERY_TIME_ELAPSED, 261 .query_type = PIPE_QUERY_TIMESTAMP, 391 .query_type = PIPE_QUERY_PRIMITIVES_GENERATED, 446 .query_type = PIPE_QUERY_PRIMITIVES_EMITTED, 565 .query_type = FD_QUERY_FIRST_PERFCNTR, 598 /* verify valid query_type, ie. is it actually a perfcntr? */ in fd6_create_batch_query() 601 mesa_loge("invalid batch query query_type in fd6_create_batch_query() [all...] |
/third_party/mesa3d/src/freedreno/perfcntrs/ |
H A D | freedreno_perfcntr.h | 87 enum fd_perfcntr_type query_type; member 114 .query_type = FD_PERFCNTR_TYPE_##_query_type, \
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_query.c | 133 .query_type = PIPE_QUERY_OCCLUSION_COUNTER, 141 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE, 149 .query_type = PIPE_QUERY_OCCLUSION_PREDICATE_CONSERVATIVE, 224 .query_type = PIPE_QUERY_TIME_ELAPSED, 240 .query_type = PIPE_QUERY_TIMESTAMP, 360 .query_type = FD_QUERY_FIRST_PERFCNTR, 393 /* verify valid query_type, ie. is it actually a perfcntr? */ in fd5_create_batch_query() 396 mesa_loge("invalid batch query query_type: %u", query_types[i]); in fd5_create_batch_query()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_query.c | 503 static struct pipe_query *si_query_sw_create(unsigned query_type) in si_query_sw_create() argument 511 query->b.type = query_type; in si_query_sw_create() 696 static struct pipe_query *si_query_hw_create(struct si_screen *sscreen, unsigned query_type, in si_query_hw_create() argument 703 query->b.type = query_type; in si_query_hw_create() 707 switch (query_type) { in si_query_hw_create() 1191 static struct pipe_query *si_create_query(struct pipe_context *ctx, unsigned query_type, in si_create_query() argument 1196 if (query_type == PIPE_QUERY_TIMESTAMP_DISJOINT || query_type == PIPE_QUERY_GPU_FINISHED || in si_create_query() 1197 (query_type >= PIPE_QUERY_DRIVER_SPECIFIC)) in si_create_query() 1198 return si_query_sw_create(query_type); in si_create_query() [all...] |