From 33d6384b29db1b28a9d1a035dc7cc82da8f33c99 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 5 Feb 2015 11:18:24 -0800 Subject: [PATCH] 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 Reviewed-by: Kenneth Graunke --- glamor/glamor_fbo.c | 2 -- glamor/glamor_priv.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c index abb7284c6..e4aa4c696 100644 --- a/glamor/glamor_fbo.c +++ b/glamor/glamor_fbo.c @@ -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); } diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index d72c9bc1b..57aa445c9 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -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;