Home
last modified time | relevance | path

Searched refs:query_type (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglquery.c70 _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 …]
Dgstglquery.h51 guint query_type; member
64 GstGLQueryType query_type);
69 GstGLQueryType query_type);
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c189 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/
Dhud_driver_query.c134 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/
Dd3d12_query.cpp63 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/
Dr300_query.c32 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/
Dfreedreno_query.c41 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()
Dfreedreno_query_acc.c189 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()
Dfreedreno_query_hw.c43 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()
Dfreedreno_query_acc.h58 unsigned query_type; member
102 unsigned query_type, unsigned index);
104 fd_acc_create_query2(struct fd_context *ctx, unsigned query_type,
Dfreedreno_query_sw.c171 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()
Dfreedreno_query.h107 pidx(unsigned query_type) in pidx() argument
109 switch (query_type) { in pidx()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_acc_perfmon.c97 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()
Detnaviv_query_acc.h37 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);
Detnaviv_query_acc.c165 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()
Detnaviv_query_acc_occlusion.c47 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
Detnaviv_query_sw.c94 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()
Detnaviv_query.c38 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/
Dfd4_query.c240 .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/
Dfd3_query.c118 .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/
Dfd6_query.c137 .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/
Dfd5_query.c133 .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/
Dv3d_query_pipe.c190 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/
Dvirgl_query.c96 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/
Dsi_query.c503 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 …]

1234