/third_party/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 18 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) 23 SkASSERT(fGpu); in set() 25 SkASSERT(fGpu == rt->getContext()->priv().getGpu()); in set() 35 if (fGpu->glCaps().framebufferResolvesMustBeFullSize()) { in dmsaaLoadStoreBounds() 53 if (fGpu->glCaps().canResolveSingleToMSAA()) { in onBegin() 54 fGpu->resolveRenderFBOs(glRT, this->dmsaaLoadStoreBounds().asSkIRect(), in onBegin() 57 fGpu->drawSingleIntoMSAAFBO(glRT, this->dmsaaLoadStoreBounds().asSkIRect()); in onBegin() 61 fGpu->beginCommandBuffer(glRT, fUseMultisampleFBO, fContentBounds, fOrigin, in onBegin() 67 fGpu->endCommandBuffer(glRT, fUseMultisampleFBO, fColorLoadAndStoreInfo, in onEnd() 74 fGpu->resolveRenderFBOs(glRT, this->dmsaaLoadStoreBounds().asSkIRect(), in onEnd() [all …]
|
D | GrGLProgramDataManager.cpp | 18 : fGpu(gpu) { in GrGLProgramDataManager() 39 GR_GL_CALL(fGpu->glInterface(), Uniform1i(sampler.fLocation, i + startUnit)); in setSamplerUniforms() 50 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fLocation, i)); in set1i() 62 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv() 71 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fLocation, v0)); in set1f() 87 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv() 96 GR_GL_CALL(fGpu->glInterface(), Uniform2i(uni.fLocation, i0, i1)); in set2i() 108 GR_GL_CALL(fGpu->glInterface(), Uniform2iv(uni.fLocation, arrayCount, v)); in set2iv() 117 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fLocation, v0, v1)); in set2f() 129 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fLocation, arrayCount, v)); in set2fv() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkOpsRenderPass.cpp | 65 GrVkOpsRenderPass::GrVkOpsRenderPass(GrVkGpu* gpu) : fGpu(gpu) {} in GrVkOpsRenderPass() 80 fGpu, VK_IMAGE_LAYOUT_GENERAL, dstAccess, dstStages, false); in setAttachmentLayouts() 86 fGpu, in setAttachmentLayouts() 97 resolveAttachment->setImageLayout(fGpu, in setAttachmentLayouts() 104 fGpu, in setAttachmentLayouts() 120 vkStencil->setImageLayout(fGpu, in setAttachmentLayouts() 184 fGpu->vkCaps().mustLoadFullImageWithDiscardableMSAA(); in beginRenderPass() 207 if (!fGpu->beginRenderPass(fCurrentRenderPass, fFramebuffer, &clearColor, fRenderTarget, in beginRenderPass() 210 fCurrentSecondaryCommandBuffer->end(fGpu); in beginRenderPass() 239 fCurrentRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in init() [all …]
|
D | GrVkResourceProvider.cpp | 24 : fGpu(gpu) in GrVkResourceProvider() 44 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in pipelineCache() 59 const VkPhysicalDeviceProperties& devProps = fGpu->physicalDeviceProperties(); in pipelineCache() 75 GR_VK_CALL_RESULT(fGpu, result, CreatePipelineCache(fGpu->device(), &createInfo, nullptr, in pipelineCache() 86 GrVkDescriptorSetManager* dsm = GrVkDescriptorSetManager::CreateUniformManager(fGpu); in init() 90 dsm = GrVkDescriptorSetManager::CreateInputManager(fGpu); in init() 103 return GrVkPipeline::Make(fGpu, programInfo, shaderStageInfo, shaderStageCount, in makePipeline() 145 GrVkRenderPass* renderPass = GrVkRenderPass::CreateSimple(fGpu, desc, attachmentFlags, in findCompatibleRenderPass() 172 const GrVkRenderPass* newRenderPass = new GrVkRenderPass(fGpu, renderPass, in findCompatibleExternalRenderPass() 208 const GrVkRenderPass* renderPass = compatibleSet.getRenderPass(fGpu, in findRenderPass() [all …]
|
D | GrVkPipelineStateBuilder.cpp | 54 , fGpu(gpu) in GrVkPipelineStateBuilder() 59 return fGpu->caps(); in caps() 63 return fGpu->shaderCompiler(); in shaderCompiler() 81 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule() 97 if (!GrInstallVkShaderModule(fGpu, spirv, stage, shaderModule, stageInfo)) { in installVkShaderModule() 136 GR_VK_CALL(fGpu->vkInterface(), in loadShadersFromCache() 137 DestroyShaderModule(fGpu->device(), outShaderModules[i], nullptr)); in loadShadersFromCache() 173 GrVkResourceProvider& resourceProvider = fGpu->resourceProvider(); in finalize() 204 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in finalize() 263 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), in finalize() [all …]
|
D | GrVkPipelineStateCache.cpp | 29 : fGpu(gpu) in Entry() 34 fPipelineState->freeGPUResources(fGpu); in ~Entry() 38 GrVkGpu* fGpu; member 44 , fGpu(gpu) { in PipelineStateCache() 90 GrProgramDesc desc = fGpu->caps()->makeDesc(renderTarget, programInfo, flags); in findOrCreatePipelineState() 92 GrCapsDebugf(fGpu->caps(), "Failed to build vk program descriptor!\n"); in findOrCreatePipelineState() 124 fGpu, desc, programInfo, compatibleRenderPass, overrideSubpassForResolveLoad)); in findOrCreatePipelineStateImpl() 128 entry = fMap.insert(desc, std::make_unique<Entry>(fGpu, pipelineState)); in findOrCreatePipelineStateImpl()
|
D | GrVkCommandPool.cpp | 70 GR_VK_CALL(fGpu->vkInterface(), in recycleSecondaryCommandBuffer() 71 FreeCommandBuffers(fGpu->device(), fCommandPool, 1, &vkBuffer)); in recycleSecondaryCommandBuffer() 104 fPrimaryCommandBuffer->freeGPUData(fGpu, fCommandPool); in freeGPUData() 106 buffer->freeGPUData(fGpu, fCommandPool); in freeGPUData() 109 GR_VK_CALL(fGpu->vkInterface(), in freeGPUData() 110 DestroyCommandPool(fGpu->device(), fCommandPool, nullptr)); in freeGPUData()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DOpsRenderPass.cpp | 29 GrD3DOpsRenderPass::GrD3DOpsRenderPass(GrD3DGpu* gpu) : fGpu(gpu) {} in GrD3DOpsRenderPass() 36 SkASSERT(fGpu == rt->getContext()->priv().getGpu()); in set() 52 GrGpu* GrD3DOpsRenderPass::gpu() { return fGpu; } in gpu() 57 d3dRT->msaaTextureResource()->setResourceState(fGpu, D3D12_RESOURCE_STATE_RENDER_TARGET); in onBegin() 59 d3dRT->setResourceState(fGpu, D3D12_RESOURCE_STATE_RENDER_TARGET); in onBegin() 61 fGpu->currentCommandList()->setRenderTarget(d3dRT); in onBegin() 66 fGpu->currentCommandList()->clearRenderTargetView(d3dRT, fClearColor, nullptr); in onBegin() 71 d3dStencil->setResourceState(fGpu, D3D12_RESOURCE_STATE_DEPTH_WRITE); in onBegin() 73 fGpu->currentCommandList()->clearDepthStencilView(d3dStencil, 0, nullptr); in onBegin() 181 fGpu->resourceProvider().findOrCreateCompatiblePipelineState(d3dRT, info); in onBindPipeline() [all …]
|
D | GrD3DResourceProvider.cpp | 22 : fGpu(gpu) in GrD3DResourceProvider() 43 return GrD3DDirectCommandList::Make(fGpu); in findOrCreateDirectCommandList() 60 auto rootSig = GrD3DRootSignature::Make(fGpu, numTextureSamplers, numUAVs); in findOrCreateRootSignature() 76 auto commandSig = GrD3DCommandSignature::Make(fGpu, indexed, slot); in findOrCreateCommandSignature() 86 return fCpuDescriptorManager.createRenderTargetView(fGpu, textureResource); in createRenderTargetView() 96 return fCpuDescriptorManager.createDepthStencilView(fGpu, textureResource); in createDepthStencilView() 106 return fCpuDescriptorManager.createConstantBufferView(fGpu, bufferResource, offset, size); in createConstantBufferView() 111 return fCpuDescriptorManager.createShaderResourceView(fGpu, resource, highestMip, mipLevels); in createShaderResourceView() 116 return fCpuDescriptorManager.createUnorderedAccessView(fGpu, resource, mipSlice); in createUnorderedAccessView() 175 fGpu, filter, maxLOD, addressModeU, addressModeV).fHandle; in findOrCreateCompatibleSampler() [all …]
|
/third_party/skia/src/gpu/ |
D | GrGpuResource.cpp | 24 GrGpuResource::GrGpuResource(GrGpu* gpu) : fGpu(gpu), fUniqueID(CreateUniqueID()) { in GrGpuResource() 26 auto cache = get_resource_cache(fGpu); in GrGpuResource() 37 get_resource_cache(fGpu)->resourceAccess().insertResource(this); in registerWithCache() 46 get_resource_cache(fGpu)->resourceAccess().insertResource(this); in registerWithCacheWrapped() 55 SkASSERT(fGpu); in release() 57 if (!fGpu) { in release() 62 get_resource_cache(fGpu)->resourceAccess().removeResource(this); in release() 63 fGpu = nullptr; in release() 71 SkASSERT(fGpu); in abandon() 73 get_resource_cache(fGpu)->resourceAccess().removeResource(this); in abandon() [all …]
|
D | GrDirectContext.cpp | 90 if (fGpu) { in ~GrDirectContext() 116 fGpu->resetTextureBindings(); in resetGLTextureBindings() 121 fGpu->markContextDirty(state); in resetContext() 143 fGpu->disconnect(GrGpu::DisconnectType::kAbandon); in abandonContext() 159 if (fGpu && fGpu->isDeviceLost()) { in abandoned() 166 bool GrDirectContext::oomed() { return fGpu ? fGpu->checkAndResetOOMed() : false; } in oomed() 186 fGpu->disconnect(GrGpu::DisconnectType::kCleanup); in releaseResourcesAndAbandonContext() 217 if (!fGpu) { in init() 221 fThreadSafeProxy->priv().init(fGpu->refCaps(), fGpu->refPipelineBuilder()); in init() 240 fResourceProvider = std::make_unique<GrResourceProvider>(fGpu.get(), fResourceCache.get(), in init() [all …]
|
D | GrFinishCallbacks.cpp | 11 GrFinishCallbacks::GrFinishCallbacks(GrGpu* gpu) : fGpu(gpu) {} in GrFinishCallbacks() 23 callback.fFence = fGpu->insertFence(); in add() 29 while (!fCallbacks.empty() && fGpu->waitFence(fCallbacks.front().fFence)) { in check() 31 fGpu->deleteFence(fCallbacks.front().fFence); in check() 40 fGpu->deleteFence(fCallbacks.front().fFence); in callAll()
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpuResource.cpp | 24 GrGpuResource::GrGpuResource(GrGpu* gpu) : fGpu(gpu), fUniqueID(CreateUniqueID()) { in GrGpuResource() 26 auto cache = get_resource_cache(fGpu); in GrGpuResource() 37 get_resource_cache(fGpu)->resourceAccess().insertResource(this); in registerWithCache() 46 get_resource_cache(fGpu)->resourceAccess().insertResource(this); in registerWithCacheWrapped() 55 SkASSERT(fGpu); in release() 57 get_resource_cache(fGpu)->resourceAccess().removeResource(this); in release() 58 fGpu = nullptr; in release() 66 SkASSERT(fGpu); in abandon() 68 get_resource_cache(fGpu)->resourceAccess().removeResource(this); in abandon() 69 fGpu = nullptr; in abandon() [all …]
|
D | GrLegacyDirectContext.cpp | 144 context->fGpu = GrGLGpu::Make(std::move(interface), options, context.get()); in MakeGL() 145 if (!context->fGpu) { in MakeGL() 149 if (!context->init(context->fGpu->refCaps(), nullptr)) { in MakeGL() 164 context->fGpu = GrMockGpu::Make(mockOptions, options, context.get()); in MakeMock() 165 if (!context->fGpu) { in MakeMock() 169 if (!context->init(context->fGpu->refCaps(), nullptr)) { in MakeMock() 190 context->fGpu = GrVkGpu::Make(backendContext, options, context.get()); in MakeVulkan() 191 if (!context->fGpu) { in MakeVulkan() 195 if (!context->init(context->fGpu->refCaps(), nullptr)) { in MakeVulkan() 213 context->fGpu = GrMtlTrampoline::MakeGpu(context.get(), options, device, queue); in MakeMetal() [all …]
|
D | GrContext.cpp | 77 if (fGpu) { in init() 79 fResourceProvider = new GrResourceProvider(fGpu.get(), fResourceCache, this->singleOwner()); in init() 126 fGpu->disconnect(GrGpu::DisconnectType::kAbandon); in abandonContext() 145 fGpu->disconnect(GrGpu::DisconnectType::kCleanup); in releaseResourcesAndAbandonContext() 152 fGpu->resetTextureBindings(); in resetGLTextureBindings() 157 fGpu->markContextDirty(state); in resetContext() 262 if (!fGpu || fGpu->caps()->semaphoreSupport()) { in wait() 269 fGpu->waitSemaphore(std::move(sema)); in wait() 290 if (fGpu) { in checkAsyncWorkCompletion() 291 fGpu->checkFinishProcs(); in checkAsyncWorkCompletion() [all …]
|
D | GrResourceProvider.cpp | 37 , fGpu(gpu) in GrResourceProvider() 42 fCaps = sk_ref_sp(fGpu->caps()); in GrResourceProvider() 119 return fGpu->createTexture(desc, format, renderable, renderTargetSampleCnt, budgeted, in createTexture() 164 GrContext* context = fGpu->getContext(); in createTexture() 215 return fGpu->createCompressedTexture(width, height, format, compression, budgeted, data->data(), in createCompressedTexture() 252 return fGpu->createTexture(desc, format, renderable, renderTargetSampleCnt, budgeted, in createTexture() 256 return fGpu->createTexture(desc, format, renderable, renderTargetSampleCnt, budgeted, in createTexture() 317 if (fGpu->caps()->reuseScratchTextures() || renderable == GrRenderable::kYes) { in createApproxTexture() 335 return fGpu->createTexture(*copyDesc, format, renderable, renderTargetSampleCnt, in createApproxTexture() 338 return fGpu->createTexture(*copyDesc, format, renderable, renderTargetSampleCnt, in createApproxTexture() [all …]
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLGpuCommandBuffer.h | 22 GrGLGpuTextureCommandBuffer(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLGpuTextureCommandBuffer() 25 fGpu->copySurface(fTexture, src, srcRect, dstPoint); in copy() 31 fGpu->transferPixelsFrom(fTexture, srcRect.fLeft, srcRect.fTop, srcRect.width(), in transferFrom() 37 fGpu->insertEventMarker(msg); in insertEventMarker() 45 GrGLGpu* fGpu; 57 GrGLGpuRTCommandBuffer(GrGLGpu* gpu) : fGpu(gpu) {} in GrGLGpuRTCommandBuffer() 63 fGpu->insertEventMarker(msg); in insertEventMarker() 71 fGpu->copySurface(fRenderTarget, src,srcRect, dstPoint); in copy() 77 fGpu->transferPixelsFrom(fRenderTarget, srcRect.fLeft, srcRect.fTop, srcRect.width(), in transferFrom() 91 GrGpu* gpu() override { return fGpu; } in gpu() [all …]
|
D | GrGLProgramDataManager.cpp | 20 : fGpu(gpu) in GrGLProgramDataManager() 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 59 GR_GL_CALL(fGpu->glInterface(), Uniform1i(sampler.fLocation, i + startUnit)); in setSamplerUniforms() 69 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fLocation, i)); in set1i() 81 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv() 90 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fLocation, v0)); in set1f() 106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv() 115 GR_GL_CALL(fGpu->glInterface(), Uniform2i(uni.fLocation, i0, i1)); in set2i() 127 GR_GL_CALL(fGpu->glInterface(), Uniform2iv(uni.fLocation, arrayCount, v)); in set2iv() 136 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fLocation, v0, v1)); in set2f() [all …]
|
D | GrGLProgram.cpp | 23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) 24 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X) 55 , fGpu(gpu) in GrGLProgram() 103 fGpu->bindTexture(nextTexSamplerIdx++, GrSamplerState::ClampNearest(), in updateUniformsAndTextureBindings() 114 fGpu->bindTexture(i, primProc.textureSampler(i).samplerState(), in updatePrimitiveProcessorTextureBindings() 128 fGpu->bindTexture((*nextTexSamplerIdx)++, sampler.samplerState(), sampler.swizzle(), in setFragmentData() 163 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState() 165 fGpu->glPathRendering()->setProjectionMatrix(pathProc.viewMatrix(), in setRenderTargetState()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 56 args.fGpu->copySurface(args.fSurface, fSrc.get(), fSrcRect, fDstPoint, fShouldDiscardDst); in execute() 78 args.fGpu->transferPixelsFrom(args.fSurface, fSrcRect.fLeft, fSrcRect.fTop, in execute() 97 SkASSERT(!src->isProtected() || (fTexture->isProtected() && fGpu->protectedContext())); in copy() 113 GrVkPrimaryCommandBufferTask::Args taskArgs{fGpu, fTexture}; in submit() 151 GrVkGpuRTCommandBuffer::GrVkGpuRTCommandBuffer(GrVkGpu* gpu) : fGpu(gpu) {} in GrVkGpuRTCommandBuffer() 164 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(rpHandle, in init() 168 cbInfo.fRenderPass = fGpu->resourceProvider().findRenderPass(*vkRT, in init() 193 cbInfo.fCommandBuffer = fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu); in init() 194 cbInfo.currentCmdBuf()->begin(fGpu, vkRT->framebuffer(), cbInfo.fRenderPass); in init() 210 cbInfo.currentCmdBuf()->begin(fGpu, nullptr, cbInfo.fRenderPass); in initWrapped() [all …]
|
D | GrVkResourceProvider.cpp | 26 : fGpu(gpu) in GrVkResourceProvider() 46 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in pipelineCache() 61 const VkPhysicalDeviceProperties& devProps = fGpu->physicalDeviceProperties(); in pipelineCache() 75 VkResult result = GR_VK_CALL(fGpu->vkInterface(), in pipelineCache() 76 CreatePipelineCache(fGpu->device(), &createInfo, nullptr, in pipelineCache() 88 GrVkDescriptorSetManager* dsm = GrVkDescriptorSetManager::CreateUniformManager(fGpu); in init() 105 fGpu, numColorSamples, primProc, pipeline, stencil, origin, shaderStageInfo, in createPipeline() 127 fRenderPassArray.emplace_back(fGpu, target).getCompatibleRenderPass(); in findCompatibleRenderPass() 187 const GrVkRenderPass* renderPass = compatibleSet.getRenderPass(fGpu, in findRenderPass() 196 return new GrVkDescriptorPool(fGpu, type, count); in findOrCreateCompatibleDescriptorPool() [all …]
|
D | GrVkPipelineStateBuilder.cpp | 52 , fGpu(gpu) in GrVkPipelineStateBuilder() 57 return fGpu->caps(); in caps() 76 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule() 92 if (!GrInstallVkShaderModule(fGpu, spirv, stage, shaderModule, stageInfo)) { in installVkShaderModule() 163 GrVkResourceProvider& resourceProvider = fGpu->resourceProvider(); in finalize() 184 GR_VK_CALL_ERRCHECK(fGpu->vkInterface(), CreatePipelineLayout(fGpu->device(), in finalize() 209 auto persistentCache = fGpu->getContext()->priv().getPersistentCache(); in finalize() 216 binaryCache = !fGpu->getContext()->priv().options().fCacheSKSL; 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() [all …]
|
D | GrVkPipelineStateCache.cpp | 27 : fGpu(gpu) in Entry() 32 fPipelineState->freeGPUResources(fGpu); in ~Entry() 36 GrVkGpu* fGpu; member 42 , fGpu(gpu) in PipelineStateCache() 99 primitiveType, fGpu)) { in refPipelineState() 100 GrCapsDebugf(fGpu->caps(), "Failed to build vk program descriptor!\n"); in refPipelineState() 113 fGpu, renderTarget, origin, primProc, primProcProxies, pipeline, stencil, in refPipelineState() 118 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 83 , fGpu(gpu) in GrGLProgramBuilder() 92 return fGpu->caps(); in caps() 96 return fGpu->shaderCompiler(); in shaderCompiler() 166 SkString description = GrProgramDesc::Describe(fProgramInfo, *fGpu->caps()); in storeShaderInCache() 167 if (fGpu->glCaps().programBinarySupport()) { in storeShaderInCache() 242 bool checkLinked = !fGpu->glCaps().skipErrorChecks(); in finalize() 267 if (!fGpu->glCaps().programBinarySupport()) { in finalize() 339 cleanup_program(fGpu, programID, shadersToDelete); in finalize() 348 cleanup_program(fGpu, programID, shadersToDelete); in finalize() 364 cleanup_program(fGpu, programID, shadersToDelete); in finalize() [all …]
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 47 , fGpu(gpu) in GrDawnOpsRenderPass() 49 fEncoder = fGpu->device().CreateCommandEncoder(); in GrDawnOpsRenderPass() 93 GrGpu* GrDawnOpsRenderPass::gpu() { return fGpu; } in gpu() 96 fGpu->appendCommandBuffer(fEncoder.Finish()); in submit() 116 fGpu->submitToGpu(false); in inlineUpload() 123 auto bindGroup = program->setUniformData(fGpu, fRenderTarget, programInfo); in applyState() 147 fCurrentProgram = fGpu->getOrCreateRenderPipeline(fRenderTarget, programInfo); in onBindPipeline() 168 auto bindGroup = fCurrentProgram->setTextures(fGpu, geomProc, pipeline, geomProcTextures); in onBindTextures() 200 fGpu->stats()->incNumDraws(); in onDrawInstanced() 211 fGpu->stats()->incNumDraws(); in onDrawIndexedInstanced()
|