Searched refs:fragmentShaderStr (Results 1 – 1 of 1) sorted by relevance
9335 std::stringstream fragmentShaderStr; in compileProgramWithTextureCounts() local9336 fragmentShaderStr << "varying mediump vec4 color;\n" << "varying mediump vec2 texCoord;\n"; in compileProgramWithTextureCounts()9340 fragmentShaderStr << "uniform sampler2D " << fragPrefix << textureIndex << ";\n"; in compileProgramWithTextureCounts()9343 fragmentShaderStr << "void main() {\n" << " gl_FragColor = color;\n"; in compileProgramWithTextureCounts()9347 fragmentShaderStr << " gl_FragColor += texture2D(" << fragPrefix << textureIndex in compileProgramWithTextureCounts()9351 fragmentShaderStr << "}"; in compileProgramWithTextureCounts()9354 const std::string &fragmentShaderSource = fragmentShaderStr.str(); in compileProgramWithTextureCounts()