Lines Matching refs:fGpu
42 fGpu->copySurface(fTexture, fOrigin, copyInfo.fSrc.get(), copyInfo.fSrcOrigin, in submit()
83 , fGpu(gpu) in GrVkGpuRTCommandBuffer()
98 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in init()
102 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in init()
127 cbInfo.fCommandBuffers.push_back(fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu)); in init()
128 cbInfo.currentCmdBuf()->begin(fGpu, vkRT->framebuffer(), cbInfo.fRenderPass); in init()
144 cbInfo.currentCmdBuf()->begin(fGpu, nullptr, cbInfo.fRenderPass); in initWrapped()
151 GrGpu* GrVkGpuRTCommandBuffer::gpu() { return fGpu; } in gpu()
155 fCommandBufferInfos[fCurrentCmdInfo].currentCmdBuf()->end(fGpu); in end()
178 fGpu->copySurface(fRenderTarget, fOrigin, copyInfo.fSrc.get(), copyInfo.fSrcOrigin, in submit()
200 fGpu, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_ACCESS_SHADER_READ_BIT, in submit()
228 targetImage->setImageLayout(fGpu, in submit()
241 vkStencil->setImageLayout(fGpu, in submit()
252 fGpu, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_ACCESS_SHADER_READ_BIT, in submit()
259 fGpu->submitSecondaryCommandBuffer(cbInfo.fCommandBuffers, cbInfo.fRenderPass, in submit()
271 SkASSERT(fGpu == rt->getContext()->priv().getGpu()); in set()
296 cbInfo.fCommandBuffers[j]->unref(fGpu); in reset()
298 cbInfo.fRenderPass->unref(fGpu); in reset()
331 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in discard()
335 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in discard()
341 oldRP->unref(fGpu); in discard()
403 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); in onClearStencilClip()
436 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in onClear()
440 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in onClear()
446 oldRP->unref(fGpu); in onClear()
485 cbInfo.currentCmdBuf()->clearAttachments(fGpu, 1, &attachment, 1, &clearRect); in onClear()
503 cbInfo.currentCmdBuf()->end(fGpu); in addAdditionalCommandBuffer()
504 cbInfo.fCommandBuffers.push_back(fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu)); in addAdditionalCommandBuffer()
505 cbInfo.currentCmdBuf()->begin(fGpu, vkRT->framebuffer(), cbInfo.fRenderPass); in addAdditionalCommandBuffer()
511 fCommandBufferInfos[fCurrentCmdInfo].currentCmdBuf()->end(fGpu); in addAdditionalRenderPass()
524 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in addAdditionalRenderPass()
528 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in addAdditionalRenderPass()
534 cbInfo.fCommandBuffers.push_back(fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu)); in addAdditionalRenderPass()
540 cbInfo.currentCmdBuf()->begin(fGpu, vkRT->framebuffer(), cbInfo.fRenderPass); in addAdditionalRenderPass()
575 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in copy()
579 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in copy()
584 oldRP->unref(fGpu); in copy()
610 currCmdBuf->bindInputBuffer(fGpu, binding++, in bindGeometry()
618 currCmdBuf->bindInputBuffer(fGpu, binding++, in bindGeometry()
625 currCmdBuf->bindIndexBuffer(fGpu, static_cast<const GrVkIndexBuffer*>(indexBuffer)); in bindGeometry()
650 fGpu->resourceProvider().findOrCreateCompatiblePipelineState(fRenderTarget, fOrigin, in prepareDrawState()
662 fGpu->vkCaps().newCBOnPipelineChange()) { in prepareDrawState()
667 pipelineState->bindPipeline(fGpu, cbInfo.currentCmdBuf()); in prepareDrawState()
669 pipelineState->setAndBindUniforms(fGpu, fRenderTarget, fOrigin, in prepareDrawState()
675 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, primProcProxies, in prepareDrawState()
680 GrVkPipeline::SetDynamicScissorRectState(fGpu, cbInfo.currentCmdBuf(), in prepareDrawState()
686 GrVkPipeline::SetDynamicScissorRectState(fGpu, cbInfo.currentCmdBuf(), fRenderTarget, in prepareDrawState()
690 GrVkPipeline::SetDynamicViewportState(fGpu, cbInfo.currentCmdBuf(), fRenderTarget); in prepareDrawState()
691 GrVkPipeline::SetDynamicBlendConstantState(fGpu, cbInfo.currentCmdBuf(), in prepareDrawState()
716 fGpu->resolveRenderTargetNoFlush(texRT); in onDraw()
724 fGpu->regenerateMipMapLevels(vkTexture); in onDraw()
778 GrVkPipeline::SetDynamicScissorRectState(fGpu, cbInfo.currentCmdBuf(), fRenderTarget, in onDraw()
785 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, meshProxies, in onDraw()
809 cbInfo.currentCmdBuf()->draw(fGpu, vertexCount, instanceCount, baseVertex, baseInstance); in sendInstancedMeshToGpu()
810 fGpu->stats()->incNumDraws(); in sendInstancedMeshToGpu()
832 cbInfo.currentCmdBuf()->drawIndexed(fGpu, indexCount, instanceCount, in sendIndexedInstancedMeshToGpu()
834 fGpu->stats()->incNumDraws(); in sendIndexedInstancedMeshToGpu()
869 fGpu->addDrawable(std::move(drawable)); in executeDrawable()