Home
last modified time | relevance | path

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

/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.cpp2251 void GrVkGpu::submitSecondaryCommandBuffer(const SkTArray<GrVkSecondaryCommandBuffer*>& buffers, in submitSecondaryCommandBuffer()
/external/skia/src/gpu/vk/
DGrVkCommandPool.h16 class GrVkSecondaryCommandBuffer; variable
33 std::unique_ptr<GrVkSecondaryCommandBuffer> findOrCreateSecondaryCommandBuffer(GrVkGpu* gpu);
35 void recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer);
64 SkSTArray<4, std::unique_ptr<GrVkSecondaryCommandBuffer>, true> fAvailableSecondaryBuffers;
DGrVkCommandPool.cpp51 std::unique_ptr<GrVkSecondaryCommandBuffer> GrVkCommandPool::findOrCreateSecondaryCommandBuffer( in findOrCreateSecondaryCommandBuffer()
53 std::unique_ptr<GrVkSecondaryCommandBuffer> result; in findOrCreateSecondaryCommandBuffer()
58 result.reset(GrVkSecondaryCommandBuffer::Create(gpu, this)); in findOrCreateSecondaryCommandBuffer()
63 void GrVkCommandPool::recycleSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer) { in recycleSecondaryCommandBuffer()
64 std::unique_ptr<GrVkSecondaryCommandBuffer> scb(buffer); in recycleSecondaryCommandBuffer()
DGrVkFramebuffer.h35 std::unique_ptr<GrVkSecondaryCommandBuffer>);
44 std::unique_ptr<GrVkSecondaryCommandBuffer> externalCommandBuffer();
56 void returnExternalGrSecondaryCommandBuffer(std::unique_ptr<GrVkSecondaryCommandBuffer>);
98 std::unique_ptr<GrVkSecondaryCommandBuffer> fExternalCommandBuffer;
DGrVkCommandBuffer.h205 class GrVkSecondaryCommandBuffer; variable
233 std::unique_ptr<GrVkSecondaryCommandBuffer> secondaryBuffer);
334 SkTArray<std::unique_ptr<GrVkSecondaryCommandBuffer>, true> fSecondaryCommandBuffers;
341 class GrVkSecondaryCommandBuffer : public GrVkCommandBuffer {
343 static GrVkSecondaryCommandBuffer* Create(GrVkGpu* gpu, GrVkCommandPool* cmdPool);
345 static GrVkSecondaryCommandBuffer* Create(VkCommandBuffer externalSecondaryCB,
357 explicit GrVkSecondaryCommandBuffer(VkCommandBuffer cmdBuffer, in GrVkSecondaryCommandBuffer() function
DGrVkFramebuffer.cpp84 std::unique_ptr<GrVkSecondaryCommandBuffer> externalCommandBuffer) in GrVkFramebuffer()
113 std::unique_ptr<GrVkSecondaryCommandBuffer> cmdBuffer) { in returnExternalGrSecondaryCommandBuffer()
118 std::unique_ptr<GrVkSecondaryCommandBuffer> GrVkFramebuffer::externalCommandBuffer() { in externalCommandBuffer()
DGrVkCommandBuffer.cpp516 std::unique_ptr<GrVkSecondaryCommandBuffer> buffer) { in executeCommands()
915 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create(GrVkGpu* gpu, in Create()
932 return new GrVkSecondaryCommandBuffer(cmdBuffer, /*externalRenderPass=*/nullptr); in Create()
935 GrVkSecondaryCommandBuffer* GrVkSecondaryCommandBuffer::Create( in Create()
937 return new GrVkSecondaryCommandBuffer(cmdBuffer, externalRenderPass); in Create()
940 void GrVkSecondaryCommandBuffer::begin(GrVkGpu* gpu, const GrVkFramebuffer* framebuffer, in begin()
971 void GrVkSecondaryCommandBuffer::end(GrVkGpu* gpu) { in end()
980 void GrVkSecondaryCommandBuffer::recycle(GrVkCommandPool* cmdPool) { in recycle()
DGrVkOpsRenderPass.h23 class GrVkSecondaryCommandBuffer; variable
109 std::unique_ptr<GrVkSecondaryCommandBuffer> fCurrentSecondaryCommandBuffer;
DGrVkGpu.h34 class GrVkSecondaryCommandBuffer; variable
148 void submitSecondaryCommandBuffer(std::unique_ptr<GrVkSecondaryCommandBuffer>);
DGrVkRenderTarget.cpp170 std::unique_ptr<GrVkSecondaryCommandBuffer> scb( in MakeSecondaryCBRenderTarget()
171 GrVkSecondaryCommandBuffer::Create(vkInfo.fSecondaryCommandBuffer, rp)); in MakeSecondaryCBRenderTarget()
DGrVkResourceProvider.h36 class GrVkSecondaryCommandBuffer; variable
DGrVkGpu.cpp2491 void GrVkGpu::submitSecondaryCommandBuffer(std::unique_ptr<GrVkSecondaryCommandBuffer> buffer) { in submitSecondaryCommandBuffer()