Home
last modified time | relevance | path

Searched refs:queryPool (Results 1 – 25 of 69) sorted by relevance

123

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_query_pool.h146 static inline size_t vn_sizeof_vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkA… in vn_sizeof_vkDestroyQueryPool() argument
153 cmd_size += vn_sizeof_VkQueryPool(&queryPool); in vn_sizeof_vkDestroyQueryPool()
161 …encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, const VkAllocat… in vn_encode_vkDestroyQueryPool() argument
169 vn_encode_VkQueryPool(enc, &queryPool); in vn_encode_vkDestroyQueryPool()
174 static inline size_t vn_sizeof_vkDestroyQueryPool_reply(VkDevice device, VkQueryPool queryPool, con… in vn_sizeof_vkDestroyQueryPool_reply() argument
186 …QueryPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkQueryPool queryPool, const VkAllocat… in vn_decode_vkDestroyQueryPool_reply() argument
197 static inline size_t vn_sizeof_vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32… in vn_sizeof_vkGetQueryPoolResults() argument
204 cmd_size += vn_sizeof_VkQueryPool(&queryPool); in vn_sizeof_vkGetQueryPoolResults()
215 …encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQ… in vn_encode_vkGetQueryPoolResults() argument
223 vn_encode_VkQueryPool(enc, &queryPool); in vn_encode_vkGetQueryPoolResults()
[all …]
Dvn_protocol_driver_command_buffer.h3732 static inline size_t vn_sizeof_vkCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool in vn_sizeof_vkCmdBeginQuery() argument
3739 cmd_size += vn_sizeof_VkQueryPool(&queryPool); in vn_sizeof_vkCmdBeginQuery()
3746 …VkCommandFlagsEXT cmd_flags, VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query,… in vn_encode_vkCmdBeginQuery() argument
3754 vn_encode_VkQueryPool(enc, &queryPool); in vn_encode_vkCmdBeginQuery()
3759 …sizeof_vkCmdBeginQuery_reply(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query,… in vn_sizeof_vkCmdBeginQuery_reply() argument
3772 …y(struct vn_cs_decoder *dec, VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query,… in vn_decode_vkCmdBeginQuery_reply() argument
3784 static inline size_t vn_sizeof_vkCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, … in vn_sizeof_vkCmdEndQuery() argument
3791 cmd_size += vn_sizeof_VkQueryPool(&queryPool); in vn_sizeof_vkCmdEndQuery()
3797 … VkCommandFlagsEXT cmd_flags, VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query) in vn_encode_vkCmdEndQuery() argument
3805 vn_encode_VkQueryPool(enc, &queryPool); in vn_encode_vkCmdEndQuery()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_query.c46 VkQueryPool queryPool, in panvk_GetQueryPoolResults() argument
60 VkQueryPool queryPool, in panvk_CmdCopyQueryPoolResults() argument
73 VkQueryPool queryPool, in panvk_CmdResetQueryPool() argument
82 VkQueryPool queryPool, in panvk_CmdBeginQuery() argument
91 VkQueryPool queryPool, in panvk_CmdEndQuery() argument
100 VkQueryPool queryPool, in panvk_CmdWriteTimestamp() argument
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c110 VkQueryPool queryPool, in v3dv_DestroyQueryPool() argument
114 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_DestroyQueryPool()
286 VkQueryPool queryPool, in v3dv_GetQueryPoolResults() argument
295 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_GetQueryPoolResults()
303 VkQueryPool queryPool, in v3dv_CmdResetQueryPool() argument
308 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdResetQueryPool()
315 VkQueryPool queryPool, in v3dv_CmdCopyQueryPoolResults() argument
324 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdCopyQueryPoolResults()
334 VkQueryPool queryPool, in v3dv_CmdBeginQuery() argument
339 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdBeginQuery()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_query_pool.c69 VkQueryPool queryPool, in vn_DestroyQueryPool() argument
73 struct vn_query_pool *pool = vn_query_pool_from_handle(queryPool); in vn_DestroyQueryPool()
81 vn_async_vkDestroyQueryPool(dev->instance, device, queryPool, NULL); in vn_DestroyQueryPool()
89 VkQueryPool queryPool, in vn_ResetQueryPool() argument
95 vn_async_vkResetQueryPool(dev->instance, device, queryPool, firstQuery, in vn_ResetQueryPool()
101 VkQueryPool queryPool, in vn_GetQueryPoolResults() argument
110 struct vn_query_pool *pool = vn_query_pool_from_handle(queryPool); in vn_GetQueryPoolResults()
141 dev->instance, device, queryPool, firstQuery, queryCount, packed_size, in vn_GetQueryPoolResults()
Dvn_command_buffer.c1504 VkQueryPool queryPool, in vn_CmdBeginQuery() argument
1513 vn_sizeof_vkCmdBeginQuery(commandBuffer, queryPool, query, flags); in vn_CmdBeginQuery()
1517 vn_encode_vkCmdBeginQuery(&cmd->cs, 0, commandBuffer, queryPool, query, in vn_CmdBeginQuery()
1523 VkQueryPool queryPool, in vn_CmdEndQuery() argument
1530 cmd_size = vn_sizeof_vkCmdEndQuery(commandBuffer, queryPool, query); in vn_CmdEndQuery()
1534 vn_encode_vkCmdEndQuery(&cmd->cs, 0, commandBuffer, queryPool, query); in vn_CmdEndQuery()
1539 VkQueryPool queryPool, in vn_CmdResetQueryPool() argument
1547 cmd_size = vn_sizeof_vkCmdResetQueryPool(commandBuffer, queryPool, in vn_CmdResetQueryPool()
1552 vn_encode_vkCmdResetQueryPool(&cmd->cs, 0, commandBuffer, queryPool, in vn_CmdResetQueryPool()
1559 VkQueryPool queryPool, in vn_CmdWriteTimestamp() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp1058 CmdBeginQuery(vk::QueryPool *queryPool, uint32_t query, VkQueryControlFlags flags) in CmdBeginQuery() argument
1059 : queryPool(queryPool) in CmdBeginQuery()
1071 queryPool->begin(query + i, flags); in execute()
1075 ASSERT(queryPool->getType() == VK_QUERY_TYPE_OCCLUSION); in execute()
1076 executionState.renderer->addQuery(queryPool->getQuery(query)); in execute()
1082 vk::QueryPool *const queryPool; member in __anon8991f80c0111::CmdBeginQuery
1090 CmdEndQuery(vk::QueryPool *queryPool, uint32_t query) in CmdEndQuery() argument
1091 : queryPool(queryPool) in CmdEndQuery()
1099 ASSERT(queryPool->getType() == VK_QUERY_TYPE_OCCLUSION); in execute()
1100 executionState.renderer->removeQuery(queryPool->getQuery(query)); in execute()
[all …]
DVkCommandBuffer.hpp81 void beginQuery(QueryPool *queryPool, uint32_t query, VkQueryControlFlags flags);
82 void endQuery(QueryPool *queryPool, uint32_t query);
83 void resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount);
84 void writeTimestamp(VkPipelineStageFlagBits pipelineStage, QueryPool *queryPool, uint32_t query);
85 void copyQueryPoolResults(const QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp143 …ResultsVector& output, const DeviceInterface& vk, vk::VkDevice device, vk::VkQueryPool queryPool, … in GetQueryPoolResultsVector() argument
155 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
170 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
180 …output, const DeviceInterface& vk, vk::VkDevice device, vk::VkQueryPool queryPool, deUint32 firstQ… in GetQueryPoolResultsVector() argument
191 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
206 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
631 …const Unique<VkQueryPool> queryPool (makeQueryPool(vk, device, 1u, VK_QUERY_PIPELINE_STATISTIC_… in executeTest() local
635 vk.cmdResetQueryPool(*cmdBuffer, *queryPool, 0u, 1u); in executeTest()
640 vk.cmdBeginQuery(*cmdBuffer, *queryPool, 0u, (VkQueryControlFlags)0u); in executeTest()
642 vk.cmdEndQuery(*cmdBuffer, *queryPool, 0u); in executeTest()
[all …]
DvktQueryPoolPerformanceTests.cpp207 bool verifyQueryResults (VkQueryPool queryPool);
318 Move<VkQueryPool> queryPool = vk::createQueryPool(vkd, device, &queryPoolCreateInfo); in createQueryPool() local
321 m_enabledCountersCountMap[queryPool.get().getInternal()] = enabledCountersCount; in createQueryPool()
323 return queryPool; in createQueryPool()
363 bool QueryTestBase::verifyQueryResults(VkQueryPool queryPool) in verifyQueryResults() argument
369 deUint32 enabledCounterCount = m_enabledCountersCountMap[queryPool.getInternal()]; in verifyQueryResults()
373 …VkResult result = vkd.getQueryPoolResults(device, queryPool, 0, 1, sizeof(VkPerformanceCounterResu… in verifyQueryResults()
578 vk::Unique<VkQueryPool> queryPool(createQueryPool(0, 1)); in iterate() local
604 vkd.cmdResetQueryPool(*resetCmdBuffer, *queryPool, 0u, 1u); in iterate()
622 vkd.cmdBeginQuery(*cmdBuffer, *queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h296 VkQueryPool queryPool; member
312 VkQueryPool queryPool; member
320 VkQueryPool queryPool; member
328 VkQueryPool queryPool; member
367 void beginQuery(VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags);
449 void endQuery(VkQueryPool queryPool, uint32_t query);
484 void resetQueryPool(VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
507 VkQueryPool queryPool,
629 ANGLE_INLINE void SecondaryCommandBuffer::beginQuery(VkQueryPool queryPool, in beginQuery() argument
634 paramStruct->queryPool = queryPool; in beginQuery()
[all …]
DQueryVk.cpp36 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(getType()); in onDestroy() local
37 queryPool->freeQuery(contextVk, &mQueryHelper); in onDestroy()
38 queryPool->freeQuery(contextVk, &mQueryHelperTimeElapsedBegin); in onDestroy()
DCommandGraph.h190 void setQueryPool(const QueryPool *queryPool, uint32_t queryIndex);
491 void beginQuery(const QueryPool *queryPool, uint32_t queryIndex);
492 void endQuery(const QueryPool *queryPool, uint32_t queryIndex);
493 void writeTimestamp(const QueryPool *queryPool, uint32_t queryIndex);
Dvk_wrapper.h201 void beginQuery(VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags);
286 void endQuery(VkQueryPool queryPool, uint32_t query);
324 void resetQueryPool(VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
343 VkQueryPool queryPool,
857 ANGLE_INLINE void CommandBuffer::resetQueryPool(VkQueryPool queryPool,
862 vkCmdResetQueryPool(mHandle, queryPool, firstQuery, queryCount);
877 ANGLE_INLINE void CommandBuffer::beginQuery(VkQueryPool queryPool,
882 vkCmdBeginQuery(mHandle, queryPool, query, flags);
885 ANGLE_INLINE void CommandBuffer::endQuery(VkQueryPool queryPool, uint32_t query)
888 vkCmdEndQuery(mHandle, queryPool, query);
[all …]
DSecondaryCommandBuffer.cpp39 vkCmdBeginQuery(cmdBuffer, params->queryPool, params->query, params->flags); in executeCommands()
201 vkCmdEndQuery(cmdBuffer, params->queryPool, params->query); in executeCommands()
273 vkCmdResetQueryPool(cmdBuffer, params->queryPool, params->firstQuery, in executeCommands()
315 vkCmdWriteTimestamp(cmdBuffer, params->pipelineStage, params->queryPool, in executeCommands()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h58 void beginQuery(const QueryPool &queryPool, uint32_t query, VkQueryControlFlags flags);
144 void endQuery(const QueryPool &queryPool, uint32_t query);
185 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
204 const QueryPool &queryPool,
251 ANGLE_INLINE void VulkanSecondaryCommandBuffer::beginQuery(const QueryPool &queryPool, in beginQuery() argument
256 CommandBuffer::beginQuery(queryPool, query, flags); in beginQuery()
259 ANGLE_INLINE void VulkanSecondaryCommandBuffer::endQuery(const QueryPool &queryPool, uint32_t query) in endQuery() argument
262 CommandBuffer::endQuery(queryPool, query); in endQuery()
267 const QueryPool &queryPool, in writeTimestamp() argument
271 CommandBuffer::writeTimestamp(pipelineStage, queryPool, query); in writeTimestamp()
[all …]
DSecondaryCommandBuffer.h97 VkQueryPool queryPool; member
328 VkQueryPool queryPool; member
399 VkQueryPool queryPool; member
446 VkQueryPool queryPool; member
502 void beginQuery(const QueryPool &queryPool, uint32_t query, VkQueryControlFlags flags);
622 void endQuery(const QueryPool &queryPool, uint32_t query);
664 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
691 const QueryPool &queryPool,
885 ANGLE_INLINE void SecondaryCommandBuffer::beginQuery(const QueryPool &queryPool, in beginQuery() argument
890 paramStruct->queryPool = queryPool.getHandle(); in beginQuery()
[all …]
DQueryVk.cpp26 void operator()(vk::QueryHelper &&query) { queryPool->freeQuery(contextVk, &query); } in operator ()()
29 vk::DynamicQueryPool *queryPool; member
145 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseQueries() local
150 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseQueries()
154 queryPool->freeQuery(contextVk, &mQueryHelperTimeElapsedBegin); in releaseQueries()
162 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseStashedQueries() local
168 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseStashedQueries()
Dvk_wrapper.h194 void beginQuery(const QueryPool &queryPool, uint32_t query, VkQueryControlFlags flags);
283 void endQuery(const QueryPool &queryPool, uint32_t query);
325 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
344 const QueryPool &queryPool,
967 ANGLE_INLINE void CommandBuffer::resetQueryPool(const QueryPool &queryPool,
971 ASSERT(valid() && queryPool.valid());
972 vkCmdResetQueryPool(mHandle, queryPool.getHandle(), firstQuery, queryCount);
987 ANGLE_INLINE void CommandBuffer::beginQuery(const QueryPool &queryPool,
991 ASSERT(valid() && queryPool.valid());
992 vkCmdBeginQuery(mHandle, queryPool.getHandle(), query, flags);
[all …]
/third_party/mesa3d/src/intel/vulkan/
DgenX_query.c433 VkQueryPool queryPool, in genX()
442 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
717 VkQueryPool queryPool, in genX()
722 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
777 VkQueryPool queryPool, in genX()
781 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
882 VkQueryPool queryPool, in genX()
886 genX(CmdBeginQueryIndexedEXT)(commandBuffer, queryPool, query, flags, 0); in genX()
891 VkQueryPool queryPool, in genX()
897 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_query.c532 VkQueryPool queryPool, in tu_GetQueryPoolResults() argument
541 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_GetQueryPoolResults()
674 VkQueryPool queryPool, in tu_CmdCopyQueryPoolResults() argument
683 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdCopyQueryPoolResults()
741 VkQueryPool queryPool, in tu_CmdResetQueryPool() argument
746 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdResetQueryPool()
763 VkQueryPool queryPool, in tu_ResetQueryPool() argument
767 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_ResetQueryPool()
941 VkQueryPool queryPool, in tu_CmdBeginQuery() argument
946 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdBeginQuery()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c92 VkQueryPool queryPool, in lvp_GetQueryPoolResults() argument
101 LVP_FROM_HANDLE(lvp_query_pool, pool, queryPool); in lvp_GetQueryPoolResults()
199 VkQueryPool queryPool, in lvp_ResetQueryPool() argument
204 LVP_FROM_HANDLE(lvp_query_pool, pool, queryPool); in lvp_ResetQueryPool()
/third_party/mesa3d/src/amd/vulkan/
Dradv_query.c992 radv_GetQueryPoolResults(VkDevice _device, VkQueryPool queryPool, uint32_t firstQuery, in radv_GetQueryPoolResults() argument
997 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_GetQueryPoolResults()
1211 radv_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, in radv_CmdCopyQueryPoolResults() argument
1216 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdCopyQueryPoolResults()
1342 radv_CmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, in radv_CmdResetQueryPool() argument
1346 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdResetQueryPool()
1372 radv_ResetQueryPool(VkDevice _device, VkQueryPool queryPool, uint32_t firstQuery, in radv_ResetQueryPool() argument
1375 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_ResetQueryPool()
1585 radv_CmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, in radv_CmdBeginQueryIndexedEXT() argument
1589 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdBeginQueryIndexedEXT()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsOcclusionQueryTests.cpp304 VkQueryPool queryPool; in iterate() local
319 VK_CHECK(vk.createQueryPool(device, &queryPoolInfo, NULL, &queryPool)); in iterate()
456 vk.cmdResetQueryPool(*cmdBuffer, queryPool, 0, queryCount); in iterate()
489 vk.cmdBeginQuery(cmdBuffer.get(), queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
493 vk.cmdBeginQuery(cmdBuffer.get(), queryPool, 0, DE_NULL); in iterate()
497 vk.cmdEndQuery(cmdBuffer.get(), queryPool, 0); in iterate()
563 …VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSiz… in iterate()
571 vk.destroyQueryPool(device, queryPool, nullptr); in iterate()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c594 sqtt_CmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, in sqtt_CmdResetQueryPool() argument
597 EVENT_MARKER(ResetQueryPool, commandBuffer, queryPool, firstQuery, queryCount); in sqtt_CmdResetQueryPool()
601 sqtt_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, in sqtt_CmdCopyQueryPoolResults() argument
605 EVENT_MARKER(CopyQueryPoolResults, commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, in sqtt_CmdCopyQueryPoolResults()
656 sqtt_CmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, in sqtt_CmdBeginQuery() argument
659 API_MARKER(BeginQuery, commandBuffer, queryPool, query, flags); in sqtt_CmdBeginQuery()
663 sqtt_CmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query) in sqtt_CmdEndQuery() argument
665 API_MARKER(EndQuery, commandBuffer, queryPool, query); in sqtt_CmdEndQuery()
670 VkQueryPool queryPool, uint32_t flags) in sqtt_CmdWriteTimestamp() argument
672 API_MARKER(WriteTimestamp, commandBuffer, pipelineStage, queryPool, flags); in sqtt_CmdWriteTimestamp()

123