Home
last modified time | relevance | path

Searched refs:queries (Results 1 – 25 of 895) sorted by relevance

12345678910>>...36

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw_metric.c118 uint32_t queries[8]; member
129 .queries[0] = _SM(ACTIVE_WARPS),
130 .queries[1] = _SM(ACTIVE_CYCLES),
138 .queries[0] = _SM(BRANCH),
139 .queries[1] = _SM(DIVERGENT_BRANCH),
147 .queries[0] = _SM(INST_EXECUTED),
148 .queries[1] = _SM(WARPS_LAUNCHED),
156 .queries[0] = _SM(INST_ISSUED),
157 .queries[1] = _SM(INST_EXECUTED),
165 .queries[0] = _SM(INST_ISSUED),
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query_hw_metric.c34 uint32_t queries[4]; member
45 .queries[0] = _SM(BRANCH),
46 .queries[1] = _SM(DIVERGENT_BRANCH),
74 if (hmq->queries[i]->funcs->destroy_query) in nv50_hw_metric_destroy_query()
75 hmq->queries[i]->funcs->destroy_query(nv50, hmq->queries[i]); in nv50_hw_metric_destroy_query()
87 ret = hmq->queries[i]->funcs->begin_query(nv50, hmq->queries[i]); in nv50_hw_metric_begin_query()
101 hmq->queries[i]->funcs->end_query(nv50, hmq->queries[i]); in nv50_hw_metric_end_query()
133 ret = hmq->queries[i]->funcs->get_query_result(nv50, hmq->queries[i], in nv50_hw_metric_get_query_result()
173 hmq->queries[i] = nv50_hw_sm_create_query(nv50, cfg->queries[i]); in nv50_hw_metric_create_query()
174 if (!hmq->queries[i]) { in nv50_hw_metric_create_query()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/doc/
DQueries.md3 OpenGL queries generally have a straightforward mapping to Vulkan queries, with the exception of
4 `GL_PRIMITIVES_GENERATED`. Some Vulkan queries are active only inside a render pass, while others
9 The following queries are recorded outside a render pass. If a render pass is active when
10 `begin()` or `end()` is called for these queries, it will be broken.
17 The rest of the queries are active only inside render passes. The context (`ContextVk`) keeps track
18 of currently active "render pass queries" and automatically pauses and resumes them as render passes
28 active queries.
30 active queries.
32 In Vulkan, a query cannot be paused or resumed, only begun and ended. This means that GL queries
33 that span multiple render passes must use multiple Vulkan queries whose results are accumulated.
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dqueries.adoc5 [[queries]] anchor
13 <<queries-pools, Query Pool>>.
14 The state of these queries can: be read back on the host, or copied to a
17 The supported query types are <<queries-occlusion,Occlusion Queries>>,
18 <<queries-pipestats,Pipeline Statistics Queries>>,
20 <<queries-result-status-only, Result Status Queries>>,
23 <<queries-video-encode-bitstream-buffer-range, Video Encode Bitstream Buffer
26 and <<queries-timestamps, Timestamp Queries>>.
28 <<queries-performance, Performance Queries>> are supported if the associated
32 <<queries-transform-feedback, Transform Feedback Queries>> are supported if
[all …]
Dqueries.txt5 [[queries]]
13 <<queries-pools, Query Pool>>.
14 The state of these queries can: be read back on the host, or copied to a
17 The supported query types are <<queries-occlusion,Occlusion Queries>>,
18 <<queries-pipestats,Pipeline Statistics Queries>>,
20 <<queries-result-status-only, Result Status Queries>>,
23 <<queries-video-encode-bitstream-buffer-range, Video Encode Bitstream
26 and <<queries-timestamps, Timestamp Queries>>.
28 <<queries-performance, Performance Queries>> are supported if the associated
32 <<queries-transform-feedback, Transform Feedback Queries>> are supported if
[all …]
/third_party/openssl/test/
Dproperty_test.c384 } queries[] = { in test_property() local
418 for (i = 0; i < OSSL_NELEM(queries); i++) { in test_property()
423 queries[i].nid, queries[i].prop, in test_property()
425 || !TEST_str_eq((char *)result, queries[i].expected)) { in test_property()
435 for (i = 0; i < OSSL_NELEM(queries); i++) { in test_property()
439 if (queries[i].prov == &fake_prov1) { in test_property()
441 queries[i].nid, in test_property()
442 queries[i].prop, in test_property()
445 || !TEST_str_eq((char *)result, queries[i].expected)) { in test_property()
452 queries[i].nid, in test_property()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c141 pool->queries[query].perf.kperfmon_ids[i] = req.id; in kperfmon_create()
151 if (!pool->queries[query].perf.kperfmon_ids[0]) in kperfmon_destroy()
156 .id = pool->queries[query].perf.kperfmon_ids[i] in kperfmon_destroy()
196 pool->queries = vk_alloc2(&device->vk.alloc, pAllocator, pool_bytes, 8, in v3dv_CreateQueryPool()
198 if (pool->queries == NULL) { in v3dv_CreateQueryPool()
247 pool->queries[query_idx].maybe_available = false; in v3dv_CreateQueryPool()
252 pool->queries[query_idx].bo = pool->bo; in v3dv_CreateQueryPool()
253 pool->queries[query_idx].offset = query_offset; in v3dv_CreateQueryPool()
257 pool->queries[query_idx].value = 0; in v3dv_CreateQueryPool()
262 &pool->queries[query_idx].perf.last_job_sync); in v3dv_CreateQueryPool()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_ray_queries.c36 mark_query_read(struct set *queries, in mark_query_read() argument
56 _mesa_set_add(queries, query); in mark_query_read()
60 nir_find_ray_queries_read(struct set *queries, in nir_find_ray_queries_read() argument
79 mark_query_read(queries, intrin); in nir_find_ray_queries_read()
82 mark_query_read(queries, intrin); in nir_find_ray_queries_read()
95 struct set *queries = data; in nir_replace_unread_queries_instr() local
116 struct set_entry *entry = _mesa_set_search(queries, query); in nir_replace_unread_queries_instr()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_pipeline_statistics_query.txt109 * Submission queries with a target of VERTICES_SUBMITTED_ARB and
113 * Vertex shader queries with a target of VERTEX_SHADER_INVOCATIONS_ARB
117 * Tessellation shader queries with a target of TESS_CONTROL_SHADER_-
123 * Geometry shader queries with a target of GEOMETRY_SHADER_INVOCATIONS
128 * Primitive clipping queries with a target of CLIPPING_INPUT_-
135 * Fragment shader queries with a target of FRAGMENT_SHADER_INVOCATIONS_-
139 * Compute shader queries with a target of COMPUTE_SHADER_INVOCATIONS_ARB
167 For pipeline statistics queries (VERTICES_SUBMITTED_ARB, PRIMITIVES_-
194 Submission queries use query objects to track the number of vertices and
205 for the purposes of VERTICES_SUBMITTED_ARB queries. Additionally,
[all …]
DARB_occlusion_query2.txt91 Occlusion queries (see section 4.1.6) count the number of fragments
138 Occlusion queries use query objects to track fragments or samples
184 for occlusion queries...
186 Modify the paragraph beginning with "For occlusion queries (SAMPLES_PASSED)..."
188 For occlusion queries
232 GLuint queries[N];
237 glGenQueries(N, queries);
244 glBeginQuery(GL_ANY_SAMPLES_PASSED, queries[i]);
251 // Do other work until "most" of the queries are back, to avoid
256 glGetQueryObjectiv(queries[i],
[all …]
DARB_timer_query.txt104 Asynchronous queries provide a mechanism to return information about the
106 supported by the GL. Transform feedback queries (see section 2.16) return
108 and written to one or more buffer objects. Occlusion queries (see section
110 Timer queries (section 5.4) record the amount of time needed to fully
126 Timer queries use query objects to track the amount of time needed to
132 timer queries. The timer is started or stopped when the effects from all
158 object is marked available. QueryCounter timer queries can be used
200 occlusion queries, PRIMITIVES_GENERATED and
201 TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN for primitive queries, or
202 TIME_ELAPSED or TIMESTAMP for timer queries.
[all …]
DARB_occlusion_query.txt76 queries. The application begins an occlusion test and ends it;
81 an application wishes to perform many queries, and it eliminates
86 and it encapsulates occlusion queries in "query objects" that allow
87 applications to issue many queries before asking for the result of
109 - Occlusion queries can replace glReadPixels of the depth buffer to
123 additional types of queries.
171 Should there be a limit on how many queries can be outstanding?
176 internal limit on the number of outstanding queries, it is not
213 occlusion queries will always return that zero samples passed the
214 occlusion test, and so an application should not use occlusion queries
[all …]
/third_party/openGLES/extensions/ARB/
DARB_pipeline_statistics_query.txt119 * Submission queries with a target of VERTICES_SUBMITTED_ARB and
123 * Vertex shader queries with a target of VERTEX_SHADER_INVOCATIONS_ARB
127 * Tessellation shader queries with a target of TESS_CONTROL_SHADER_-
133 * Geometry shader queries with a target of GEOMETRY_SHADER_INVOCATIONS
138 * Primitive clipping queries with a target of CLIPPING_INPUT_-
145 * Fragment shader queries with a target of FRAGMENT_SHADER_INVOCATIONS_-
149 * Compute shader queries with a target of COMPUTE_SHADER_INVOCATIONS_ARB
177 For pipeline statistics queries (VERTICES_SUBMITTED_ARB, PRIMITIVES_-
204 Submission queries use query objects to track the number of vertices and
215 for the purposes of VERTICES_SUBMITTED_ARB queries. Additionally,
[all …]
DARB_occlusion_query2.txt101 Occlusion queries (see section 4.1.6) count the number of fragments
148 Occlusion queries use query objects to track fragments or samples
194 for occlusion queries...
196 Modify the paragraph beginning with "For occlusion queries (SAMPLES_PASSED)..."
198 For occlusion queries
242 GLuint queries[N];
247 glGenQueries(N, queries);
254 glBeginQuery(GL_ANY_SAMPLES_PASSED, queries[i]);
261 // Do other work until "most" of the queries are back, to avoid
266 glGetQueryObjectiv(queries[i],
[all …]
DARB_timer_query.txt114 Asynchronous queries provide a mechanism to return information about the
116 supported by the GL. Transform feedback queries (see section 2.16) return
118 and written to one or more buffer objects. Occlusion queries (see section
120 Timer queries (section 5.4) record the amount of time needed to fully
136 Timer queries use query objects to track the amount of time needed to
142 timer queries. The timer is started or stopped when the effects from all
168 object is marked available. QueryCounter timer queries can be used
210 occlusion queries, PRIMITIVES_GENERATED and
211 TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN for primitive queries, or
212 TIME_ELAPSED or TIMESTAMP for timer queries.
[all …]
DARB_occlusion_query.txt86 queries. The application begins an occlusion test and ends it;
91 an application wishes to perform many queries, and it eliminates
96 and it encapsulates occlusion queries in "query objects" that allow
97 applications to issue many queries before asking for the result of
119 - Occlusion queries can replace glReadPixels of the depth buffer to
133 additional types of queries.
181 Should there be a limit on how many queries can be outstanding?
186 internal limit on the number of outstanding queries, it is not
223 occlusion queries will always return that zero samples passed the
224 occlusion test, and so an application should not use occlusion queries
[all …]
/third_party/musl/src/network/
Dres_msend.c30 int __res_msend_rc(int nqueries, const unsigned char *const *queries, in __res_msend_rc() argument
122 sendto(fd, queries[i], in __res_msend_rc()
144 answers[next][0] != queries[i][0] || in __res_msend_rc()
145 answers[next][1] != queries[i][1] ); i++); in __res_msend_rc()
158 sendto(fd, queries[i], in __res_msend_rc()
182 int __res_msend(int nqueries, const unsigned char *const *queries, in __res_msend() argument
187 return __res_msend_rc(nqueries, queries, qlens, answers, alens, asize, &conf); in __res_msend()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c87 if (pool->queries[i]) in lvp_DestroyQueryPool()
88 device->queue.ctx->destroy_query(device->queue.ctx, pool->queries[i]); in lvp_DestroyQueryPool()
113 if (pool->queries[i]) { in lvp_GetQueryPoolResults()
115 pool->queries[i], in lvp_GetQueryPoolResults()
212 if (pool->queries[idx]) { in lvp_ResetQueryPool()
213 device->queue.ctx->destroy_query(device->queue.ctx, pool->queries[idx]); in lvp_ResetQueryPool()
214 pool->queries[idx] = NULL; in lvp_ResetQueryPool()
/third_party/skia/third_party/externals/angle2/extensions/
DANGLE_timer_query.txt128 Timer queries use query objects to track the amount of time needed to
132 Timer queries are associated with query objects. The command
172 timer queries. The timer is started or stopped when the effects from all
197 that object is marked available. QueryCounterANGLE timer queries can be
221 TIMESTAMP_ANGLE for timer queries.
231 For timer queries (TIME_ELAPSED_ANGLE and TIMESTAMP_ANGLE), if the number
256 that if any query object returns a result available of TRUE, all queries
262 If multiple queries are issued on the same target and id prior to
264 from the last query issued. The results from any queries before the
349 GLint queries[N];
[all …]
/third_party/flutter/skia/third_party/externals/angle2/extensions/
DANGLE_timer_query.txt128 Timer queries use query objects to track the amount of time needed to
132 Timer queries are associated with query objects. The command
172 timer queries. The timer is started or stopped when the effects from all
197 that object is marked available. QueryCounterANGLE timer queries can be
221 TIMESTAMP_ANGLE for timer queries.
231 For timer queries (TIME_ELAPSED_ANGLE and TIMESTAMP_ANGLE), if the number
256 that if any query object returns a result available of TRUE, all queries
262 If multiple queries are issued on the same target and id prior to
264 from the last query issued. The results from any queries before the
349 GLint queries[N];
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_INTEL_performance_query/
Dqueries.txt6 [[queries-performance-intel]]
7 == Intel performance queries
9 Intel performance queries allow an application to capture performance data
11 Performance queries are used in a similar way than other types of queries.
12 A main difference with existing queries is that the resulting data should be
16 [open,refpage='vkInitializePerformanceApiINTEL',desc='Initialize a device for performance queries',…
19 performance queries with the call:
23 * pname:device is the logical device used for the queries.
45 …ninitializePerformanceApiINTEL',desc='Uninitialize a device for performance queries',type='protos']
48 performance queries with the call:
[all …]
Dqueries.adoc6 [[queries-performance-intel]]
7 == Intel performance queries
9 Intel performance queries allow an application to capture performance data
11 Performance queries are used in a similar way than other types of queries.
12 A main difference with existing queries is that the resulting data should be
16 [open,refpage='vkInitializePerformanceApiINTEL',desc='Initialize a device for performance queries',…
19 performance queries with the call:
23 * pname:device is the logical device used for the queries.
45 …ninitializePerformanceApiINTEL',desc='Uninitialize a device for performance queries',type='protos']
48 for performance queries with the call:
[all …]
/third_party/mesa3d/src/intel/ds/
Dintel_pps_perf.cc60 std::vector<struct intel_perf_query_info *> queries = {}; in get_queries() local
63 struct intel_perf_query_info *query = &cfg->queries[i]; in get_queries()
66 queries.push_back(query); in get_queries()
70 return queries; in get_queries()
/third_party/openGLES/extensions/EXT/
DEXT_timer_query.txt83 What should be the minimum number of counter bits for timer queries?
109 occlusion queries or multiple timer queries simultaneously. An
116 types of queries, but not at the same time.
119 implementation -- not having to deal with queries with different result
196 Asynchronous queries provide a mechanism to return information about the
198 supported by the GL. Occlusion queries (section 4.1.7.1) count the number
199 of fragments or samples that pass the depth test. Timer queries (section
202 The results of asynchronous queries are not returned by the GL immediately
279 Occlusion queries use query objects to track the number of fragments or
306 Timer queries use query objects (section 4.1.7) to track the amount of
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_timer_query.txt83 What should be the minimum number of counter bits for timer queries?
109 occlusion queries or multiple timer queries simultaneously. An
116 types of queries, but not at the same time.
119 implementation -- not having to deal with queries with different result
196 Asynchronous queries provide a mechanism to return information about the
198 supported by the GL. Occlusion queries (section 4.1.7.1) count the number
199 of fragments or samples that pass the depth test. Timer queries (section
202 The results of asynchronous queries are not returned by the GL immediately
279 Occlusion queries use query objects to track the number of fragments or
306 Timer queries use query objects (section 4.1.7) to track the amount of
[all …]

12345678910>>...36