Lines Matching refs:dev_data_

49     dev_data_ = dev_data;  in GpuDeviceMemoryManager()
127 const VkPhysicalDeviceMemoryProperties *props = dev_data_->GetPhysicalDeviceMemoryProperties(); in MemoryTypeFromProperties()
151 const auto *dispatch_table = dev_data_->GetDispatchTable(); in AllocMemoryChunk()
156 … result = dispatch_table->CreateBuffer(dev_data_->GetDevice(), &buffer_create_info, NULL, &buffer); in AllocMemoryChunk()
161 dispatch_table->GetBufferMemoryRequirements(dev_data_->GetDevice(), buffer, &mem_reqs); in AllocMemoryChunk()
170 dispatch_table->DestroyBuffer(dev_data_->GetDevice(), buffer, NULL); in AllocMemoryChunk()
173 result = dispatch_table->AllocateMemory(dev_data_->GetDevice(), &mem_alloc, NULL, &memory); in AllocMemoryChunk()
175 dispatch_table->DestroyBuffer(dev_data_->GetDevice(), buffer, NULL); in AllocMemoryChunk()
179 result = dispatch_table->BindBufferMemory(dev_data_->GetDevice(), buffer, memory, 0); in AllocMemoryChunk()
181 dispatch_table->DestroyBuffer(dev_data_->GetDevice(), buffer, NULL); in AllocMemoryChunk()
182 dispatch_table->FreeMemory(dev_data_->GetDevice(), memory, NULL); in AllocMemoryChunk()
186 …result = dispatch_table->MapMemory(dev_data_->GetDevice(), memory, 0, mem_alloc.allocationSize, 0,… in AllocMemoryChunk()
189 dispatch_table->UnmapMemory(dev_data_->GetDevice(), memory); in AllocMemoryChunk()
191 dispatch_table->DestroyBuffer(dev_data_->GetDevice(), buffer, NULL); in AllocMemoryChunk()
192 dispatch_table->FreeMemory(dev_data_->GetDevice(), memory, NULL); in AllocMemoryChunk()
201 dev_data_->GetDispatchTable()->DestroyBuffer(dev_data_->GetDevice(), chunk.buffer, NULL); in FreeMemoryChunk()
202 dev_data_->GetDispatchTable()->FreeMemory(dev_data_->GetDevice(), chunk.memory, NULL); in FreeMemoryChunk()
213 GpuDescriptorSetManager::GpuDescriptorSetManager(layer_data *dev_data) { dev_data_ = dev_data; } in GpuDescriptorSetManager()
217dev_data_->GetDispatchTable()->DestroyDescriptorPool(dev_data_->GetDevice(), pool.first, NULL); in ~GpuDescriptorSetManager()
224 auto gpu_state = dev_data_->GetGpuValidationState(); in GetDescriptorSets()
257 …result = dev_data_->GetDispatchTable()->CreateDescriptorPool(dev_data_->GetDevice(), &desc_pool_in… in GetDescriptorSets()
270 …result = dev_data_->GetDispatchTable()->AllocateDescriptorSets(dev_data_->GetDevice(), &alloc_info… in GetDescriptorSets()
283 …VkResult result = dev_data_->GetDispatchTable()->FreeDescriptorSets(dev_data_->GetDevice(), desc_p… in PutBackDescriptorSet()
290dev_data_->GetDispatchTable()->DestroyDescriptorPool(dev_data_->GetDevice(), desc_pool, NULL); in PutBackDescriptorSet()
299dev_data_->GetDispatchTable()->DestroyDescriptorPool(dev_data_->GetDevice(), pool.first, NULL); in DestroyDescriptorPools()