Home
last modified time | relevance | path

Searched refs:GrVkSecondaryCommandBuffer (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkCommandPool.cpp33 GrVkSecondaryCommandBuffer* GrVkCommandPool::findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu) { in findOrCreateSecondaryCommandBuffer()
35 GrVkSecondaryCommandBuffer* result = fAvailableSecondaryBuffers.back(); in findOrCreateSecondaryCommandBuffer()
39 return GrVkSecondaryCommandBuffer::Create(gpu, this); in findOrCreateSecondaryCommandBuffer()
42 void GrVkCommandPool::recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer) { in recycleSecondaryCommandBuffer()
61 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in releaseResources()
68 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in abandonGPUData()
76 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in freeGPUData()
DGrVkCommandPool.h17 class GrVkSecondaryCommandBuffer; variable
34 GrVkSecondaryCommandBuffer* findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu);
36 void recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer);
67 SkSTArray<4, GrVkSecondaryCommandBuffer*, true> fAvailableSecondaryBuffers;
DGrVkCommandBuffer.h203 class GrVkSecondaryCommandBuffer; variable
228 GrVkSecondaryCommandBuffer* secondaryBuffer);
327 SkTArray<GrVkSecondaryCommandBuffer*, true> fSecondaryCommandBuffers;
334 class GrVkSecondaryCommandBuffer : public GrVkCommandBuffer {
336 static GrVkSecondaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
338 static GrVkSecondaryCommandBuffer* Create(VkCommandBuffer externalSecondaryCB);
353 explicit GrVkSecondaryCommandBuffer(VkCommandBuffer cmdBuffer, GrVkCommandPool* cmdPool) in GrVkSecondaryCommandBuffer() function
DGrVkRenderTarget.h23 class GrVkSecondaryCommandBuffer; variable
72 GrVkSecondaryCommandBuffer* getExternalSecondaryCommandBuffer() const { in getExternalSecondaryCommandBuffer()
159 GrVkSecondaryCommandBuffer* secondaryCommandBuffer);
185 GrVkSecondaryCommandBuffer* fSecondaryCommandBuffer = nullptr;
DGrVkCommandBuffer.cpp462 GrVkSecondaryCommandBuffer* buffer) { in executeCommands()
833 for (GrVkSecondaryCommandBuffer* buffer : fSecondaryCommandBuffers) { in onFreeGPUData()
840 for (GrVkSecondaryCommandBuffer* buffer : fSecondaryCommandBuffers) { in onAbandonGPUData()
849 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create(const GrVkGpu* gpu, in Create()
867 return new GrVkSecondaryCommandBuffer(cmdBuffer, cmdPool); in Create()
870 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create(VkCommandBuffer cmdBuffer) { in Create()
871 return new GrVkSecondaryCommandBuffer(cmdBuffer, nullptr); in Create()
874 void GrVkSecondaryCommandBuffer::begin(const GrVkGpu* gpu, const GrVkFramebuffer* framebuffer, in begin()
906 void GrVkSecondaryCommandBuffer::end(GrVkGpu* gpu) { in end()
DGrVkGpuCommandBuffer.h23 class GrVkSecondaryCommandBuffer; variable
184 SkTArray<GrVkSecondaryCommandBuffer*> fCommandBuffers;
198 GrVkSecondaryCommandBuffer* currentCmdBuf() { in currentCmdBuf()
DGrVkRenderTarget.cpp118 GrVkSecondaryCommandBuffer* secondaryCommandBuffer) in GrVkRenderTarget()
222 GrVkSecondaryCommandBuffer* scb = in MakeSecondaryCBRenderTarget()
223 GrVkSecondaryCommandBuffer::Create(vkInfo.fSecondaryCommandBuffer); in MakeSecondaryCBRenderTarget()
DGrVkGpu.h34 class GrVkSecondaryCommandBuffer; variable
141 void submitSecondaryCommandBuffer(const SkTArray<GrVkSecondaryCommandBuffer*>&,
DGrVkResourceProvider.h36 class GrVkSecondaryCommandBuffer; variable
DGrVkCopyManager.cpp358 GrVkSecondaryCommandBuffer* secondary = gpu->cmdPool()->findOrCreateSecondaryCommandBuffer(gpu); in copySurfaceAsDraw()
DGrVkGpuCommandBuffer.cpp596 GrVkSecondaryCommandBuffer* currCmdBuf = fCommandBufferInfos[fCurrentCmdInfo].currentCmdBuf(); in bindGeometry()
DGrVkGpu.cpp2290 void GrVkGpu::submitSecondaryCommandBuffer(const SkTArray<GrVkSecondaryCommandBuffer*>& buffers, in submitSecondaryCommandBuffer()
/external/skqp/src/gpu/vk/
DGrVkCommandPool.cpp33 GrVkSecondaryCommandBuffer* GrVkCommandPool::findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu) { in findOrCreateSecondaryCommandBuffer()
35 GrVkSecondaryCommandBuffer* result = fAvailableSecondaryBuffers.back(); in findOrCreateSecondaryCommandBuffer()
39 return GrVkSecondaryCommandBuffer::Create(gpu, this); in findOrCreateSecondaryCommandBuffer()
42 void GrVkCommandPool::recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer) { in recycleSecondaryCommandBuffer()
61 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in releaseResources()
68 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in abandonGPUData()
76 for (GrVkSecondaryCommandBuffer* buffer : fAvailableSecondaryBuffers) { in freeGPUData()
DGrVkCommandPool.h17 class GrVkSecondaryCommandBuffer; variable
34 GrVkSecondaryCommandBuffer* findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu);
36 void recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer);
67 SkSTArray<4, GrVkSecondaryCommandBuffer*, true> fAvailableSecondaryBuffers;
DGrVkCommandBuffer.h202 class GrVkSecondaryCommandBuffer; variable
227 GrVkSecondaryCommandBuffer* secondaryBuffer);
324 SkTArray<GrVkSecondaryCommandBuffer*, true> fSecondaryCommandBuffers;
330 class GrVkSecondaryCommandBuffer : public GrVkCommandBuffer {
332 static GrVkSecondaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
334 static GrVkSecondaryCommandBuffer* Create(VkCommandBuffer externalSecondaryCB);
349 explicit GrVkSecondaryCommandBuffer(VkCommandBuffer cmdBuffer, GrVkCommandPool* cmdPool) in GrVkSecondaryCommandBuffer() function
DGrVkRenderTarget.h23 class GrVkSecondaryCommandBuffer; variable
72 GrVkSecondaryCommandBuffer* getExternalSecondaryCommandBuffer() const { in getExternalSecondaryCommandBuffer()
159 GrVkSecondaryCommandBuffer* secondaryCommandBuffer);
178 GrVkSecondaryCommandBuffer* fSecondaryCommandBuffer = nullptr;
DGrVkCommandBuffer.cpp459 GrVkSecondaryCommandBuffer* buffer) { in executeCommands()
823 for (GrVkSecondaryCommandBuffer* buffer : fSecondaryCommandBuffers) { in onFreeGPUData()
830 for (GrVkSecondaryCommandBuffer* buffer : fSecondaryCommandBuffers) { in onAbandonGPUData()
839 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create(const GrVkGpu* gpu, in Create()
857 return new GrVkSecondaryCommandBuffer(cmdBuffer, cmdPool); in Create()
860 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create(VkCommandBuffer cmdBuffer) { in Create()
861 return new GrVkSecondaryCommandBuffer(cmdBuffer, nullptr); in Create()
864 void GrVkSecondaryCommandBuffer::begin(const GrVkGpu* gpu, const GrVkFramebuffer* framebuffer, in begin()
896 void GrVkSecondaryCommandBuffer::end(GrVkGpu* gpu) { in end()
DGrVkGpuCommandBuffer.h23 class GrVkSecondaryCommandBuffer; variable
184 SkTArray<GrVkSecondaryCommandBuffer*> fCommandBuffers;
198 GrVkSecondaryCommandBuffer* currentCmdBuf() { in currentCmdBuf()
DGrVkRenderTarget.cpp118 GrVkSecondaryCommandBuffer* secondaryCommandBuffer) in GrVkRenderTarget()
222 GrVkSecondaryCommandBuffer* scb = in MakeSecondaryCBRenderTarget()
223 GrVkSecondaryCommandBuffer::Create(vkInfo.fSecondaryCommandBuffer); in MakeSecondaryCBRenderTarget()
DGrVkGpu.h34 class GrVkSecondaryCommandBuffer; variable
133 void submitSecondaryCommandBuffer(const SkTArray<GrVkSecondaryCommandBuffer*>&,
DGrVkResourceProvider.h36 class GrVkSecondaryCommandBuffer; variable
DGrVkCopyManager.cpp358 GrVkSecondaryCommandBuffer* secondary = gpu->cmdPool()->findOrCreateSecondaryCommandBuffer(gpu); in copySurfaceAsDraw()
DGrVkGpuCommandBuffer.cpp599 GrVkSecondaryCommandBuffer* currCmdBuf = fCommandBufferInfos[fCurrentCmdInfo].currentCmdBuf(); in bindGeometry()
DGrVkGpu.cpp2242 void GrVkGpu::submitSecondaryCommandBuffer(const SkTArray<GrVkSecondaryCommandBuffer*>& buffers, in submitSecondaryCommandBuffer()