Lines Matching refs:fCopyPrograms
258 for (size_t i = 0; i < SK_ARRAY_COUNT(fCopyPrograms); ++i) {
259 if (0 != fCopyPrograms[i].fProgram) {
260 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram));
394 for (size_t i = 0; i < SK_ARRAY_COUNT(fCopyPrograms); ++i) {
395 fCopyPrograms[i].fProgram = 0;
3367 for (size_t i = 0; i < SK_ARRAY_COUNT(fCopyPrograms); ++i) {
3368 fCopyPrograms[i].fProgram = 0;
3374 SkASSERT(3 == SK_ARRAY_COUNT(fCopyPrograms));
3456 GL_CALL_RET(fCopyPrograms[i].fProgram, CreateProgram());
3462 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[i].fProgram,
3468 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[i].fProgram,
3472 GL_CALL(LinkProgram(fCopyPrograms[i].fProgram));
3474 GL_CALL_RET(fCopyPrograms[i].fTextureUniform,
3475 GetUniformLocation(fCopyPrograms[i].fProgram, "u_texture"));
3476 GL_CALL_RET(fCopyPrograms[i].fPosXformUniform,
3477 GetUniformLocation(fCopyPrograms[i].fProgram, "u_posXform"));
3478 GL_CALL_RET(fCopyPrograms[i].fTexCoordXformUniform,
3479 GetUniformLocation(fCopyPrograms[i].fProgram, "u_texCoordXform"));
3481 GL_CALL(BindAttribLocation(fCopyPrograms[i].fProgram, 0, "a_vertex"));
3680 GL_CALL(UseProgram(fCopyPrograms[progIdx].fProgram));
3681 fHWProgramID = fCopyPrograms[progIdx].fProgram;
3722 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0));
3723 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fTexCoordXformUniform,
3725 GL_CALL(Uniform1i(fCopyPrograms[progIdx].fTextureUniform, 0));