GrGpuGLShaders.cpp | 149 int random_int(GrRandom* r, int count) { function in namespace:__anon12326 154 int random_int(GrRandom* r, int min, int max) { function in namespace:__anon12326 199 pdesc.fColorInput = random_int(&random, ProgramDesc::kColorInputCnt); 200 pdesc.fCoverageInput = random_int(&random, ProgramDesc::kColorInputCnt); 202 pdesc.fColorFilterXfermode = random_int(&random, SkXfermode::kCoeffModesCnt); 204 pdesc.fFirstCoverageStage = random_int(&random, GrDrawState::kNumStages); 214 pdesc.fOutputConfig = random_int(&random, ProgramDesc::kOutputConfigCnt); 222 pdesc.fVertexEdgeType = (GrDrawState::VertexEdgeType) random_int(&random, GrDrawState::kVertexEdgeTypeCnt); 228 pdesc.fEdgeAANumEdges = random_int(&random, 1, this->getMaxEdges()); 238 pdesc.fDualSrcOutput = random_int(&random, ProgramDesc::kDualSrcOutputCnt) [all...] |