glamor: Drop the dead "PBO" field in an FBO cache struct.

PBOs are only used at the whole pixmap level.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2015-02-05 11:18:24 -08:00
parent 1734aa2856
commit 33d6384b29
2 changed files with 0 additions and 4 deletions

View File

@ -121,8 +121,6 @@ glamor_purge_fbo(glamor_screen_private *glamor_priv,
glDeleteFramebuffers(1, &fbo->fb);
if (fbo->tex)
glDeleteTextures(1, &fbo->tex);
if (fbo->pbo)
glDeleteBuffers(1, &fbo->pbo);
free(fbo);
}

View File

@ -328,7 +328,6 @@ enum glamor_fbo_state {
* larger than this expire count in block handler.
* @tex: attached texture.
* @fb: attached fbo.
* @pbo: attached pbo.
* @width: width of this fbo.
* @height: height of this fbo.
* @external set when the texture was not created by glamor
@ -341,7 +340,6 @@ typedef struct glamor_pixmap_fbo {
unsigned int expire;
GLuint tex;
GLuint fb;
GLuint pbo;
int width;
int height;
Bool external;