/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglquery.c | 70 _query_type_to_string (guint query_type) in _query_type_to_string() argument 72 switch (query_type) { in _query_type_to_string() 85 _gst_gl_query_type_to_gl (GstGLQueryType query_type) in _gst_gl_query_type_to_gl() argument 87 if (query_type == GST_GL_QUERY_TIME_ELAPSED) in _gst_gl_query_type_to_gl() 89 if (query_type == GST_GL_QUERY_TIMESTAMP) in _gst_gl_query_type_to_gl() 134 GstGLQueryType query_type) in gst_gl_query_init() argument 142 gl_query_type = _gst_gl_query_type_to_gl (query_type); in gst_gl_query_init() 149 query->query_type = gl_query_type; in gst_gl_query_init() 151 query->supported = _context_supports_query_type (context, query->query_type); in gst_gl_query_init() 204 gst_gl_query_new (GstGLContext * context, GstGLQueryType query_type) in gst_gl_query_new() argument [all …]
|
D | gstglquery.h | 51 guint query_type; member 64 GstGLQueryType query_type); 69 GstGLQueryType query_type);
|
/third_party/mesa3d/src/broadcom/vulkan/ |
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() argument 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 == VK_QUERY_TYPE_TIMESTAMP); in write_timestamp_query_result() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_driver_query.c | 134 unsigned query_type, unsigned *result_index) in batch_query_add() argument 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() argument 400 if (!batch_query_add(pbq, query_type, &info->result_index)) in hud_pipe_query_install() 405 info->query_type = query_type; in hud_pipe_query_install() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
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() argument 141 query->type = (pipe_query_type)query_type; in d3d12_create_query() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_query.c | 32 unsigned query_type, in r300_create_query() argument 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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
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()
|
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()
|
D | freedreno_query_hw.c | 43 unsigned query_type) assert_dt in get_sample() argument 47 int idx = pidx(query_type); in get_sample() 76 int idx = pidx(hq->provider->query_type); in query_active_in_batch() 84 int idx = pidx(hq->provider->query_type); in resume_query() 101 ASSERTED int idx = pidx(hq->provider->query_type); in pause_query() 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() 418 int idx = pidx(provider->query_type); in fd_hw_query_register_provider()
|
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,
|
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()
|
D | freedreno_query.h | 107 pidx(unsigned query_type) in pidx() argument 109 switch (query_type) { in pidx()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
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()
|
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);
|
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()
|
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
|
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()
|
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/freedreno/a4xx/ |
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/freedreno/a3xx/ |
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/freedreno/a6xx/ |
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,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
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,
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
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/virgl/ |
D | virgl_query.c | 96 unsigned query_type, unsigned index) in virgl_create_query() argument 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()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
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() 1201 (query_type == PIPE_QUERY_PRIMITIVES_EMITTED || in si_create_query() [all …]
|