Prune auto/core for GLX code generation from XML

This commit is contained in:
Nigel Stewart 2019-02-02 22:12:49 +10:00 committed by Nigel Stewart
parent 521fa58c63
commit 565caae5ad
14 changed files with 6 additions and 95 deletions

View File

@ -148,6 +148,11 @@ EOT
typedef struct __GLXFBConfigRec *GLXFBConfigSGIX typedef struct __GLXFBConfigRec *GLXFBConfigSGIX
EOT EOT
# Skip GLX_SGIX_dmbuffer and GLX_SGIX_video_source
# unknown DMparams, DMbuffer, etc
rm -f $1/GLX_SGIX_dmbuffer
rm -f $1/GLX_SGIX_video_source
# add typedefs to GLX_SGIX_pbuffer # add typedefs to GLX_SGIX_pbuffer
cat >> $1/GLX_SGIX_pbuffer <<EOT cat >> $1/GLX_SGIX_pbuffer <<EOT
typedef XID GLXPbufferSGIX typedef XID GLXPbufferSGIX

View File

@ -10,14 +10,6 @@ SGIX/SGIX_dmbuffer.txt
SGIX/SGIX_instruments.txt SGIX/SGIX_instruments.txt
SGIX/SGIX_video_source.txt SGIX/SGIX_video_source.txt
SGIX/SGIX_hyperpipe_group.txt SGIX/SGIX_hyperpipe_group.txt
SGIX/GLX_SGIX_color_type.txt
SGIX/GLX_SGIX_color_typeXXX.txt
SGIX/GLX_SGIX_dm_buffer.txt
SGIX/GLX_SGIX_fbconfig_float.txt
SGIX/GLX_SGIX_video_resize_float.txt
SGIX/GLX_SGIX_video_source.txt
SGIX/GLX_SGIX_wait_group.txt
SGI/GLX_SGI_transparent_pixel.txt
OES/OES_fixed_point.txt OES/OES_fixed_point.txt
OES/OES_query_matrix.txt OES/OES_query_matrix.txt
IMG/IMG_user_clip_plane.txt IMG/IMG_user_clip_plane.txt

View File

@ -1,23 +0,0 @@
GLX_AMD_gpu_association
http://www.opengl.org/registry/specs/AMD/glx_gpu_association.txt
GLX_AMD_gpu_association
GLX_GPU_VENDOR_AMD 0x1F00
GLX_GPU_RENDERER_STRING_AMD 0x1F01
GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
GLX_GPU_RAM_AMD 0x21A3
GLX_GPU_CLOCK_AMD 0x21A4
GLX_GPU_NUM_PIPES_AMD 0x21A5
GLX_GPU_NUM_SIMD_AMD 0x21A6
GLX_GPU_NUM_RB_AMD 0x21A7
GLX_GPU_NUM_SPI_AMD 0x21A8
void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
GLXContext glXCreateAssociatedContextAMD (unsigned int id, GLXContext share_list)
GLXContext glXCreateAssociatedContextAttribsAMD (unsigned int id, GLXContext share_context, const int* attribList)
Bool glXDeleteAssociatedContextAMD (GLXContext ctx)
unsigned int glXGetContextGPUIDAMD (GLXContext ctx)
GLXContext glXGetCurrentAssociatedContextAMD (void)
unsigned int glXGetGPUIDsAMD (unsigned int maxCount, unsigned int* ids)
int glXGetGPUInfoAMD (unsigned int id, int property, GLenum dataType, unsigned int size, void* data)
Bool glXMakeAssociatedContextCurrentAMD (GLXContext ctx)

View File

@ -1,8 +0,0 @@
GLX_ARB_context_flush_control
https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_context_flush_control.txt
GLX_ARB_context_flush_control
GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097
GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0x0000
GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098

View File

@ -1,5 +0,0 @@
GLX_EXT_create_context_es2_profile
http://www.opengl.org/registry/specs/EXT/glx_create_context_es2_profile.txt
GLX_EXT_create_context_es2_profile
GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004

View File

@ -1,5 +0,0 @@
GLX_EXT_create_context_es_profile
http://www.opengl.org/registry/specs/EXT/glx_create_context_es_profile.txt
GLX_EXT_create_context_es_profile
GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004

View File

@ -1,6 +0,0 @@
GLX_EXT_fbconfig_packed_float
http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt
GLX_EXT_fbconfig_packed_float
GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008

View File

@ -1,5 +0,0 @@
GLX_EXT_framebuffer_sRGB
http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt
GLX_EXT_framebuffer_sRGB
GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2

View File

@ -1,6 +0,0 @@
GLX_MESA_swap_control
http://cgit.freedesktop.org/mesa/mesa/plain/docs/MESA_swap_control.spec
GLX_MESA_swap_control
int glXGetSwapIntervalMESA (void)
int glXSwapIntervalMESA (unsigned int interval)

View File

@ -1,5 +0,0 @@
GLX_NV_float_buffer
http://cvs1.nvidia.com/inc/GL/glxtokens.h
GLX_NV_float_buffer
GLX_FLOAT_COMPONENTS_NV 0x20B0

View File

@ -1,6 +0,0 @@
GLX_SGIS_shared_multisample
GLX_SGIS_shared_multisample
GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027

View File

@ -1,6 +0,0 @@
GLX_SGIX_swap_barrier
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt
GLX_SGIX_swap_barrier
void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier)
Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max)

View File

@ -1,5 +0,0 @@
GLX_SGIX_swap_group
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt
GLX_SGIX_swap_group
void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member)

View File

@ -1,6 +0,0 @@
GLX_SGI_video_sync
http://www.opengl.org/registry/specs/SGI/video_sync.txt
GLX_SGI_video_sync
int glXGetVideoSyncSGI (unsigned int* count)
int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count)