Lines Matching refs:GR_GL
737 GrGLuint shader = GR_GL(CreateShader(type));
743 GR_GL(ShaderSource(shader, stringCnt, strings, stringLengths));
744 GR_GL(CompileShader(shader));
745 GR_GL(GetShaderiv(shader, GR_GL_COMPILE_STATUS, &compiled));
749 GR_GL(GetShaderiv(shader, GR_GL_INFO_LOG_LENGTH, &infoLen));
752 GR_GL(GetShaderInfoLog(shader, infoLen+1, NULL, (char*)log.get()));
763 GR_GL(DeleteShader(shader));
774 programData->fProgramID = GR_GL(CreateProgram());
780 GR_GL(AttachShader(progID, programData->fVShaderID));
781 GR_GL(AttachShader(progID, programData->fFShaderID));
784 GR_GL(BindFragDataLocationIndexed(programData->fProgramID,
788 GR_GL(BindFragDataLocationIndexed(programData->fProgramID,
793 GR_GL(BindAttribLocation(progID, PositionAttributeIdx(), POS_ATTR_NAME));
796 GR_GL(BindAttribLocation(progID,
803 GR_GL(BindAttribLocation(progID,
813 GR_GL(BindAttribLocation(progID,
819 GR_GL(BindAttribLocation(progID, ColorAttributeIdx(), COL_ATTR_NAME));
821 GR_GL(LinkProgram(progID));
824 GR_GL(GetProgramiv(progID, GR_GL_LINK_STATUS, &linked));
827 GR_GL(GetProgramiv(progID, GR_GL_INFO_LOG_LENGTH, &infoLen));
830 GR_GL(GetProgramInfoLog(progID,
837 GR_GL(DeleteProgram(progID));
849 GR_GL(GetUniformLocation(progID, VIEW_MATRIX_NAME));
854 GR_GL(GetUniformLocation(progID, COL_UNI_NAME));
859 GR_GL(GetUniformLocation(progID, COL_FILTER_UNI_NAME));
865 GR_GL(GetUniformLocation(progID, EDGES_UNI_NAME));
877 locations.fTextureMatrixUni = GR_GL(GetUniformLocation(
886 locations.fSamplerUni = GR_GL(GetUniformLocation(
896 GR_GL(GetUniformLocation(progID, texelSizeName.c_str()));
903 locations.fRadial2Uni = GR_GL(GetUniformLocation(
912 locations.fTexDomUni = GR_GL(GetUniformLocation(
919 GR_GL(UseProgram(progID));
924 GR_GL(Uniform1i(programData->fUniLocations.fStages[s].fSamplerUni, s));