From 295a8b4464f1b2a03ad1abaca106d398e0b5bf74 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 25 Jul 2022 14:20:03 -0400 Subject: [PATCH] mesa: Remove Purgeable fields from texture/buffer/renderbuffer objects These are unused since !17425. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/mesa/main/mtypes.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index b6911e898df..168d8fd871a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -937,8 +937,6 @@ struct gl_texture_object GLboolean _MipmapComplete; /**< Is the whole mipmap valid? */ GLboolean _IsIntegerFormat; /**< Does the texture store integer values? */ GLboolean _RenderToTexture; /**< Any rendering to this texture? */ - GLboolean Purgeable; /**< Is the buffer purgeable under memory - pressure? */ GLboolean Immutable; /**< GL_ARB_texture_storage */ GLboolean _IsFloat; /**< GL_OES_float_texture */ GLboolean _IsHalfFloat; /**< GL_OES_half_float_texture */ @@ -1440,7 +1438,6 @@ struct gl_buffer_object GLubyte *Data; /**< Location of storage either in RAM or VRAM. */ GLboolean DeletePending; /**< true if buffer object is removed from the hash */ GLboolean Written; /**< Ever written to? (for debugging) */ - GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */ GLboolean Immutable; /**< GL_ARB_buffer_storage */ gl_buffer_usage UsageHistory; /**< How has this buffer been used so far? */ @@ -2560,7 +2557,6 @@ struct gl_renderbuffer GLint RefCount; GLuint Width, Height; GLuint Depth; - GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */ GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */ GLubyte NumSamples; /**< zero means not multisampled */ GLubyte NumStorageSamples; /**< for AMD_framebuffer_multisample_advanced */