• Home
  • Raw
  • Download

Lines Matching refs:fDesc

271         if (fDesc && fDesc->fProgramInfo) {  in visitProxies()
272 fDesc->fProgramInfo->visitFPProxies(func); in visitProxies()
444 , fDesc(nullptr) in TextureOp()
493 , fDesc(nullptr) in TextureOp()
649 return (fDesc) ? fDesc->fProgramInfo : nullptr; in programInfo()
659 SkASSERT(fDesc); in onCreateProgramInfo()
671 arena, fDesc->fVertexSpec, *caps->shaderCaps(), backendFormat, samplerState, in onCreateProgramInfo()
674 SkASSERT(fDesc->fVertexSpec.vertexSize() == gp->vertexStride()); in onCreateProgramInfo()
680 fDesc->fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo( in onCreateProgramInfo()
682 GrProcessorSet::MakeEmptySet(), fDesc->fVertexSpec.primitiveType(), in onCreateProgramInfo()
695 SkASSERT(!fDesc); in onPrePrepareDraws()
699 fDesc = arena->make<Desc>(); in onPrePrepareDraws()
700 this->characterize(fDesc); in onPrePrepareDraws()
701 fDesc->allocatePrePreparedVertices(arena); in onPrePrepareDraws()
702 FillInVertices(*context->priv().caps(), this, fDesc, fDesc->fPrePreparedVertices); in onPrePrepareDraws()
877 SkASSERT(!fDesc || fDesc->fPrePreparedVertices); in onPrepareDraws()
879 if (!fDesc) { in onPrepareDraws()
881 fDesc = arena->make<Desc>(); in onPrepareDraws()
882 this->characterize(fDesc); in onPrepareDraws()
883 SkASSERT(!fDesc->fPrePreparedVertices); in onPrepareDraws()
886 size_t vertexSize = fDesc->fVertexSpec.vertexSize(); in onPrepareDraws()
888 void* vdata = target->makeVertexSpace(vertexSize, fDesc->totalNumVertices(), in onPrepareDraws()
889 &fDesc->fVertexBuffer, &fDesc->fBaseVertex); in onPrepareDraws()
895 if (fDesc->fVertexSpec.needsIndexBuffer()) { in onPrepareDraws()
896 fDesc->fIndexBuffer = GrQuadPerEdgeAA::GetIndexBuffer( in onPrepareDraws()
897 target, fDesc->fVertexSpec.indexBufferOption()); in onPrepareDraws()
898 if (!fDesc->fIndexBuffer) { in onPrepareDraws()
904 if (fDesc->fPrePreparedVertices) { in onPrepareDraws()
905 memcpy(vdata, fDesc->fPrePreparedVertices, fDesc->totalSizeInBytes()); in onPrepareDraws()
907 FillInVertices(target->caps(), this, fDesc, (char*) vdata); in onPrepareDraws()
912 if (!fDesc->fVertexBuffer) { in onExecute()
916 if (fDesc->fVertexSpec.needsIndexBuffer() && !fDesc->fIndexBuffer) { in onExecute()
920 if (!fDesc->fProgramInfo) { in onExecute()
922 SkASSERT(fDesc->fProgramInfo); in onExecute()
925 flushState->bindPipelineAndScissorClip(*fDesc->fProgramInfo, chainBounds); in onExecute()
926 flushState->bindBuffers(std::move(fDesc->fIndexBuffer), nullptr, in onExecute()
927 std::move(fDesc->fVertexBuffer)); in onExecute()
934 SkASSERT(numDraws < fDesc->fNumProxies); in onExecute()
935 flushState->bindTextures(fDesc->fProgramInfo->geomProc(), in onExecute()
937 fDesc->fProgramInfo->pipeline()); in onExecute()
939 fDesc->fVertexSpec, totQuadsSeen, quadCnt, in onExecute()
940 fDesc->totalNumVertices(), fDesc->fBaseVertex); in onExecute()
946 SkASSERT(totQuadsSeen == fDesc->fNumTotalQuads); in onExecute()
947 SkASSERT(numDraws == fDesc->fNumProxies); in onExecute()
975 if (fDesc || that->fDesc) { in onCombineIfPossible()
1099 Desc* fDesc; member in __anona5b4f17c0111::TextureOp