Lines Matching refs:stringCnt
632 int stringCnt = 0;
635 strings[stringCnt] = segments.fHeader.c_str();
636 lengths[stringCnt] = segments.fHeader.size();
637 ++stringCnt;
640 strings[stringCnt] = segments.fVSUnis.c_str();
641 lengths[stringCnt] = segments.fVSUnis.size();
642 ++stringCnt;
645 strings[stringCnt] = segments.fVSAttrs.c_str();
646 lengths[stringCnt] = segments.fVSAttrs.size();
647 ++stringCnt;
650 strings[stringCnt] = segments.fVaryings.c_str();
651 lengths[stringCnt] = segments.fVaryings.size();
652 ++stringCnt;
656 strings[stringCnt] = segments.fVSCode.c_str();
657 lengths[stringCnt] = segments.fVSCode.size();
658 ++stringCnt;
668 GrAssert(stringCnt <= MAX_STRINGS);
670 stringCnt,
678 stringCnt = 0;
681 strings[stringCnt] = segments.fHeader.c_str();
682 lengths[stringCnt] = segments.fHeader.size();
683 ++stringCnt;
686 strings[stringCnt] = GrShaderPrecision();
687 lengths[stringCnt] = strlen(GrShaderPrecision());
688 ++stringCnt;
691 strings[stringCnt] = segments.fFSUnis.c_str();
692 lengths[stringCnt] = segments.fFSUnis.size();
693 ++stringCnt;
696 strings[stringCnt] = segments.fVaryings.c_str();
697 lengths[stringCnt] = segments.fVaryings.size();
698 ++stringCnt;
701 strings[stringCnt] = segments.fFSOutputs.c_str();
702 lengths[stringCnt] = segments.fFSOutputs.size();
703 ++stringCnt;
707 strings[stringCnt] = segments.fFSCode.c_str();
708 lengths[stringCnt] = segments.fFSCode.size();
709 ++stringCnt;
720 GrAssert(stringCnt <= MAX_STRINGS);
722 stringCnt,
734 int stringCnt,
743 GR_GL(ShaderSource(shader, stringCnt, strings, stringLengths));
753 for (int i = 0; i < stringCnt; ++i) {