Home | History | Annotate | Download | only in src

Lines Matching full:pdesc

167     GrGLProgram::ProgramDesc& pdesc = program.fProgramDesc;
184 pdesc.fVertexLayout = 0;
185 pdesc.fEmitsPointSize = random.nextF() > .5f;
188 pdesc.fColorType = GrGLProgram::ProgramDesc::kAttribute_ColorType;
190 pdesc.fColorType = GrGLProgram::ProgramDesc::kUniform_ColorType;
192 pdesc.fColorType = GrGLProgram::ProgramDesc::kNone_ColorType;
196 pdesc.fColorFilterXfermode = (SkXfermode::Mode)idx;
199 pdesc.fFirstCoverageStage = idx;
201 pdesc.fEdgeAANumEdges = (random.nextF() * (getMaxEdges() + 1));
204 pdesc.fDualSrcOutput =
208 pdesc.fDualSrcOutput =
218 pdesc.fVertexLayout |= StageTexCoordVertexLayoutBit(s, t);
220 pdesc.fVertexLayout |= StagePosAsTexCoordVertexLayoutBit(s);
225 pdesc.fVertexLayout |= kTextFormat_VertexLayoutBit;
228 pdesc.fStages[s].fOptFlags = STAGE_OPTS[idx];
230 pdesc.fStages[s].fModulation = STAGE_MODULATES[idx];
232 pdesc.fStages[s].fCoordMapping = STAGE_COORD_MAPPINGS[idx];
234 pdesc.fStages[s].fFetchMode = FETCH_MODES[idx];
235 pdesc.fStages[s].setEnabled(VertexUsesStage(s, pdesc.fVertexLayout));