Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp57 GR_VK_CALL(gpu->vkInterface(), FreeCommandBuffers(gpu->device(), fCmdPool->vkCommandPool(), in freeGPUData()
185 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier( in submitPipelineBarriers()
212 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindInputBuffer()
228 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
258 GR_VK_CALL(gpu->vkInterface(), CmdClearAttachments(fCmdBuffer, in clearAttachments()
274 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
286 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
301 GR_VK_CALL(gpu->vkInterface(), CmdDrawIndexed(fCmdBuffer, in drawIndexed()
317 GR_VK_CALL(gpu->vkInterface(), CmdDraw(fCmdBuffer, in draw()
331 GR_VK_CALL(gpu->vkInterface(), CmdSetViewport(fCmdBuffer, in setViewport()
[all …]
DGrVkMemory.cpp65 VkResult err = GR_VK_CALL(gpu->vkInterface(), BindBufferMemory(gpu->device(), buffer, in AllocAndBindBufferMemory()
82 GR_VK_CALL(gpu->vkInterface(), FreeMemory(gpu->device(), alloc.fMemory, nullptr)); in FreeBufferMemory()
97 GR_VK_CALL(gpu->vkInterface(), GetImageMemoryRequirements(gpu->device(), image, &memReqs)); in AllocAndBindImageMemory()
115 VkResult err = GR_VK_CALL(gpu->vkInterface(), BindImageMemory(gpu->device(), image, in AllocAndBindImageMemory()
131 GR_VK_CALL(gpu->vkInterface(), FreeMemory(gpu->device(), alloc.fMemory, nullptr)); in FreeImageMemory()
150 VkResult err = GR_VK_CALL(gpu->vkInterface(), MapMemory(gpu->device(), alloc.fMemory, in MapAlloc()
164 GR_VK_CALL(gpu->vkInterface(), UnmapMemory(gpu->device(), alloc.fMemory)); in UnmapAlloc()
204 GR_VK_CALL(gpu->vkInterface(), FlushMappedMemoryRanges(gpu->device(), 1, in FlushMappedAlloc()
223 GR_VK_CALL(gpu->vkInterface(), InvalidateMappedMemoryRanges(gpu->device(), 1, in InvalidateMappedAlloc()
DGrVkUtil.h22 #define GR_VK_CALL(IFACE, X) (IFACE)->fFunctions.f##X macro
26 VkResult SK_MACRO_APPEND_LINE(ret) = GR_VK_CALL(IFACE, X); \
29 #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()
DGrVkPipelineStateBuilder.cpp278 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), in finalize()
282 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
307 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), shaderModules[i], in finalize()
313 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineLayout(fGpu->device(), pipelineLayout, in finalize()
DGrVkSamplerYcbcrConversion.cpp74 GR_VK_CALL(gpu->vkInterface(), CreateSamplerYcbcrConversion(gpu->device(), &ycbcrCreateInfo, in Create()
85 GR_VK_CALL(gpu->vkInterface(), DestroySamplerYcbcrConversion(gpu->device(), fYcbcrConversion, in freeGPUData()
DGrVkDescriptorPool.cpp50 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
DGrVkRenderPass.cpp142 GR_VK_CALL(gpu->vkInterface(), GetRenderAreaGranularity(gpu->device(), in init()
168 GR_VK_CALL(gpu->vkInterface(), DestroyRenderPass(gpu->device(), fRenderPass, nullptr)); in freeGPUData()
DGrVkResourceProvider.cpp75 VkResult result = GR_VK_CALL(fGpu->vkInterface(), in pipelineCache()
403 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineCache(fGpu->device(), fPipelineCache, nullptr)); in destroyResources()
517 VkResult result = GR_VK_CALL(fGpu->vkInterface(), GetPipelineCacheData(fGpu->device(), in storePipelineCacheData()
524 result = GR_VK_CALL(fGpu->vkInterface(), GetPipelineCacheData(fGpu->device(), in storePipelineCacheData()
DGrVkAMDMemoryAllocator.cpp241 GR_VK_CALL(fInterface, FlushMappedMemoryRanges(fDevice, 1, &mappedMemoryRange)); in flushMappedMemory()
260 GR_VK_CALL(fInterface, InvalidateMappedMemoryRanges(fDevice, 1, &mappedMemoryRange)); in invalidateMappedMemory()
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp53 GR_VK_CALL(vkGpu->vkInterface(), FreeCommandBuffers(vkGpu->device(), cmdPool, 1, &fCmdBuffer)); in freeGPUData()
160 GR_VK_CALL(gpu->vkInterface(), CmdPipelineBarrier( in submitPipelineBarriers()
186 GR_VK_CALL(gpu->vkInterface(), CmdBindVertexBuffers(fCmdBuffer, in bindInputBuffer()
202 GR_VK_CALL(gpu->vkInterface(), CmdBindIndexBuffer(fCmdBuffer, in bindIndexBuffer()
231 GR_VK_CALL(gpu->vkInterface(), CmdClearAttachments(fCmdBuffer, in clearAttachments()
249 GR_VK_CALL(gpu->vkInterface(), CmdBindDescriptorSets(fCmdBuffer, in bindDescriptorSets()
261 GR_VK_CALL(gpu->vkInterface(), CmdBindPipeline(fCmdBuffer, in bindPipeline()
274 GR_VK_CALL(gpu->vkInterface(), CmdPushConstants(fCmdBuffer, in pushConstants()
291 GR_VK_CALL(gpu->vkInterface(), CmdDrawIndexed(fCmdBuffer, in drawIndexed()
307 GR_VK_CALL(gpu->vkInterface(), CmdDraw(fCmdBuffer, in draw()
[all …]
DGrVkCommandPool.cpp36 GR_VK_CALL(gpu->vkInterface(), DestroyCommandPool(gpu->device(), pool, nullptr)); in Create()
70 GR_VK_CALL(fGpu->vkInterface(), in recycleSecondaryCommandBuffer()
85 SkDEBUGCODE(VkResult result = )GR_VK_CALL(gpu->vkInterface(), in reset()
109 GR_VK_CALL(fGpu->vkInterface(), in freeGPUData()
DGrVkMSAALoadManager.cpp105 VkResult err = GR_VK_CALL( in createMSAALoadProgram()
219 GR_VK_CALL(gpu->vkInterface(), in destroyResources()
225 GR_VK_CALL(gpu->vkInterface(), in destroyResources()
231 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.cpp136 GR_VK_CALL(fGpu->vkInterface(), in loadShadersFromCache()
263 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), in finalize()
333 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), shaderModules[i], in finalize()
339 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()
DGrVkImageView.cpp67 GR_VK_CALL(fGpu->vkInterface(), DestroyImageView(fGpu->device(), fImageView, nullptr)); in freeGPUData()
/third_party/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()
/third_party/flutter/skia/tests/
DSurfaceSemaphoreTest.cpp275 VkResult err = GR_VK_CALL(interface, AllocateCommandBuffers(device, &cmdInfo, &cmdBuffer)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
295 err = GR_VK_CALL(interface, CreateFence(device, &fenceInfo, nullptr, &fence)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
313 err = GR_VK_CALL(interface, WaitForFences(device, 1, &fence, true, 3000000000)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
317 GR_VK_CALL(interface, DestroyFence(device, fence, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
318 GR_VK_CALL(interface, DestroySemaphore(device, vkSem, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/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()
/third_party/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()
/third_party/flutter/skia/tools/sk_app/
DVulkanWindowContext.cpp386 GR_VK_CALL(fInterface, in destroyBuffers()
482 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
488 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
499 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
/third_party/skia/src/gpu/dawn/
DGrDawnAttachment.cpp13 #define VK_CALL(GPU, X) GR_VK_CALL(GPU->vkInterface(), X)

123