diff options
author | Rob Clark <robdclark@chromium.org> | 2023-09-28 10:48:17 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-10-14 17:28:28 +0000 |
commit | d0c81e12f30d8ff7cbf6784d1c5525ad2b3531e7 (patch) | |
tree | 262b0c13f50ce7d7f44ee5afff059da332d19e24 /include | |
parent | 2320ad1da6d1bcb0bcbb7d3aae1e7fa11cf4d8ce (diff) | |
download | mesa-d0c81e12f30d8ff7cbf6784d1c5525ad2b3531e7.tar.gz mesa-d0c81e12f30d8ff7cbf6784d1c5525ad2b3531e7.tar.bz2 mesa-d0c81e12f30d8ff7cbf6784d1c5525ad2b3531e7.zip |
mesa: Introduce MESA_texture_const_bandwidth
A simple extension that builds on EXT_memory_object to allow the
application to request that constant bandwidth (non-data-dependent)
tiling layouts be used for a specified texture.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25464>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index 9149c286a36..8bacaf9906a 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -12906,6 +12906,11 @@ GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (co #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC #endif /* GL_WIN_specular_fog */ +#ifndef GL_MESA_texture_const_bandwidth +#define GL_MESA_texture_const_bandwidth 1 +#define GL_CONST_BW_TILING_MESA 0x8BBE +#endif + #ifdef __cplusplus } #endif |