Lines Matching refs:fProgram
441 if (0 != fCopyPrograms[i].fProgram) { in ~GrGLGpu()
442 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
447 if (0 != fMipmapPrograms[i].fProgram) { in ~GrGLGpu()
448 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu()
472 if (fCopyPrograms[i].fProgram) { in disconnect()
473 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect()
477 if (fMipmapPrograms[i].fProgram) { in disconnect()
478 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect()
504 fCopyPrograms[i].fProgram = 0; in disconnect()
508 fMipmapPrograms[i].fProgram = 0; in disconnect()
3365 SkASSERT(!fCopyPrograms[progIdx].fProgram); in createCopyProgram()
3366 GL_CALL_RET(fCopyPrograms[progIdx].fProgram, CreateProgram()); in createCopyProgram()
3367 if (!fCopyPrograms[progIdx].fProgram) { in createCopyProgram()
3434 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()
3442 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()
3447 GL_CALL(LinkProgram(fCopyPrograms[progIdx].fProgram)); in createCopyProgram()
3450 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_texture")); in createCopyProgram()
3452 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_posXform")); in createCopyProgram()
3454 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_texCoordXform")); in createCopyProgram()
3456 GL_CALL(BindAttribLocation(fCopyPrograms[progIdx].fProgram, 0, "a_vertex")); in createCopyProgram()
3471 SkASSERT(!fMipmapPrograms[progIdx].fProgram); in createMipmapProgram()
3472 GL_CALL_RET(fMipmapPrograms[progIdx].fProgram, CreateProgram()); in createMipmapProgram()
3473 if (!fMipmapPrograms[progIdx].fProgram) { in createMipmapProgram()
3593 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fMipmapPrograms[progIdx].fProgram, in createMipmapProgram()
3601 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fMipmapPrograms[progIdx].fProgram, in createMipmapProgram()
3606 GL_CALL(LinkProgram(fMipmapPrograms[progIdx].fProgram)); in createMipmapProgram()
3609 GetUniformLocation(fMipmapPrograms[progIdx].fProgram, "u_texture")); in createMipmapProgram()
3611 GetUniformLocation(fMipmapPrograms[progIdx].fProgram, "u_texCoordXform")); in createMipmapProgram()
3613 GL_CALL(BindAttribLocation(fMipmapPrograms[progIdx].fProgram, 0, "a_vertex")); in createMipmapProgram()
3632 if (!fCopyPrograms[progIdx].fProgram) { in copySurfaceAsDraw()
3651 this->flushProgram(fCopyPrograms[progIdx].fProgram); in copySurfaceAsDraw()
3878 if (!fMipmapPrograms[progIdx].fProgram) { in onRegenerateMipMapLevels()
3886 this->flushProgram(fMipmapPrograms[progIdx].fProgram); in onRegenerateMipMapLevels()