glNamedBufferStorageEXT removed from ES spec description, relevant OpenGL with DSA. Issue #454

This commit is contained in:
Nigel Stewart 2025-12-29 20:14:04 +10:00
parent 418a04493a
commit f619fda134
2 changed files with 6 additions and 15 deletions

View File

@ -384,6 +384,12 @@ EOT
void glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) void glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit)
EOT EOT
# add missing functions to GL_EXT_direct_state_access (GL_EXT_buffer_storage related)
# https://github.com/nigels-com/glew/issues/454
cat >> $1/GL_EXT_direct_state_access <<EOT
void glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags)
EOT
# Filter out GL_UNSIGNED_INT and GL_FLOAT from GL_AMD_performance_monitor # Filter out GL_UNSIGNED_INT and GL_FLOAT from GL_AMD_performance_monitor
grep -v 'GL_UNSIGNED_INT ' $1/GL_AMD_performance_monitor > tmp grep -v 'GL_UNSIGNED_INT ' $1/GL_AMD_performance_monitor > tmp
mv tmp $1/GL_AMD_performance_monitor mv tmp $1/GL_AMD_performance_monitor

View File

@ -1,15 +0,0 @@
GL_EXT_buffer_storage
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_buffer_storage.txt
GL_EXT_buffer_storage
GL_MAP_READ_BIT 0x0001
GL_MAP_WRITE_BIT 0x0002
GL_MAP_PERSISTENT_BIT_EXT 0x0040
GL_MAP_COHERENT_BIT_EXT 0x0080
GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
GL_CLIENT_STORAGE_BIT_EXT 0x0200
GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
void glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags)
void glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags)