Home
last modified time | relevance | path

Searched refs:pquery (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_query_pipe.c51 struct v3d_query_pipe *pquery = (struct v3d_query_pipe *)query; in v3d_destroy_query_pipe() local
53 v3d_bo_unreference(&pquery->bo); in v3d_destroy_query_pipe()
54 free(pquery); in v3d_destroy_query_pipe()
60 struct v3d_query_pipe *pquery = (struct v3d_query_pipe *)query; in v3d_begin_query_pipe() local
62 switch (pquery->type) { in v3d_begin_query_pipe()
71 pquery->start = v3d->prims_generated; in v3d_begin_query_pipe()
80 pquery->start = v3d->tf_prims_generated; in v3d_begin_query_pipe()
85 pquery->bo = v3d_bo_alloc(v3d->screen, 4096, "query"); in v3d_begin_query_pipe()
86 uint32_t *map = v3d_bo_map(pquery->bo); in v3d_begin_query_pipe()
89 v3d->current_oq = pquery->bo; in v3d_begin_query_pipe()
[all …]
Dv3d_query_perfcnt.c188 struct v3d_query_perfcnt *pquery = (struct v3d_query_perfcnt *)query; in v3d_destroy_query_perfcnt() local
190 assert(pquery->perfmon); in v3d_destroy_query_perfcnt()
192 if (v3d->active_perfmon == pquery->perfmon) { in v3d_destroy_query_perfcnt()
196 if (pquery->perfmon->kperfmon_id) in v3d_destroy_query_perfcnt()
197 kperfmon_destroy(v3d, pquery->perfmon); in v3d_destroy_query_perfcnt()
199 v3d_fence_unreference(&pquery->perfmon->last_job_fence); in v3d_destroy_query_perfcnt()
200 free(pquery->perfmon); in v3d_destroy_query_perfcnt()
207 struct v3d_query_perfcnt *pquery = (struct v3d_query_perfcnt *)query; in v3d_begin_query_perfcnt() local
219 assert(pquery->perfmon); in v3d_begin_query_perfcnt()
222 if (pquery->perfmon->kperfmon_id) in v3d_begin_query_perfcnt()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_query.c167 vc4_destroy_query(struct pipe_context *pctx, struct pipe_query *pquery) in vc4_destroy_query() argument
170 struct vc4_query *query = (struct vc4_query *)pquery; in vc4_destroy_query()
188 vc4_begin_query(struct pipe_context *pctx, struct pipe_query *pquery) in vc4_begin_query() argument
190 struct vc4_query *query = (struct vc4_query *)pquery; in vc4_begin_query()
230 vc4_end_query(struct pipe_context *pctx, struct pipe_query *pquery) in vc4_end_query() argument
232 struct vc4_query *query = (struct vc4_query *)pquery; in vc4_end_query()
250 vc4_get_query_result(struct pipe_context *pctx, struct pipe_query *pquery, in vc4_get_query_result() argument
254 struct vc4_query *query = (struct vc4_query *)pquery; in vc4_get_query_result()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_query.c510 force_cpu_read(struct zink_context *ctx, struct pipe_query *pquery, enum pipe_query_value_type resu… in force_cpu_read() argument
514 struct zink_query *query = (struct zink_query*)pquery; in force_cpu_read()
520 bool success = get_query_result(pctx, pquery, true, &result); in force_cpu_read()
935 struct pipe_query *pquery, in zink_render_condition() argument
940 struct zink_query *query = (struct zink_query *)pquery; in zink_render_condition()
978 force_cpu_read(ctx, pquery, PIPE_QUERY_TYPE_U32, &res->base.b, 0); in zink_render_condition()
991 struct pipe_query *pquery, in zink_get_query_result_resource() argument
1000 struct zink_query *query = (struct zink_query*)pquery; in zink_get_query_result_resource()
1055 force_cpu_read(ctx, pquery, result_type, pres, offset); in zink_get_query_result_resource()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_query.cpp462 struct pipe_query *pquery, in d3d12_render_condition() argument
467 struct d3d12_query *query = (struct d3d12_query *)pquery; in d3d12_render_condition()
482 accumulate_result(ctx, (d3d12_query *)pquery, &result, true); in d3d12_render_condition()
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdemux.c600 GstQuery *pquery; in gst_dvdemux_src_query() local
608 pquery = gst_query_new_duration (GST_FORMAT_BYTES); in gst_dvdemux_src_query()
609 if (!gst_pad_peer_query (dvdemux->sinkpad, pquery)) { in gst_dvdemux_src_query()
610 gst_query_unref (pquery); in gst_dvdemux_src_query()
615 gst_query_parse_duration (pquery, NULL, &end); in gst_dvdemux_src_query()
616 gst_query_unref (pquery); in gst_dvdemux_src_query()