Home
last modified time | relevance | path

Searched refs:vkInterface (Results 1 – 21 of 21) 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()
80 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), BeginCommandBuffer(fCmdBuffer, in begin()
88 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), EndCommandBuffer(fCmdBuffer)); in end()
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()
138 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), QueueSubmit(queue, 1, &submitInfo, fSubmitFence)); in submitToQueue()
141 err = GR_VK_CALL(gpu->vkInterface(), in submitToQueue()
[all …]
DGrVkCaps.cpp14 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() argument
47 this->init(contextOptions, vkInterface, physDev); in GrVkCaps()
50 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init() argument
53 this->initGLSLCaps(vkInterface, physDev); in init()
54 this->initConfigTexturableTable(vkInterface, physDev); in init()
55 this->initConfigRenderableTable(vkInterface, physDev); in init()
56 this->initStencilFormats(vkInterface, physDev); in init()
59 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
DGrVkProgramBuilder.cpp134 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(), in CreateVkShaderModule()
191 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), in finalize()
221 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), CreateDescriptorSetLayout( in finalize()
238 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), CreatePipelineLayout(fGpu->device(), in finalize()
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()
305 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), AllocateDescriptorSets(fGpu->device(), in finalize()
DGrVkDescriptorPool.cpp38 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateDescriptorPool(gpu->device(), in GrVkDescriptorPool()
49 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), ResetDescriptorPool(gpu->device(), fDescPool, 0)); in reset()
55 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
DGrVkMemory.cpp51 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateMemory(gpu->device(), in alloc_device_memory()
65 const GrVkInterface* interface = gpu->vkInterface(); in AllocAndBindBufferMemory()
89 const GrVkInterface* interface = gpu->vkInterface(); in AllocAndBindImageMemory()
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()
DGrVkCaps.h29 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
82 void init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
DGrVkSampler.cpp63 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateSampler(gpu->device(), in Create()
73 GR_VK_CALL(gpu->vkInterface(), DestroySampler(gpu->device(), fSampler, nullptr)); in freeGPUData()
DGrVkRenderPass.cpp123 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateRenderPass(gpu->device(), in initSimple()
130 GR_VK_CALL(gpu->vkInterface(), DestroyRenderPass(gpu->device(), fRenderPass, nullptr)); in freeGPUData()
DGrVkGpu.cpp38 #define VK_CALL(X) GR_VK_CALL(this->vkInterface(), X)
39 #define VK_CALL_RET(RET, X) GR_VK_CALL_RET(this->vkInterface(), RET, X)
40 #define VK_CALL_ERRCHECK(X) GR_VK_CALL_ERRCHECK(this->vkInterface(), X)
346 const GrVkInterface* interface = this->vkInterface(); in uploadTexData()
772 const GrVkInterface* interface = this->vkInterface(); in createTestingOnlyBackendTexture()
816 GR_VK_CALL(this->vkInterface(), GetImageMemoryRequirements(fDevice, in isTestingOnlyBackendTexture()
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)
DGrVkGpu.h42 const GrVkInterface* vkInterface() const { return fInterface.get(); } in vkInterface() function
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)