Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mesa
Path: blob/21.2-virgl/src/virtio/vulkan/vn_query_pool.h
4560 views
1
/*
2
* Copyright 2019 Google LLC
3
* SPDX-License-Identifier: MIT
4
*
5
* based in part on anv and radv which are:
6
* Copyright © 2015 Intel Corporation
7
* Copyright © 2016 Red Hat.
8
* Copyright © 2016 Bas Nieuwenhuizen
9
*/
10
11
#ifndef VN_QUERY_POOL_H
12
#define VN_QUERY_POOL_H
13
14
#include "vn_common.h"
15
16
struct vn_query_pool {
17
struct vn_object_base base;
18
19
VkAllocationCallbacks allocator;
20
uint32_t result_array_size;
21
};
22
VK_DEFINE_NONDISP_HANDLE_CASTS(vn_query_pool,
23
base.base,
24
VkQueryPool,
25
VK_OBJECT_TYPE_QUERY_POOL)
26
27
#endif /* VN_QUERY_POOL_H */
28
29