Home | History | Annotate | Download | only in tests

Lines Matching refs:device

140     /* TODO: Verify requested physical device extensions are available */
144 /* Now register callback on device */
167 vkDestroyCommandPool(device(), m_commandPool, NULL);
169 vkDestroyFramebuffer(device(), m_framebuffer, NULL);
171 vkDestroyRenderPass(device(), m_renderPass, NULL);
180 device(), m_renderTargets.back()->targetView(m_render_target_fmt),
182 vkDestroyImage(device(), m_renderTargets.back()->image(), NULL);
183 vkFreeMemory(device(), m_renderTargets.back()->memory(), NULL);
223 err = vkCreateCommandPool(device(), &cmd_pool_info, NULL, &m_commandPool);
371 vkCreateRenderPass(device(), &rp_info, NULL, &m_renderPass);
385 vkCreateFramebuffer(device(), &fb_info, NULL, &m_framebuffer);
396 : vk_testing::Device(obj), id(id) {
406 : vk_testing::Device(obj), id(id) {
418 VkDescriptorSetObj::VkDescriptorSetObj(VkDeviceObj *device)
419 : m_device(device), m_nextSlot(0) {}
448 m_writes.push_back(vk_testing::Device::write_descriptor_set(
466 m_writes.push_back(vk_testing::Device::write_descriptor_set(
797 VkTextureObj::VkTextureObj(VkDeviceObj *device, uint32_t *colors)
798 : VkImageObj(device) {
799 m_device = device;
804 VkImageObj stagingImage(device);
857 VkSamplerObj::VkSamplerObj(VkDeviceObj *device) {
858 m_device = device;
885 VkConstantBufferObj::VkConstantBufferObj(VkDeviceObj *device) {
886 m_device = device;
901 VkConstantBufferObj::VkConstantBufferObj(VkDeviceObj *device, int constantCount,
903 m_device = device;
1018 VkIndexBufferObj::VkIndexBufferObj(VkDeviceObj *device)
1019 : VkConstantBufferObj(device) {}
1071 VkShaderObj::VkShaderObj(VkDeviceObj *device, const char *shader_code,
1081 m_device = device;
1114 VkPipelineObj::VkPipelineObj(VkDeviceObj *device) {
1115 m_device = device;
1321 VkCommandBufferObj::VkCommandBufferObj(VkDeviceObj *device,
1323 m_device = device;
1325 init(*device, vk_testing::CommandBuffer::create_info(pool));
1605 vkDeviceWaitIdle(m_device->device());
1641 void VkDepthStencilObj::Init(VkDeviceObj *device, int32_t width, int32_t height,
1646 m_device = device;