Mesa (main): mesa: Remove Purgeable fields from texture/buffer/renderbuffer objects
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 25 21:18:59 UTC 2022
Module: Mesa
Branch: main
Commit: 295a8b4464f1b2a03ad1abaca106d398e0b5bf74
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=295a8b4464f1b2a03ad1abaca106d398e0b5bf74
Author: Adam Jackson <ajax at redhat.com>
Date: Mon Jul 25 14:20:03 2022 -0400
mesa: Remove Purgeable fields from texture/buffer/renderbuffer objects
These are unused since !17425.
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17745>
---
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 */
More information about the mesa-commit
mailing list