Lines Matching refs:GrGLProgram
10 #include "GrGLProgram.h"
65 typedef GrGLProgram::ProgramDesc::StageDesc StageDesc;
180 GrGLProgram::GrGLProgram() {
183 GrGLProgram::~GrGLProgram() {
186 void GrGLProgram::overrideBlend(GrBlendCoeff* srcCoeff,
431 void GrGLProgram::genEdgeCoverage(const GrGLContextInfo& gl,
536 void genInputColor(GrGLProgram::ProgramDesc::ColorInput colorInput,
537 GrGLProgram::CachedData* programData,
541 case GrGLProgram::ProgramDesc::kAttribute_ColorInput: {
550 case GrGLProgram::ProgramDesc::kUniform_ColorInput:
557 case GrGLProgram::ProgramDesc::kTransBlack_ColorInput:
560 case GrGLProgram::ProgramDesc::kSolidWhite_ColorInput:
587 GrGLProgram::CachedData* programData,
604 void GrGLProgram::genGeometryShader(const GrGLContextInfo& gl,
632 const char* GrGLProgram::adjustInColor(const GrStringBuilder& inColor) const {
645 bool GrGLProgram::genProgram(const GrGLContextInfo& gl,
646 GrGLProgram::CachedData* programData) const {
1063 bool GrGLProgram::CompileShaders(const GrGLContextInfo& gl,
1149 GrGLuint GrGLProgram::CompileShader(const GrGLContextInfo& gl,
1154 SK_TRACE_EVENT1("GrGLProgram::CompileShader",
1188 bool GrGLProgram::bindOutputsAttribsAndLinkProgram(
1272 void GrGLProgram::getUniformLocationsAndInitCache(const GrGLContextInfo& gl,
1398 bool isRadialMapping(GrGLProgram::StageDesc::CoordMapping mapping) {
1400 (GrGLProgram::StageDesc::kRadial2Gradient_CoordMapping == mapping ||
1401 GrGLProgram::StageDesc::kRadial2GradientDegenerate_CoordMapping == mapping);
1406 GrGLProgram::StageUniLocations* locations,
1563 GrGLProgram::StageUniLocations* locations,
1597 GrGLProgram::StageUniLocations* locations,
1667 GrGLProgram::StageUniLocations* locations,
1728 void GrGLProgram::genStageCode(const GrGLContextInfo& gl,
1730 const GrGLProgram::StageDesc& desc,