Lines Matching refs:tex
41 if (fbo->tex) in glamor_destroy_fbo()
42 glDeleteTextures(1, &fbo->tex); in glamor_destroy_fbo()
57 assert(fbo->tex != 0); in glamor_pixmap_ensure_fb()
60 GL_TEXTURE_2D, fbo->tex, 0); in glamor_pixmap_ensure_fb()
98 PixmapPtr pixmap, int w, int h, GLint tex, int flag) in glamor_create_fbo_from_tex() argument
107 fbo->tex = tex; in glamor_create_fbo_from_tex()
127 unsigned int tex; in _glamor_create_tex() local
130 glGenTextures(1, &tex); in _glamor_create_tex()
131 glBindTexture(GL_TEXTURE_2D, tex); in _glamor_create_tex()
149 glDeleteTextures(1, &tex); in _glamor_create_tex()
153 return tex; in _glamor_create_tex()
160 GLint tex = _glamor_create_tex(glamor_priv, pixmap, w, h); in glamor_create_fbo() local
162 if (!tex) /* Texture creation failed due to GL_OUT_OF_MEMORY */ in glamor_create_fbo()
166 tex, flag); in glamor_create_fbo()
249 assert(fbo->fb != 0 && fbo->tex != 0); in glamor_pixmap_clear_fbo()
338 if (!pixmap_priv->fbo->tex) in glamor_pixmap_ensure_fbo()
339 pixmap_priv->fbo->tex = in glamor_pixmap_ensure_fbo()