Lines Matching refs:fProgram

398         if (0 != fCopyPrograms[i].fProgram) {  in ~GrGLGpu()
399 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu()
404 if (0 != fMipmapPrograms[i].fProgram) { in ~GrGLGpu()
405 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in ~GrGLGpu()
429 if (fCopyPrograms[i].fProgram) { in disconnect()
430 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in disconnect()
434 if (fMipmapPrograms[i].fProgram) { in disconnect()
435 GL_CALL(DeleteProgram(fMipmapPrograms[i].fProgram)); in disconnect()
461 fCopyPrograms[i].fProgram = 0; in disconnect()
465 fMipmapPrograms[i].fProgram = 0; in disconnect()
3337 SkASSERT(!fCopyPrograms[progIdx].fProgram); in createCopyProgram()
3338 GL_CALL_RET(fCopyPrograms[progIdx].fProgram, CreateProgram()); in createCopyProgram()
3339 if (!fCopyPrograms[progIdx].fProgram) { in createCopyProgram()
3406 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()
3414 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fCopyPrograms[progIdx].fProgram, in createCopyProgram()
3419 GL_CALL(LinkProgram(fCopyPrograms[progIdx].fProgram)); in createCopyProgram()
3422 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_texture")); in createCopyProgram()
3424 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_posXform")); in createCopyProgram()
3426 GetUniformLocation(fCopyPrograms[progIdx].fProgram, "u_texCoordXform")); in createCopyProgram()
3428 GL_CALL(BindAttribLocation(fCopyPrograms[progIdx].fProgram, 0, "a_vertex")); in createCopyProgram()
3443 SkASSERT(!fMipmapPrograms[progIdx].fProgram); in createMipmapProgram()
3444 GL_CALL_RET(fMipmapPrograms[progIdx].fProgram, CreateProgram()); in createMipmapProgram()
3445 if (!fMipmapPrograms[progIdx].fProgram) { in createMipmapProgram()
3565 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fMipmapPrograms[progIdx].fProgram, in createMipmapProgram()
3573 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fMipmapPrograms[progIdx].fProgram, in createMipmapProgram()
3578 GL_CALL(LinkProgram(fMipmapPrograms[progIdx].fProgram)); in createMipmapProgram()
3581 GetUniformLocation(fMipmapPrograms[progIdx].fProgram, "u_texture")); in createMipmapProgram()
3583 GetUniformLocation(fMipmapPrograms[progIdx].fProgram, "u_texCoordXform")); in createMipmapProgram()
3585 GL_CALL(BindAttribLocation(fMipmapPrograms[progIdx].fProgram, 0, "a_vertex")); in createMipmapProgram()
3604 if (!fCopyPrograms[progIdx].fProgram) { in copySurfaceAsDraw()
3623 this->flushProgram(fCopyPrograms[progIdx].fProgram); in copySurfaceAsDraw()
3852 if (!fMipmapPrograms[progIdx].fProgram) { in onRegenerateMipMapLevels()
3860 this->flushProgram(fMipmapPrograms[progIdx].fProgram); in onRegenerateMipMapLevels()