Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp47 GR_VK_CALL(gpu->vkInterface(), FreeCommandBuffers(gpu->device(), gpu->cmdPool(), in freeGPUData()
89 GR_VK_CALL(gpu->vkInterface(), ResetCommandBuffer(fCmdBuffer, flags)); in reset()
115 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
126 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
137 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
166 GR_VK_CALL(gpu->vkInterface(), CmdClearAttachments(fCmdBuffer, in clearAttachments()
182 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
203 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
221 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
235 GR_VK_CALL(gpu->vkInterface(), CmdDrawIndexed(fCmdBuffer, in drawIndexed()
[all …]
DGrVkUtil.h20 #define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X; macro
24 VkResult SK_MACRO_APPEND_LINE(ret) = GR_VK_CALL(IFACE, X); \
27 #define GR_VK_CALL_ERRCHECK(IFACE, X) (void) GR_VK_CALL(IFACE, X);
DGrVkMemory.cpp64 GR_VK_CALL(iface, GetBufferMemoryRequirements(device, buffer, &memReqs)); in AllocAndBindBufferMemory()
112 VkResult err = GR_VK_CALL(iface, BindBufferMemory(device, buffer, in AllocAndBindBufferMemory()
148 GR_VK_CALL(iface, GetImageMemoryRequirements(device, image, &memReqs)); in AllocAndBindImageMemory()
200 VkResult err = GR_VK_CALL(iface, BindImageMemory(device, image, in AllocAndBindImageMemory()
227 GR_VK_CALL(gpu->vkInterface(), FreeMemory(gpu->device(), alloc.fMemory, nullptr)); in FreeImageMemory()
295 GR_VK_CALL(gpu->vkInterface(), FlushMappedMemoryRanges(gpu->device(), in FlushMappedAlloc()
308 GR_VK_CALL(gpu->vkInterface(), InvalidateMappedMemoryRanges(gpu->device(), in InvalidateMappedAlloc()
478 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateMemory(gpu->device(), in GrVkSubHeap()
494 GR_VK_CALL(iface, FreeMemory(fGpu->device(), fAlloc, nullptr)); in ~GrVkSubHeap()
524 VkResult err = GR_VK_CALL(fGpu->vkInterface(), AllocateMemory(fGpu->device(), in subAlloc()
[all …]
DGrVkCopyManager.cpp115 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreatePipelineLayout(gpu->device(), in createCopyProgram()
238 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in copySurfaceAsDraw()
271 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in copySurfaceAsDraw()
383 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fVertShaderModule, in destroyResources()
389 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fFragShaderModule, in destroyResources()
395 GR_VK_CALL(gpu->vkInterface(), DestroyPipelineLayout(gpu->device(), fPipelineLayout, in destroyResources()
DGrVkImageView.cpp34 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
44 GR_VK_CALL(gpu->vkInterface(), DestroyImageView(gpu->device(), fImageView, nullptr)); in freeGPUData()
DGrVkFramebuffer.cpp43 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateFramebuffer(gpu->device(), in Create()
56 GR_VK_CALL(gpu->vkInterface(), DestroyFramebuffer(gpu->device(), fFramebuffer, nullptr)); in freeGPUData()
DGrVkPipelineStateBuilder.cpp163 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), vertShaderModule, in finalize()
165 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), fragShaderModule, in finalize()
169 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
DGrVkCaps.cpp76 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
79 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
266 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in stencil_format_supported()
329 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in init()
DGrVkPipelineState.cpp113 GR_VK_CALL(gpu->vkInterface(), DestroyPipelineLayout(gpu->device(), in freeGPUResources()
301 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in writeUniformBuffers()
349 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in writeSamplers()
463 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorSetLayout(gpu->device(), fDescLayout, in freeGPUResources()
DGrVkSemaphore.cpp44 GR_VK_CALL(gpu->vkInterface(), in freeGPUData()
DGrVkRenderPass.cpp142 GR_VK_CALL(gpu->vkInterface(), GetRenderAreaGranularity(gpu->device(), in init()
167 GR_VK_CALL(gpu->vkInterface(), DestroyRenderPass(gpu->device(), fRenderPass, nullptr)); in freeGPUData()
DGrVkDescriptorPool.cpp50 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
DGrVkCommandBuffer.h49 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindVertexBuffer()
65 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
DGrVkStencilAttachment.cpp14 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkUniformBuffer.cpp11 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkSampler.cpp76 GR_VK_CALL(gpu->vkInterface(), DestroySampler(gpu->device(), fSampler, nullptr)); in freeGPUData()
DGrVkCopyPipeline.cpp177 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateGraphicsPipelines(gpu->device(), in Create()
DGrVkGpu.cpp42 #define VK_CALL(X) GR_VK_CALL(this->vkInterface(), X)
472 GR_VK_CALL(interface, GetImageSubresourceLayout(fDevice, in uploadTexDataLinear()
482 err = GR_VK_CALL(interface, MapMemory(fDevice, alloc.fMemory, offset, size, 0, &mapPtr)); in uploadTexDataLinear()
502 GR_VK_CALL(interface, UnmapMemory(fDevice, alloc.fMemory)); in uploadTexDataLinear()
973 VkResult err = GR_VK_CALL(gpu->vkInterface(), MapMemory(gpu->device(), in copy_testing_data()
987 GR_VK_CALL(gpu->vkInterface(), UnmapMemory(gpu->device(), alloc.fMemory)); in copy_testing_data()
1245 GR_VK_CALL(this->vkInterface(), GetImageMemoryRequirements(fDevice, in isTestingOnlyBackendTexture()
DGrVkImage.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkTextureRenderTarget.cpp19 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
DGrVkResourceProvider.cpp44 VkResult result = GR_VK_CALL(fGpu->vkInterface(), in init()
353 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineCache(fGpu->device(), fPipelineCache, nullptr)); in destroyResources()
DGrVkUtil.cpp300 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(), in GrCompileVkShaderModule()
DGrVkBuffer.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp240 GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice)); in createSwapchain()
352 GR_VK_CALL(fBackendContext->fInterface, in destroyBuffers()
356 GR_VK_CALL(fBackendContext->fInterface, in destroyBuffers()
360 GR_VK_CALL(fBackendContext->fInterface, in destroyBuffers()
363 GR_VK_CALL(fBackendContext->fInterface, in destroyBuffers()
365 GR_VK_CALL(fBackendContext->fInterface, in destroyBuffers()
391 GR_VK_CALL(fBackendContext->fInterface, QueueWaitIdle(fPresentQueue)); in destroyContext()
392 GR_VK_CALL(fBackendContext->fInterface, DeviceWaitIdle(fBackendContext->fDevice)); in destroyContext()
397 GR_VK_CALL(fBackendContext->fInterface, DestroyCommandPool(fBackendContext->fDevice, in destroyContext()
501 GR_VK_CALL(fBackendContext->fInterface, in getBackbufferSurface()
[all …]
/external/skia/tools/gpu/vk/
DVkTestContext.cpp57 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer)); in ~VkFenceSync()
58 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr)); in ~VkFenceSync()
86 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever)); in waitFence()
92 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr)); in deleteFence()

12