Home
last modified time | relevance | path

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

123

/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp62 GR_VK_CALL(gpu->vkInterface(), FreeCommandBuffers(gpu->device(), fCmdPool->vkCommandPool(), in freeGPUData()
148 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
159 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
170 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier(fCmdBuffer, srcStageMask, in pipelineBarrier()
190 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindInputBuffer()
206 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
233 GR_VK_CALL(gpu->vkInterface(), CmdClearAttachments(fCmdBuffer, in clearAttachments()
249 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
270 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
289 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
[all …]
DGrVkMemory.cpp66 VkResult err = GR_VK_CALL(gpu->vkInterface(), BindBufferMemory(gpu->device(), buffer, in AllocAndBindBufferMemory()
83 GR_VK_CALL(gpu->vkInterface(), FreeMemory(gpu->device(), alloc.fMemory, nullptr)); in FreeBufferMemory()
98 GR_VK_CALL(gpu->vkInterface(), GetImageMemoryRequirements(gpu->device(), image, &memReqs)); in AllocAndBindImageMemory()
113 VkResult err = GR_VK_CALL(gpu->vkInterface(), BindImageMemory(gpu->device(), image, in AllocAndBindImageMemory()
129 GR_VK_CALL(gpu->vkInterface(), FreeMemory(gpu->device(), alloc.fMemory, nullptr)); in FreeImageMemory()
148 VkResult err = GR_VK_CALL(gpu->vkInterface(), MapMemory(gpu->device(), alloc.fMemory, in MapAlloc()
162 GR_VK_CALL(gpu->vkInterface(), UnmapMemory(gpu->device(), alloc.fMemory)); in UnmapAlloc()
202 GR_VK_CALL(gpu->vkInterface(), FlushMappedMemoryRanges(gpu->device(), 1, in FlushMappedAlloc()
221 GR_VK_CALL(gpu->vkInterface(), InvalidateMappedMemoryRanges(gpu->device(), 1, in InvalidateMappedAlloc()
DGrVkUtil.h21 #define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X macro
25 VkResult SK_MACRO_APPEND_LINE(ret) = GR_VK_CALL(IFACE, X); \
28 #define GR_VK_CALL_ERRCHECK(IFACE, X) (void) GR_VK_CALL(IFACE, X)
DGrVkBufferView.cpp27 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateBufferView(gpu->device(), &viewInfo, in Create()
37 GR_VK_CALL(gpu->vkInterface(), DestroyBufferView(gpu->device(), fBufferView, 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()
DGrVkImageView.cpp55 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
65 GR_VK_CALL(gpu->vkInterface(), DestroyImageView(gpu->device(), fImageView, nullptr)); in freeGPUData()
DGrVkCopyManager.cpp123 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreatePipelineLayout(gpu->device(), in createCopyProgram()
252 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in copySurfaceAsDraw()
285 GR_VK_CALL(gpu->vkInterface(), UpdateDescriptorSets(gpu->device(), in copySurfaceAsDraw()
426 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fVertShaderModule, in destroyResources()
432 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fFragShaderModule, in destroyResources()
DGrVkCaps.cpp276 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
279 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
514 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties2(physDev, &props)); in initGrCaps()
604 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in stencil_format_supported()
670 GR_VK_CALL(interface, GetPhysicalDeviceImageFormatProperties(physDev, in initSampleCounts()
711 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in init()
DGrVkSamplerYcbcrConversion.cpp60 GR_VK_CALL(gpu->vkInterface(), CreateSamplerYcbcrConversion(gpu->device(), &ycbcrCreateInfo, in Create()
73 GR_VK_CALL(gpu->vkInterface(), DestroySamplerYcbcrConversion(gpu->device(), fYcbcrConversion, in freeGPUData()
DGrVkPipelineLayout.cpp13 GR_VK_CALL(gpu->vkInterface(), DestroyPipelineLayout(gpu->device(), fPipelineLayout, nullptr)); in freeGPUData()
DGrVkPipelineStateBuilder.cpp342 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), vertShaderModule, in finalize()
344 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), fragShaderModule, in finalize()
349 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), geomShaderModule, in finalize()
354 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
DGrVkDescriptorPool.cpp50 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp52 GR_VK_CALL(vkGpu->vkInterface(), FreeCommandBuffers(vkGpu->device(), cmdPool, 1, &fCmdBuffer)); in freeGPUData()
165 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier( in submitPipelineBarriers()
191 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindInputBuffer()
207 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
236 GR_VK_CALL(gpu->vkInterface(), CmdClearAttachments(fCmdBuffer, in clearAttachments()
254 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
266 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
279 GR_VK_CALL(gpu->vkInterface(), CmdPushConstants(fCmdBuffer, in pushConstants()
296 GR_VK_CALL(gpu->vkInterface(), CmdDrawIndexed(fCmdBuffer, in drawIndexed()
312 GR_VK_CALL(gpu->vkInterface(), CmdDraw(fCmdBuffer, in draw()
[all …]
DGrVkCommandPool.cpp35 GR_VK_CALL(gpu->vkInterface(), DestroyCommandPool(gpu->device(), pool, nullptr)); in Create()
69 GR_VK_CALL(fGpu->vkInterface(), in recycleSecondaryCommandBuffer()
84 SkDEBUGCODE(VkResult result = )GR_VK_CALL(gpu->vkInterface(), in reset()
108 GR_VK_CALL(fGpu->vkInterface(), in freeGPUData()
DGrVkMSAALoadManager.cpp110 VkResult err = GR_VK_CALL( in createMSAALoadProgram()
224 GR_VK_CALL(gpu->vkInterface(), in destroyResources()
230 GR_VK_CALL(gpu->vkInterface(), in destroyResources()
236 GR_VK_CALL(gpu->vkInterface(), in destroyResources()
DGrVkUtil.h22 #define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X macro
26 (RESULT) = GR_VK_CALL(GPU->vkInterface(), X); \
36 (RESULT) = GR_VK_CALL(GPU->vkInterface(), X); \
DGrVkPipelineStateBuilder.cpp145 GR_VK_CALL(fGpu->vkInterface(), in loadShadersFromCache()
293 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), in finalize()
364 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), shaderModules[i], in finalize()
370 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
DGrVkDescriptorPool.cpp52 GR_VK_CALL(fGpu->vkInterface(), DestroyDescriptorPool(fGpu->device(), fDescPool, nullptr)); in freeGPUData()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp37 GR_VK_CALL(vkGpu->vkInterface(), DestroyImage(vkGpu->device(), fImage, nullptr)); in ~VkYcbcrSamplerHelper()
41 GR_VK_CALL(vkGpu->vkInterface(), FreeMemory(vkGpu->device(), fImageMemory, nullptr)); in ~VkYcbcrSamplerHelper()
58 GR_VK_CALL(vkGpu->vkInterface(), in createBackendTexture()
89 GR_VK_CALL(vkGpu->vkInterface(), GetImageMemoryRequirements(vkGpu->device(), in createBackendTexture()
96 GR_VK_CALL(vkGpu->vkInterface(), GetPhysicalDeviceMemoryProperties(vkGpu->physicalDevice(), in createBackendTexture()
137 GR_VK_CALL(vkGpu->vkInterface(), GetImageSubresourceLayout(vkGpu->device(), fImage, in createBackendTexture()
149 GR_VK_CALL(vkGpu->vkInterface(), GetImageSubresourceLayout(vkGpu->device(), fImage, in createBackendTexture()
170 GR_VK_CALL(vkGpu->vkInterface(), UnmapMemory(vkGpu->device(), fImageMemory)); in createBackendTexture()
/external/skqp/tests/
DVkMakeCopyPipelineTest.cpp111 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreatePipelineLayout(gpu->device(), in test()
155 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fVertShaderModule, in destroyResources()
161 GR_VK_CALL(gpu->vkInterface(), DestroyShaderModule(gpu->device(), fFragShaderModule, in destroyResources()
167 GR_VK_CALL(gpu->vkInterface(), DestroyPipelineLayout(gpu->device(), fPipelineLayout, in destroyResources()
DSurfaceSemaphoreTest.cpp261 VkResult err = GR_VK_CALL(interface, AllocateCommandBuffers(device, &cmdInfo, &cmdBuffer)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
281 err = GR_VK_CALL(interface, CreateFence(device, &fenceInfo, nullptr, &fence)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
299 err = GR_VK_CALL(interface, WaitForFences(device, 1, &fence, true, 3000000000)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
303 GR_VK_CALL(interface, DestroyFence(device, fence, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
304 GR_VK_CALL(interface, DestroySemaphore(device, vkSem, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DSurfaceSemaphoreTest.cpp285 VkResult err = GR_VK_CALL(interface, AllocateCommandBuffers(device, &cmdInfo, &cmdBuffer)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
305 err = GR_VK_CALL(interface, CreateFence(device, &fenceInfo, nullptr, &fence)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
323 err = GR_VK_CALL(interface, WaitForFences(device, 1, &fence, true, 3000000000)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
327 GR_VK_CALL(interface, DestroyFence(device, fence, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
328 GR_VK_CALL(interface, DestroySemaphore(device, vkSem, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm59 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer));
60 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr));
88 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever));
94 GR_VK_CALL(fVk, DestroyFence(fDevice, fence, nullptr));
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp415 GR_VK_CALL(fInterface, in destroyBuffers()
419 GR_VK_CALL(fInterface, in destroyBuffers()
423 GR_VK_CALL(fInterface, in destroyBuffers()
426 GR_VK_CALL(fInterface, in destroyBuffers()
428 GR_VK_CALL(fInterface, in destroyBuffers()
457 GR_VK_CALL(fInterface, DestroyCommandPool(fDevice, fCommandPool, nullptr)); in destroyContext()
576 GR_VK_CALL(fInterface, in getBackbufferSurface()
649 GR_VK_CALL(fInterface, in swapBuffers()
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp397 SkDEBUGCODE(VkResult result = )GR_VK_CALL(fInterface, in createBuffers()
411 GR_VK_CALL(fInterface, in destroyBuffers()
498 SkDEBUGCODE(VkResult result = )GR_VK_CALL(fInterface, CreateSemaphore(fDevice, &semaphoreInfo, in getBackbufferSurface()
509 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
515 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
526 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()

123