Home
last modified time | relevance | path

Searched refs:pAllocator (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkRefUtilImpl.inl221 …ormInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) argument
224 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object));
225 return Move<VkInstance>(check<VkInstance>(object), Deleter<VkInstance>(vk, object, pAllocator));
228 …ice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) argument
231 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object));
232 …return Move<VkDevice>(check<VkDevice>(object), Deleter<VkDevice>(vkp, instance, object, pAllocator
235 …kDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator) argument
238 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object));
239 …ve<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAllocator));
242 …vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) argument
[all …]
DvkRefUtil.inl6 …e& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
7 …lDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
8 …ice, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
9 …e device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
10 …vice, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
11 …e device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
12 …vice, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
13 … device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
14 …ice, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
15 …e device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator = DE_NULL);
[all …]
/third_party/vulkan-loader/loader/
Dallocation.c34 void *loader_alloc(const VkAllocationCallbacks *pAllocator, size_t size, VkSystemAllocationScope al… argument
39 if (pAllocator && pAllocator->pfnAllocation) {
42 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop…
51 void *loader_calloc(const VkAllocationCallbacks *pAllocator, size_t size, VkSystemAllocationScope a… argument
56 if (pAllocator && pAllocator->pfnAllocation) {
59 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop…
71 void loader_free(const VkAllocationCallbacks *pAllocator, void *pMemory) { argument
76 if (pAllocator && pAllocator->pfnFree) {
77 pAllocator->pfnFree(pAllocator->pUserData, pMemory);
85 void *loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size… argument
[all …]
DcJSON.c41 void *cJSON_malloc(const VkAllocationCallbacks *pAllocator, size_t size) { in cJSON_malloc() argument
42 return loader_alloc(pAllocator, size, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in cJSON_malloc()
45 void cJSON_Free(const VkAllocationCallbacks *pAllocator, void *pMemory) { loader_free(pAllocator, p… in cJSON_Free() argument
51 char *cJSON_strdup(const VkAllocationCallbacks *pAllocator, const char *str) { in cJSON_strdup() argument
56 copy = (char *)cJSON_malloc(pAllocator, len); in cJSON_strdup()
63 cJSON *cJSON_New_Item(const VkAllocationCallbacks *pAllocator) { in cJSON_New_Item() argument
64 cJSON *node = (cJSON *)cJSON_malloc(pAllocator, sizeof(cJSON)); in cJSON_New_Item()
67 node->pAllocator = (VkAllocationCallbacks *)pAllocator; in cJSON_New_Item()
78 … if (!(c->type & cJSON_IsReference) && c->valuestring) cJSON_Free(c->pAllocator, c->valuestring); in cJSON_Delete()
79 if (!(c->type & cJSON_StringIsConst) && c->string) cJSON_Free(c->pAllocator, c->string); in cJSON_Delete()
[all …]
DcJSON.h64 VkAllocationCallbacks *pAllocator; member
69 cJSON *cJSON_Parse(const VkAllocationCallbacks *pAllocator, const char *value);
83 void cJSON_Free(const VkAllocationCallbacks *pAllocator, void *p);
99 cJSON *cJSON_CreateNull(const VkAllocationCallbacks *pAllocator);
100 cJSON *cJSON_CreateTrue(const VkAllocationCallbacks *pAllocator);
101 cJSON *cJSON_CreateFalse(const VkAllocationCallbacks *pAllocator);
102 cJSON *cJSON_CreateBool(const VkAllocationCallbacks *pAllocator, int b);
103 cJSON *cJSON_CreateNumber(const VkAllocationCallbacks *pAllocator, double num);
104 cJSON *cJSON_CreateString(const VkAllocationCallbacks *pAllocator, const char *string);
105 cJSON *cJSON_CreateArray(const VkAllocationCallbacks *pAllocator);
[all …]
Ddebug_utils.c47 … const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT messenger) { in util_CreateDebugUtilsMessenger() argument
51 pAllocator, inst, sizeof(VkLayerDbgFunctionNode), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in util_CreateDebugUtilsMessenger()
71 … const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT *pMessenger) { in debug_utils_CreateDebugUtilsMessengerEXT() argument
74 …>layer_inst_disp.CreateDebugUtilsMessengerEXT(inst->instance, pCreateInfo, pAllocator, pMessenger); in debug_utils_CreateDebugUtilsMessengerEXT()
117 const VkAllocationCallbacks *pAllocator) { in util_DestroyDebugUtilsMessenger() argument
125 loader_free_with_instance_fallback(pAllocator, inst, pTrav); in util_DestroyDebugUtilsMessenger()
134 const VkAllocationCallbacks *pAllocator) { in util_CreateDebugUtilsMessengers() argument
141 …util_CreateDebugUtilsMessenger(inst, (const VkDebugUtilsMessengerCreateInfoEXT *)pNext, pAllocator, in util_CreateDebugUtilsMessengers()
161 … const VkAllocationCallbacks *pAllocator) { in debug_utils_DestroyDebugUtilsMessengerEXT() argument
165 … inst->disp->layer_inst_disp.DestroyDebugUtilsMessengerEXT(inst->instance, messenger, pAllocator); in debug_utils_DestroyDebugUtilsMessengerEXT()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiNullHandleTests.cpp42 inline void release (Context& context, VkBuffer buffer, const VkAllocationCallbacks* pAllocator) in release() argument
44 context.getDeviceInterface().destroyBuffer(context.getDevice(), buffer, pAllocator); in release()
47 …e void release (Context& context, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) in release() argument
49 context.getDeviceInterface().destroyBufferView(context.getDevice(), bufferView, pAllocator); in release()
53 …void release (Context& context, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in release() argument
55 context.getDeviceInterface().destroyCommandPool(context.getDevice(), commandPool, pAllocator); in release()
58 …elease (Context& context, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) in release() argument
60 …context.getDeviceInterface().destroyDescriptorPool(context.getDevice(), descriptorPool, pAllocator in release()
64 …ntext& context, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) in release() argument
66 …DeviceInterface().destroyDescriptorSetLayout(context.getDevice(), descriptorSetLayout, pAllocator); in release()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiNullHandleTests.cpp42 inline void release (Context& context, VkBuffer buffer, const VkAllocationCallbacks* pAllocator) in release() argument
44 context.getDeviceInterface().destroyBuffer(context.getDevice(), buffer, pAllocator); in release()
47 …e void release (Context& context, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) in release() argument
49 context.getDeviceInterface().destroyBufferView(context.getDevice(), bufferView, pAllocator); in release()
53 …void release (Context& context, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in release() argument
55 context.getDeviceInterface().destroyCommandPool(context.getDevice(), commandPool, pAllocator); in release()
58 …elease (Context& context, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) in release() argument
60 …context.getDeviceInterface().destroyDescriptorPool(context.getDevice(), descriptorPool, pAllocator in release()
64 …ntext& context, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) in release() argument
66 …DeviceInterface().destroyDescriptorSetLayout(context.getDevice(), descriptorSetLayout, pAllocator); in release()
[all …]
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_buffer_view.h75 …onst VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* p… in vn_sizeof_vkCreateBufferView() argument
85 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateBufferView()
86 if (pAllocator) in vn_sizeof_vkCreateBufferView()
95 …onst VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* p… in vn_encode_vkCreateBufferView() argument
105 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateBufferView()
111 …onst VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* p… in vn_sizeof_vkCreateBufferView_reply() argument
128 …onst VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* p… in vn_decode_vkCreateBufferView_reply() argument
148 …estroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyBufferView() argument
156 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyBufferView()
157 if (pAllocator) in vn_sizeof_vkDestroyBufferView()
[all …]
Dvn_protocol_driver_shader_module.h81 …st VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule*… in vn_sizeof_vkCreateShaderModule() argument
91 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateShaderModule()
92 if (pAllocator) in vn_sizeof_vkCreateShaderModule()
101 …st VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule*… in vn_encode_vkCreateShaderModule() argument
111 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateShaderModule()
117 …st VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule*… in vn_sizeof_vkCreateShaderModule_reply() argument
134 …st VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule*… in vn_decode_vkCreateShaderModule_reply() argument
154 …ShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyShaderModule() argument
162 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyShaderModule()
163 if (pAllocator) in vn_sizeof_vkDestroyShaderModule()
[all …]
Dvn_protocol_driver_sampler_ycbcr_conversion.h81 …erYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrC… in vn_sizeof_vkCreateSamplerYcbcrConversion() argument
91 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateSamplerYcbcrConversion()
92 if (pAllocator) in vn_sizeof_vkCreateSamplerYcbcrConversion()
101 …erYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrC… in vn_encode_vkCreateSamplerYcbcrConversion() argument
111 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateSamplerYcbcrConversion()
117 …erYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrC… in vn_sizeof_vkCreateSamplerYcbcrConversion_reply() argument
134 …erYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrC… in vn_decode_vkCreateSamplerYcbcrConversion_reply() argument
154 …VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroySamplerYcbcrConversion() argument
162 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroySamplerYcbcrConversion()
163 if (pAllocator) in vn_sizeof_vkDestroySamplerYcbcrConversion()
[all …]
Dvn_protocol_driver_descriptor_update_template.h119 …torUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpd… in vn_sizeof_vkCreateDescriptorUpdateTemplate() argument
129 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateDescriptorUpdateTemplate()
130 if (pAllocator) in vn_sizeof_vkCreateDescriptorUpdateTemplate()
139 …torUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpd… in vn_encode_vkCreateDescriptorUpdateTemplate() argument
149 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateDescriptorUpdateTemplate()
155 …torUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpd… in vn_sizeof_vkCreateDescriptorUpdateTemplate_reply() argument
172 …torUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpd… in vn_decode_vkCreateDescriptorUpdateTemplate_reply() argument
192 …vice, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyDescriptorUpdateTemplate() argument
200 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyDescriptorUpdateTemplate()
201 if (pAllocator) in vn_sizeof_vkDestroyDescriptorUpdateTemplate()
[all …]
Dvn_protocol_driver_pipeline_layout.h119 … VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayou… in vn_sizeof_vkCreatePipelineLayout() argument
129 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreatePipelineLayout()
130 if (pAllocator) in vn_sizeof_vkCreatePipelineLayout()
139 … VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayou… in vn_encode_vkCreatePipelineLayout() argument
149 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreatePipelineLayout()
155 … VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayou… in vn_sizeof_vkCreatePipelineLayout_reply() argument
172 … VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayou… in vn_decode_vkCreatePipelineLayout_reply() argument
192 …neLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyPipelineLayout() argument
200 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyPipelineLayout()
201 if (pAllocator) in vn_sizeof_vkDestroyPipelineLayout()
[all …]
Dvn_protocol_driver_image_view.h244 …const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pV… in vn_sizeof_vkCreateImageView() argument
254 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateImageView()
255 if (pAllocator) in vn_sizeof_vkCreateImageView()
264 …const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pV… in vn_encode_vkCreateImageView() argument
274 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateImageView()
280 …const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pV… in vn_sizeof_vkCreateImageView_reply() argument
297 …const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pV… in vn_decode_vkCreateImageView_reply() argument
317 …vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyImageView() argument
325 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyImageView()
326 if (pAllocator) in vn_sizeof_vkDestroyImageView()
[all …]
Dvn_protocol_driver_command_pool.h69 …nst VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* … in vn_sizeof_vkCreateCommandPool() argument
79 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateCommandPool()
80 if (pAllocator) in vn_sizeof_vkCreateCommandPool()
89 …nst VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* … in vn_encode_vkCreateCommandPool() argument
99 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateCommandPool()
105 …nst VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* … in vn_sizeof_vkCreateCommandPool_reply() argument
122 …nst VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* … in vn_decode_vkCreateCommandPool_reply() argument
142 …royCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyCommandPool() argument
150 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyCommandPool()
151 if (pAllocator) in vn_sizeof_vkDestroyCommandPool()
[all …]
Dvn_protocol_driver_descriptor_pool.h193 … VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPoo… in vn_sizeof_vkCreateDescriptorPool() argument
203 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateDescriptorPool()
204 if (pAllocator) in vn_sizeof_vkCreateDescriptorPool()
213 … VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPoo… in vn_encode_vkCreateDescriptorPool() argument
223 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateDescriptorPool()
229 … VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPoo… in vn_sizeof_vkCreateDescriptorPool_reply() argument
246 … VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPoo… in vn_decode_vkCreateDescriptorPool_reply() argument
266 …ptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyDescriptorPool() argument
274 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyDescriptorPool()
275 if (pAllocator) in vn_sizeof_vkDestroyDescriptorPool()
[all …]
Dvn_protocol_driver_framebuffer.h266 …nst VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* … in vn_sizeof_vkCreateFramebuffer() argument
276 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateFramebuffer()
277 if (pAllocator) in vn_sizeof_vkCreateFramebuffer()
286 …nst VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* … in vn_encode_vkCreateFramebuffer() argument
296 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateFramebuffer()
302 …nst VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* … in vn_sizeof_vkCreateFramebuffer_reply() argument
319 …nst VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* … in vn_decode_vkCreateFramebuffer_reply() argument
339 …royFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyFramebuffer() argument
347 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroyFramebuffer()
348 if (pAllocator) in vn_sizeof_vkDestroyFramebuffer()
[all …]
Dvn_protocol_driver_sampler.h266 …, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSam… in vn_sizeof_vkCreateSampler() argument
276 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkCreateSampler()
277 if (pAllocator) in vn_sizeof_vkCreateSampler()
286 …, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSam… in vn_encode_vkCreateSampler() argument
296 if (vn_encode_simple_pointer(enc, pAllocator)) in vn_encode_vkCreateSampler()
302 …, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSam… in vn_sizeof_vkCreateSampler_reply() argument
319 …, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSam… in vn_decode_vkCreateSampler_reply() argument
339 …izeof_vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroySampler() argument
347 cmd_size += vn_sizeof_simple_pointer(pAllocator); in vn_sizeof_vkDestroySampler()
348 if (pAllocator) in vn_sizeof_vkDestroySampler()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPlatform.hpp111 const VkAllocationCallbacks* pAllocator,
134 const VkAllocationCallbacks* pAllocator,
172 const VkAllocationCallbacks* pAllocator) const;
175 const VkAllocationCallbacks* pAllocator,
179 const VkAllocationCallbacks* pAllocator,
183 const VkAllocationCallbacks* pAllocator) const;
196 const VkAllocationCallbacks* pAllocator,
200 const VkAllocationCallbacks* pAllocator) const;
203 const VkAllocationCallbacks* pAllocator,
207 const VkAllocationCallbacks* pAllocator,
[all …]
DvkPlatform.cpp105 const VkAllocationCallbacks* pAllocator, in createDevice() argument
126 VkResult result = InstanceDriver::createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); in createDevice()
163 const VkAllocationCallbacks* pAllocator, in createShaderModule() argument
169 DE_UNREF(pAllocator); in createShaderModule()
203 const VkAllocationCallbacks* pAllocator) const in destroyDeviceHandler()
205 DE_UNREF(pAllocator); in destroyDeviceHandler()
211 const VkAllocationCallbacks* pAllocator, in createDescriptorSetLayoutHandlerNorm() argument
215 VkResult result = m_vk.createDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout); in createDescriptorSetLayoutHandlerNorm()
222 const VkAllocationCallbacks* pAllocator, in createDescriptorSetLayoutHandlerStat() argument
226 DE_UNREF(pAllocator); in createDescriptorSetLayoutHandlerStat()
[all …]
DvkRefUtil.cpp35 const VkAllocationCallbacks* pAllocator) in createGraphicsPipeline() argument
38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createGraphicsPipeline()
39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createGraphicsPipeline()
46 const VkAllocationCallbacks* pAllocator) in createComputePipeline() argument
49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createComputePipeline()
50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createComputePipeline()
59 const VkAllocationCallbacks* pAllocator) in createRayTracingPipelineNV() argument
62 …VK_CHECK(vk.createRayTracingPipelinesNV(device, pipelineCache, 1u, pCreateInfo, pAllocator, &objec… in createRayTracingPipelineNV()
63 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createRayTracingPipelineNV()
71 const VkAllocationCallbacks* pAllocator) in createRayTracingPipelineKHR() argument
[all …]
DvkResourceInterface.hpp81 const VkAllocationCallbacks* pAllocator,
88 const VkAllocationCallbacks* pAllocator,
95 const VkAllocationCallbacks* pAllocator,
100 const VkAllocationCallbacks* pAllocator) const = 0;
103 const VkAllocationCallbacks* pAllocator,
107 const VkAllocationCallbacks* pAllocator,
111 const VkAllocationCallbacks* pAllocator,
115 const VkAllocationCallbacks* pAllocator,
119 const VkAllocationCallbacks* pAllocator,
123 const VkAllocationCallbacks* pAllocator,
[all …]
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp145 … const VkAllocationCallbacks *pAllocator, VkInstance *pInstance) { in wrap_vkCreateInstance() argument
154 VkResult result = fpCreateInstance(pCreateInfo, pAllocator, pInstance); in wrap_vkCreateInstance()
204 …d VKAPI_CALL wrap_vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { in wrap_vkDestroyInstance() argument
208 pDisp->DestroyInstance(vk_inst, pAllocator); in wrap_vkDestroyInstance()
215 … const VkAllocationCallbacks *pAllocator, in wrap_vkCreateDebugUtilsMessengerEXT() argument
220 …VkResult result = pDisp->CreateDebugUtilsMessengerEXT(vk_inst, pCreateInfo, pAllocator, pMessenger… in wrap_vkCreateDebugUtilsMessengerEXT()
230 … const VkAllocationCallbacks *pAllocator) { in wrap_vkDestroyDebugUtilsMessengerEXT() argument
236 pDisp->DestroyDebugUtilsMessengerEXT(vk_inst, vk_mess, pAllocator); in wrap_vkDestroyDebugUtilsMessengerEXT()
241 const VkAllocationCallbacks *pAllocator) { in wrap_vkDestroySurfaceKHR() argument
245 pDisp->DestroySurfaceKHR(vk_inst, surface, pAllocator); in wrap_vkDestroySurfaceKHR()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DlibVulkan.cpp506 …(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkInstance *pIn… in vkCreateInstance() argument
509 pCreateInfo, pAllocator, pInstance); in vkCreateInstance()
541 …VkResult result = vk::DebugUtilsMessenger::Create(pAllocator, debugUtilsMessengerCreateInfoEXT, &m… in vkCreateInstance()
564 VkResult result = vk::DispatchablePhysicalDevice::Create(pAllocator, pCreateInfo, &physicalDevice); in vkCreateInstance()
567 vk::destroy(messenger, pAllocator); in vkCreateInstance()
571 …result = vk::DispatchableInstance::Create(pAllocator, pCreateInfo, pInstance, physicalDevice, vk::… in vkCreateInstance()
574 vk::destroy(messenger, pAllocator); in vkCreateInstance()
575 vk::destroy(physicalDevice, pAllocator); in vkCreateInstance()
582 …TTR void VKAPI_CALL vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) in vkDestroyInstance() argument
584 …("(VkInstance instance = %p, const VkAllocationCallbacks* pAllocator = %p)", instance, pAllocator); in vkDestroyInstance()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_pipeline.c26 const VkAllocationCallbacks *pAllocator, in vn_CreateShaderModule() argument
31 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_CreateShaderModule()
53 const VkAllocationCallbacks *pAllocator) in vn_DestroyShaderModule() argument
58 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_DestroyShaderModule()
74 const VkAllocationCallbacks *pAllocator, in vn_CreatePipelineLayout() argument
79 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_CreatePipelineLayout()
102 const VkAllocationCallbacks *pAllocator) in vn_DestroyPipelineLayout() argument
108 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_DestroyPipelineLayout()
125 const VkAllocationCallbacks *pAllocator, in vn_CreatePipelineCache() argument
131 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_CreatePipelineCache()
[all …]

12345678910>>...19