Lines Matching defs:backup
3445 GLuint src, backup = 0;
3488 glGenTextures(1, &backup);
3490 glBindTexture(GL_TEXTURE_2D, backup);
3491 checkGLcall("glBindTexture(GL_TEXTURE_2D, backup)");
3495 * we are reading from the back buffer, the backup can be used as source texture
3548 src = backup ? backup : Src->texture_name;
3648 /* Write the back buffer backup back */
3649 if(backup) {
3655 glBindTexture(GL_TEXTURE_2D, backup);
3656 checkGLcall("glBindTexture(GL_TEXTURE_2D, backup)");
3690 if (src != Src->texture_name && src != backup)
3695 if(backup) {
3696 glDeleteTextures(1, &backup);
3697 checkGLcall("glDeleteTextures(1, &backup)");