Home
last modified time | relevance | path

Searched refs:vkInterface (Results 1 – 25 of 63) 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()
DGrVkDescriptorPool.cpp33 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateDescriptorPool(gpu->device(), in GrVkDescriptorPool()
44 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), ResetDescriptorPool(gpu->device(), fDescPool, 0)); in reset()
50 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
DGrVkCommandPool.cpp30 gpu->vkInterface(), in Create()
66 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), ResetCommandPool(gpu->device(), fCommandPool, 0)); in reset()
88 GR_VK_CALL(gpu->vkInterface(), in freeGPUData()
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()
DGrVkPipelineStateBuilder.cpp184 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), CreatePipelineLayout(fGpu->device(), in finalize()
278 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()
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()
DGrVkSemaphore.cpp26 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), in Make()
71 GR_VK_CALL(gpu->vkInterface(), in freeGPUData()
DGrVkDescriptorSetManager.cpp234 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), in DescriptorPoolManager()
265 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateDescriptorSetLayout(gpu->device(), in DescriptorPoolManager()
312 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), AllocateDescriptorSets(gpu->device(), in getNewDescriptorSet()
319 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorSetLayout(gpu->device(), fDescLayout, in freeGPUResources()
DGrVkCaps.h30 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
191 void init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
194 void initGrCaps(const GrVkInterface* vkInterface,
DGrVkRenderPass.cpp136 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateRenderPass(gpu->device(), in init()
142 GR_VK_CALL(gpu->vkInterface(), GetRenderAreaGranularity(gpu->device(), in init()
168 GR_VK_CALL(gpu->vkInterface(), DestroyRenderPass(gpu->device(), fRenderPass, nullptr)); in freeGPUData()
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()
DGrVkSampler.cpp105 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateSampler(gpu->device(), in Create()
115 GR_VK_CALL(gpu->vkInterface(), DestroySampler(gpu->device(), fSampler, nullptr)); in freeGPUData()
DGrVkCaps.cpp26 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() argument
60 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions, in GrVkCaps()
263 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init() argument
268 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
271 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
358 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init()
397 this->initFormatTable(vkInterface, physDev, properties); in init()
398 this->initStencilFormat(vkInterface, physDev); in init()
487 void GrVkCaps::initGrCaps(const GrVkInterface* vkInterface, in initGrCaps() argument
534 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties2(physDev, &props)); in initGrCaps()
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()
DGrVkGpu.cpp61 #define VK_CALL(X) GR_VK_CALL(this->vkInterface(), X)
62 #define VK_CALL_RET(RET, X) GR_VK_CALL_RET(this->vkInterface(), RET, X)
63 #define VK_CALL_ERRCHECK(X) GR_VK_CALL_ERRCHECK(this->vkInterface(), X)
180 fVkCaps.reset(new GrVkCaps(options, this->vkInterface(), backendContext.fPhysicalDevice, in GrVkGpu()
188 fVkCaps.reset(new GrVkCaps(options, this->vkInterface(), backendContext.fPhysicalDevice, in GrVkGpu()
213 fVkCaps.reset(new GrVkCaps(options, this->vkInterface(), backendContext.fPhysicalDevice, in GrVkGpu()
661 const GrVkInterface* interface = this->vkInterface(); in uploadTexDataLinear()
1523 static void set_image_layout(const GrVkInterface* vkInterface, VkCommandBuffer cmdBuffer, in set_image_layout() argument
1542 GR_VK_CALL(vkInterface, CmdPipelineBarrier( in set_image_layout()
1650 set_image_layout(this->vkInterface(), cmdBuffer, info, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, in createVkImageForBackendSurface()
[all …]
/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.cpp106 gpu->vkInterface(), 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()
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()
DGrVkCaps.h29 const GrVkInterface* vkInterface,
289 void init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface,
292 void initGrCaps(const GrVkInterface* vkInterface,
DGrVkUtil.h26 (RESULT) = GR_VK_CALL(GPU->vkInterface(), X); \
36 (RESULT) = GR_VK_CALL(GPU->vkInterface(), X); \
DGrVkCaps.cpp36 GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in GrVkCaps() argument
72 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions, in GrVkCaps()
291 void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, in init() argument
296 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
299 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
406 this->initGrCaps(vkInterface, physDev, properties, memoryProperties, features, extensions); in init()
459 this->initFormatTable(vkInterface, physDev, properties); in init()
460 this->initStencilFormat(vkInterface, physDev); in init()
601 void GrVkCaps::initGrCaps(const GrVkInterface* vkInterface, in initGrCaps() argument
660 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties2(physDev, &props)); in initGrCaps()
/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()

123