Home
last modified time | relevance | path

Searched refs:GR_VK_CALL (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp28 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateCommandBuffers(gpu->device(), in Create()
58 GR_VK_CALL(gpu->vkInterface(), DestroyFence(gpu->device(), fSubmitFence, nullptr)); in freeGPUData()
61 GR_VK_CALL(gpu->vkInterface(), FreeCommandBuffers(gpu->device(), gpu->cmdPool(), in freeGPUData()
103 GR_VK_CALL(gpu->vkInterface(), CmdBeginRenderPass(fCmdBuffer, &beginInfo, contents)); in beginRenderPass()
113 GR_VK_CALL(gpu->vkInterface(), CmdEndRenderPass(fCmdBuffer)); in endRenderPass()
124 err = GR_VK_CALL(gpu->vkInterface(), CreateFence(gpu->device(), &fenceInfo, nullptr, in submitToQueue()
141 err = GR_VK_CALL(gpu->vkInterface(), in submitToQueue()
150 GR_VK_CALL(gpu->vkInterface(), DestroyFence(gpu->device(), fSubmitFence, nullptr)); in submitToQueue()
160 VkResult err = GR_VK_CALL(gpu->vkInterface(), GetFenceStatus(gpu->device(), fSubmitFence)); in finished()
193 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
[all …]
DGrVkMemory.cpp51 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateMemory(gpu->device(), in alloc_device_memory()
69 GR_VK_CALL(interface, GetBufferMemoryRequirements(device, buffer, &memReqs)); in AllocAndBindBufferMemory()
77 VkResult err = GR_VK_CALL(interface, BindBufferMemory(device, buffer, *memory, 0)); in AllocAndBindBufferMemory()
79 GR_VK_CALL(interface, FreeMemory(device, *memory, nullptr)); in AllocAndBindBufferMemory()
93 GR_VK_CALL(interface, GetImageMemoryRequirements(device, image, &memReqs)); in AllocAndBindImageMemory()
100 VkResult err = GR_VK_CALL(interface, BindImageMemory(device, image, *memory, 0)); in AllocAndBindImageMemory()
102 GR_VK_CALL(interface, FreeMemory(device, *memory, nullptr)); in AllocAndBindImageMemory()
DGrVkUtil.h18 #define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X; macro
22 VkResult SK_MACRO_APPEND_LINE(ret) = GR_VK_CALL(IFACE, X); \
25 #define GR_VK_CALL_ERRCHECK(IFACE, X) (void) GR_VK_CALL(IFACE, X);
DGrVkProgramBuilder.cpp134 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(), in CreateVkShaderModule()
273 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), vertShaderModule, in finalize()
275 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), fragShaderModule, in finalize()
279 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
281 GR_VK_CALL(fGpu->vkInterface(), DestroyDescriptorSetLayout(fGpu->device(), dsLayout[0], in finalize()
283 GR_VK_CALL(fGpu->vkInterface(), DestroyDescriptorSetLayout(fGpu->device(), dsLayout[1], in finalize()
DGrVkImageView.cpp36 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
46 GR_VK_CALL(gpu->vkInterface(), DestroyImageView(gpu->device(), fImageView, nullptr)); in freeGPUData()
DGrVkFramebuffer.cpp47 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateFramebuffer(gpu->device(), in Create()
60 GR_VK_CALL(gpu->vkInterface(), DestroyFramebuffer(gpu->device(), fFramebuffer, nullptr)); in freeGPUData()
DGrVkCommandBuffer.h70 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindVertexBuffer()
84 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
95 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
DGrVkProgram.cpp100 GR_VK_CALL(gpu->vkInterface(), DestroyPipelineLayout(gpu->device(), in freeGPUResources()
107 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorSetLayout(gpu->device(), fDSLayout[0], in freeGPUResources()
112 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorSetLayout(gpu->device(), fDSLayout[1], in freeGPUResources()
251 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in writeUniformBuffers()
308 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in writeSamplers()
DGrVkGpu.cpp38 #define VK_CALL(X) GR_VK_CALL(this->vkInterface(), X)
348 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, in uploadTexData()
358 err = GR_VK_CALL(interface, MapMemory(fDevice, tex->textureMemory(), offset, size, 0, in uploadTexData()
382 GR_VK_CALL(interface, UnmapMemory(fDevice, tex->textureMemory())); in uploadTexData()
774 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, in createTestingOnlyBackendTexture()
780 err = GR_VK_CALL(interface, MapMemory(fDevice, in createTestingOnlyBackendTexture()
800 GR_VK_CALL(interface, UnmapMemory(fDevice, imageRsrc->fAlloc)); in createTestingOnlyBackendTexture()
816 GR_VK_CALL(this->vkInterface(), GetImageMemoryRequirements(fDevice, in isTestingOnlyBackendTexture()
DGrVkCaps.cpp59 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
133 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in format_supported_for_feature()
DGrVkSampler.cpp73 GR_VK_CALL(gpu->vkInterface(), DestroySampler(gpu->device(), fSampler, nullptr)); in freeGPUData()
DGrVkDescriptorPool.cpp55 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
DGrVkImage.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkStencilAttachment.cpp14 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkTexture.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkTextureRenderTarget.cpp15 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkBuffer.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkRenderPass.cpp130 GR_VK_CALL(gpu->vkInterface(), DestroyRenderPass(gpu->device(), fRenderPass, nullptr)); in freeGPUData()
DGrVkPipeline.cpp492 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateGraphicsPipelines(gpu->device(), in Create()
504 GR_VK_CALL(gpu->vkInterface(), DestroyPipeline(gpu->device(), fPipeline, nullptr)); in freeGPUData()
DGrVkRenderTarget.cpp18 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)