opengl32: Update to the current OpenGL spec.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-10-09 12:59:07 +02:00
parent 5489529f4e
commit d900547f58
5 changed files with 364 additions and 15 deletions

View File

@ -98,6 +98,7 @@ my %arg_types =
"GLclampx" => [ "long", "%d" ],
"GLdouble" => [ "double", "%f" ],
"GLeglClientBufferEXT" => [ "ptr", "%p" ],
"GLeglImageOES" => [ "ptr", "%p" ],
"GLenum" => [ "long", "%d" ],
"GLfixed" => [ "long", "%d" ],
"GLfloat" => [ "float", "%f" ],
@ -638,9 +639,6 @@ print HEADER "#ifndef GLAPIENTRY\n";
print HEADER "#define GLAPIENTRY __stdcall\n";
print HEADER "#endif\n\n";
print HEADER "#undef near\n";
print HEADER "#undef far\n\n";
foreach (@gl_types)
{
printf HEADER $gl_types{$_}->textContent() . "\n";

View File

@ -8,7 +8,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
const int extension_registry_size = 2655;
const int extension_registry_size = 2679;
static void WINAPI glAccumxOES( GLenum op, GLfixed value )
{
@ -507,6 +507,13 @@ static void WINAPI glBindSamplers( GLuint first, GLsizei count, const GLuint *sa
funcs->ext.p_glBindSamplers( first, count, samplers );
}
static void WINAPI glBindShadingRateImageNV( GLuint texture )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d)\n", texture );
funcs->ext.p_glBindShadingRateImageNV( texture );
}
static GLuint WINAPI glBindTexGenParameterEXT( GLenum unit, GLenum coord, GLenum value )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -892,6 +899,13 @@ static void WINAPI glBufferAddressRangeNV( GLenum pname, GLuint index, GLuint64E
funcs->ext.p_glBufferAddressRangeNV( pname, index, address, length );
}
static void WINAPI glBufferAttachMemoryNV( GLenum target, GLuint memory, GLuint64 offset )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %s)\n", target, memory, wine_dbgstr_longlong(offset) );
funcs->ext.p_glBufferAttachMemoryNV( target, memory, offset );
}
static void WINAPI glBufferData( GLenum target, GLsizeiptr size, const void *data, GLenum usage )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -3020,6 +3034,20 @@ static void WINAPI glDrawMeshArraysSUN( GLenum mode, GLint first, GLsizei count,
funcs->ext.p_glDrawMeshArraysSUN( mode, first, count, width );
}
static void WINAPI glDrawMeshTasksIndirectNV( GLintptr indirect )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%ld)\n", indirect );
funcs->ext.p_glDrawMeshTasksIndirectNV( indirect );
}
static void WINAPI glDrawMeshTasksNV( GLuint first, GLuint count )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d)\n", first, count );
funcs->ext.p_glDrawMeshTasksNV( first, count );
}
static void WINAPI glDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -3104,6 +3132,20 @@ static void WINAPI glDrawVkImageNV( GLuint64 vkImage, GLuint sampler, GLfloat x0
funcs->ext.p_glDrawVkImageNV( vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1 );
}
static void WINAPI glEGLImageTargetTexStorageEXT( GLenum target, GLeglImageOES image, const GLint* attrib_list )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %p, %p)\n", target, image, attrib_list );
funcs->ext.p_glEGLImageTargetTexStorageEXT( target, image, attrib_list );
}
static void WINAPI glEGLImageTargetTextureStorageEXT( GLuint texture, GLeglImageOES image, const GLint* attrib_list )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %p, %p)\n", texture, image, attrib_list );
funcs->ext.p_glEGLImageTargetTextureStorageEXT( texture, image, attrib_list );
}
static void WINAPI glEdgeFlagFormatNV( GLsizei stride )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -3741,6 +3783,13 @@ static void WINAPI glFramebufferDrawBuffersEXT( GLuint framebuffer, GLsizei n, c
funcs->ext.p_glFramebufferDrawBuffersEXT( framebuffer, n, bufs );
}
static void WINAPI glFramebufferFetchBarrierEXT(void)
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "()\n" );
funcs->ext.p_glFramebufferFetchBarrierEXT();
}
static void WINAPI glFramebufferParameteri( GLenum target, GLenum pname, GLint param )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -5057,6 +5106,13 @@ static void WINAPI glGetMaterialxOES( GLenum face, GLenum pname, GLfixed param )
funcs->ext.p_glGetMaterialxOES( face, pname, param );
}
static void WINAPI glGetMemoryObjectDetachedResourcesuivNV( GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %d, %p)\n", memory, pname, first, count, params );
funcs->ext.p_glGetMemoryObjectDetachedResourcesuivNV( memory, pname, first, count, params );
}
static void WINAPI glGetMemoryObjectParameterivEXT( GLuint memoryObject, GLenum pname, GLint *params )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -6072,6 +6128,20 @@ static void WINAPI glGetShaderiv( GLuint shader, GLenum pname, GLint *params )
funcs->ext.p_glGetShaderiv( shader, pname, params );
}
static void WINAPI glGetShadingRateImagePaletteNV( GLuint viewport, GLuint entry, GLenum *rate )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %p)\n", viewport, entry, rate );
funcs->ext.p_glGetShadingRateImagePaletteNV( viewport, entry, rate );
}
static void WINAPI glGetShadingRateSampleLocationivNV( GLenum rate, GLuint samples, GLuint index, GLint *location )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %p)\n", rate, samples, index, location );
funcs->ext.p_glGetShadingRateSampleLocationivNV( rate, samples, index, location );
}
static void WINAPI glGetSharpenTexFuncSGIS( GLenum target, GLfloat *points )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -8578,6 +8648,20 @@ static void WINAPI glMultiDrawElementsIndirectCountARB( GLenum mode, GLenum type
funcs->ext.p_glMultiDrawElementsIndirectCountARB( mode, type, indirect, drawcount, maxdrawcount, stride );
}
static void WINAPI glMultiDrawMeshTasksIndirectCountNV( GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%ld, %ld, %d, %d)\n", indirect, drawcount, maxdrawcount, stride );
funcs->ext.p_glMultiDrawMeshTasksIndirectCountNV( indirect, drawcount, maxdrawcount, stride );
}
static void WINAPI glMultiDrawMeshTasksIndirectNV( GLintptr indirect, GLsizei drawcount, GLsizei stride )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%ld, %d, %d)\n", indirect, drawcount, stride );
funcs->ext.p_glMultiDrawMeshTasksIndirectNV( indirect, drawcount, stride );
}
static void WINAPI glMultiDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -9754,6 +9838,13 @@ static void WINAPI glMulticastWaitSyncNV( GLuint signalGpu, GLbitfield waitGpuMa
funcs->ext.p_glMulticastWaitSyncNV( signalGpu, waitGpuMask );
}
static void WINAPI glNamedBufferAttachMemoryNV( GLuint buffer, GLuint memory, GLuint64 offset )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %s)\n", buffer, memory, wine_dbgstr_longlong(offset) );
funcs->ext.p_glNamedBufferAttachMemoryNV( buffer, memory, offset );
}
static void WINAPI glNamedBufferData( GLuint buffer, GLsizeiptr size, const void *data, GLenum usage )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -10062,6 +10153,13 @@ static void WINAPI glNamedRenderbufferStorageMultisample( GLuint renderbuffer, G
funcs->ext.p_glNamedRenderbufferStorageMultisample( renderbuffer, samples, internalformat, width, height );
}
static void WINAPI glNamedRenderbufferStorageMultisampleAdvancedAMD( GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %d, %d, %d)\n", renderbuffer, samples, storageSamples, internalformat, width, height );
funcs->ext.p_glNamedRenderbufferStorageMultisampleAdvancedAMD( renderbuffer, samples, storageSamples, internalformat, width, height );
}
static void WINAPI glNamedRenderbufferStorageMultisampleCoverageEXT( GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -12288,6 +12386,13 @@ static void WINAPI glRenderbufferStorageMultisample( GLenum target, GLsizei samp
funcs->ext.p_glRenderbufferStorageMultisample( target, samples, internalformat, width, height );
}
static void WINAPI glRenderbufferStorageMultisampleAdvancedAMD( GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %d, %d, %d)\n", target, samples, storageSamples, internalformat, width, height );
funcs->ext.p_glRenderbufferStorageMultisampleAdvancedAMD( target, samples, storageSamples, internalformat, width, height );
}
static void WINAPI glRenderbufferStorageMultisampleCoverageNV( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -12484,6 +12589,13 @@ static void WINAPI glResetHistogramEXT( GLenum target )
funcs->ext.p_glResetHistogramEXT( target );
}
static void WINAPI glResetMemoryObjectParameterNV( GLuint memory, GLenum pname )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d)\n", memory, pname );
funcs->ext.p_glResetMemoryObjectParameterNV( memory, pname );
}
static void WINAPI glResetMinmax( GLenum target )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -12652,6 +12764,20 @@ static void WINAPI glScissorArrayv( GLuint first, GLsizei count, const GLint *v
funcs->ext.p_glScissorArrayv( first, count, v );
}
static void WINAPI glScissorExclusiveArrayvNV( GLuint first, GLsizei count, const GLint *v )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %p)\n", first, count, v );
funcs->ext.p_glScissorExclusiveArrayvNV( first, count, v );
}
static void WINAPI glScissorExclusiveNV( GLint x, GLint y, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %d)\n", x, y, width, height );
funcs->ext.p_glScissorExclusiveNV( x, y, width, height );
}
static void WINAPI glScissorIndexed( GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -13079,6 +13205,34 @@ static void WINAPI glShaderStorageBlockBinding( GLuint program, GLuint storageBl
funcs->ext.p_glShaderStorageBlockBinding( program, storageBlockIndex, storageBlockBinding );
}
static void WINAPI glShadingRateImageBarrierNV( GLboolean synchronize )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d)\n", synchronize );
funcs->ext.p_glShadingRateImageBarrierNV( synchronize );
}
static void WINAPI glShadingRateImagePaletteNV( GLuint viewport, GLuint first, GLsizei count, const GLenum *rates )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %d, %p)\n", viewport, first, count, rates );
funcs->ext.p_glShadingRateImagePaletteNV( viewport, first, count, rates );
}
static void WINAPI glShadingRateSampleOrderCustomNV( GLenum rate, GLuint samples, const GLint *locations )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %p)\n", rate, samples, locations );
funcs->ext.p_glShadingRateSampleOrderCustomNV( rate, samples, locations );
}
static void WINAPI glShadingRateSampleOrderNV( GLenum order )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d)\n", order );
funcs->ext.p_glShadingRateSampleOrderNV( order );
}
static void WINAPI glSharpenTexFuncSGIS( GLenum target, GLsizei n, const GLfloat *points )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -13429,6 +13583,13 @@ static GLboolean WINAPI glTestObjectAPPLE( GLenum object, GLuint name )
return funcs->ext.p_glTestObjectAPPLE( object, name );
}
static void WINAPI glTexAttachMemoryNV( GLenum target, GLuint memory, GLuint64 offset )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %s)\n", target, memory, wine_dbgstr_longlong(offset) );
funcs->ext.p_glTexAttachMemoryNV( target, memory, offset );
}
static void WINAPI glTexBuffer( GLenum target, GLenum internalformat, GLuint buffer )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -14073,6 +14234,13 @@ static void WINAPI glTexSubImage4DSGIS( GLenum target, GLint level, GLint xoffse
funcs->ext.p_glTexSubImage4DSGIS( target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels );
}
static void WINAPI glTextureAttachMemoryNV( GLuint texture, GLuint memory, GLuint64 offset )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%d, %d, %s)\n", texture, memory, wine_dbgstr_longlong(offset) );
funcs->ext.p_glTextureAttachMemoryNV( texture, memory, offset );
}
static void WINAPI glTextureBarrier(void)
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
@ -18531,7 +18699,7 @@ extern int WINAPI wglReleasePbufferDCARB( HPBUFFERARB hPbuffer, HDC hDC ) DECLSP
extern BOOL WINAPI wglReleaseTexImageARB( HPBUFFERARB hPbuffer, int iBuffer ) DECLSPEC_HIDDEN;
extern BOOL WINAPI wglSetPbufferAttribARB( HPBUFFERARB hPbuffer, const int *piAttribList ) DECLSPEC_HIDDEN;
const OpenGL_extension extension_registry[2655] = {
const OpenGL_extension extension_registry[2679] = {
{ "glAccumxOES", "GL_OES_fixed_point", glAccumxOES },
{ "glAcquireKeyedMutexWin32EXT", "GL_EXT_win32_keyed_mutex", glAcquireKeyedMutexWin32EXT },
{ "glActiveProgramEXT", "GL_EXT_separate_shader_objects", glActiveProgramEXT },
@ -18603,6 +18771,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glBindRenderbufferEXT", "GL_EXT_framebuffer_object", glBindRenderbufferEXT },
{ "glBindSampler", "GL_ARB_sampler_objects GL_VERSION_3_3", glBindSampler },
{ "glBindSamplers", "GL_ARB_multi_bind GL_VERSION_4_4", glBindSamplers },
{ "glBindShadingRateImageNV", "GL_NV_shading_rate_image", glBindShadingRateImageNV },
{ "glBindTexGenParameterEXT", "GL_EXT_vertex_shader", glBindTexGenParameterEXT },
{ "glBindTextureEXT", "GL_EXT_texture_object", glBindTextureEXT },
{ "glBindTextureUnit", "GL_ARB_direct_state_access GL_VERSION_4_5", glBindTextureUnit },
@ -18658,6 +18827,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glBlitFramebufferEXT", "GL_EXT_framebuffer_blit", glBlitFramebufferEXT },
{ "glBlitNamedFramebuffer", "GL_ARB_direct_state_access GL_VERSION_4_5", glBlitNamedFramebuffer },
{ "glBufferAddressRangeNV", "GL_NV_vertex_buffer_unified_memory", glBufferAddressRangeNV },
{ "glBufferAttachMemoryNV", "GL_NV_memory_attachment", glBufferAttachMemoryNV },
{ "glBufferData", "GL_VERSION_1_5", glBufferData },
{ "glBufferDataARB", "GL_ARB_vertex_buffer_object", glBufferDataARB },
{ "glBufferPageCommitmentARB", "GL_ARB_sparse_buffer", glBufferPageCommitmentARB },
@ -18962,6 +19132,8 @@ const OpenGL_extension extension_registry[2655] = {
{ "glDrawElementsInstancedBaseVertexBaseInstance", "GL_ARB_base_instance GL_VERSION_4_2", glDrawElementsInstancedBaseVertexBaseInstance },
{ "glDrawElementsInstancedEXT", "GL_EXT_draw_instanced", glDrawElementsInstancedEXT },
{ "glDrawMeshArraysSUN", "GL_SUN_mesh_array", glDrawMeshArraysSUN },
{ "glDrawMeshTasksIndirectNV", "GL_NV_mesh_shader", glDrawMeshTasksIndirectNV },
{ "glDrawMeshTasksNV", "GL_NV_mesh_shader", glDrawMeshTasksNV },
{ "glDrawRangeElementArrayAPPLE", "GL_APPLE_element_array", glDrawRangeElementArrayAPPLE },
{ "glDrawRangeElementArrayATI", "GL_ATI_element_array", glDrawRangeElementArrayATI },
{ "glDrawRangeElements", "GL_VERSION_1_2", glDrawRangeElements },
@ -18974,6 +19146,8 @@ const OpenGL_extension extension_registry[2655] = {
{ "glDrawTransformFeedbackStream", "GL_ARB_transform_feedback3 GL_VERSION_4_0", glDrawTransformFeedbackStream },
{ "glDrawTransformFeedbackStreamInstanced", "GL_ARB_transform_feedback_instanced GL_VERSION_4_2", glDrawTransformFeedbackStreamInstanced },
{ "glDrawVkImageNV", "GL_NV_draw_vulkan_image", glDrawVkImageNV },
{ "glEGLImageTargetTexStorageEXT", "GL_EXT_EGL_image_storage", glEGLImageTargetTexStorageEXT },
{ "glEGLImageTargetTextureStorageEXT", "GL_EXT_EGL_image_storage", glEGLImageTargetTextureStorageEXT },
{ "glEdgeFlagFormatNV", "GL_NV_vertex_buffer_unified_memory", glEdgeFlagFormatNV },
{ "glEdgeFlagPointerEXT", "GL_EXT_vertex_array", glEdgeFlagPointerEXT },
{ "glEdgeFlagPointerListIBM", "GL_IBM_vertex_array_lists", glEdgeFlagPointerListIBM },
@ -19065,6 +19239,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glFrameZoomSGIX", "GL_SGIX_framezoom", glFrameZoomSGIX },
{ "glFramebufferDrawBufferEXT", "GL_EXT_direct_state_access", glFramebufferDrawBufferEXT },
{ "glFramebufferDrawBuffersEXT", "GL_EXT_direct_state_access", glFramebufferDrawBuffersEXT },
{ "glFramebufferFetchBarrierEXT", "GL_EXT_shader_framebuffer_fetch_non_coherent", glFramebufferFetchBarrierEXT },
{ "glFramebufferParameteri", "GL_ARB_framebuffer_no_attachments GL_VERSION_4_3", glFramebufferParameteri },
{ "glFramebufferReadBufferEXT", "GL_EXT_direct_state_access", glFramebufferReadBufferEXT },
{ "glFramebufferRenderbuffer", "GL_ARB_framebuffer_object GL_VERSION_3_0", glFramebufferRenderbuffer },
@ -19253,6 +19428,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glGetMapParameterivNV", "GL_NV_evaluators", glGetMapParameterivNV },
{ "glGetMapxvOES", "GL_OES_fixed_point", glGetMapxvOES },
{ "glGetMaterialxOES", "GL_OES_fixed_point", glGetMaterialxOES },
{ "glGetMemoryObjectDetachedResourcesuivNV", "GL_NV_memory_attachment", glGetMemoryObjectDetachedResourcesuivNV },
{ "glGetMemoryObjectParameterivEXT", "GL_EXT_memory_object", glGetMemoryObjectParameterivEXT },
{ "glGetMinmax", "GL_ARB_imaging", glGetMinmax },
{ "glGetMinmaxEXT", "GL_EXT_histogram", glGetMinmaxEXT },
@ -19398,6 +19574,8 @@ const OpenGL_extension extension_registry[2655] = {
{ "glGetShaderSource", "GL_VERSION_2_0", glGetShaderSource },
{ "glGetShaderSourceARB", "GL_ARB_shader_objects", glGetShaderSourceARB },
{ "glGetShaderiv", "GL_VERSION_2_0", glGetShaderiv },
{ "glGetShadingRateImagePaletteNV", "GL_NV_shading_rate_image", glGetShadingRateImagePaletteNV },
{ "glGetShadingRateSampleLocationivNV", "GL_NV_shading_rate_image", glGetShadingRateSampleLocationivNV },
{ "glGetSharpenTexFuncSGIS", "GL_SGIS_sharpen_texture", glGetSharpenTexFuncSGIS },
{ "glGetStageIndexNV", "GL_NV_command_list", glGetStageIndexNV },
{ "glGetStringi", "GL_VERSION_3_0", glGetStringi },
@ -19757,6 +19935,8 @@ const OpenGL_extension extension_registry[2655] = {
{ "glMultiDrawElementsIndirectBindlessNV", "GL_NV_bindless_multi_draw_indirect", glMultiDrawElementsIndirectBindlessNV },
{ "glMultiDrawElementsIndirectCount", "GL_VERSION_4_6", glMultiDrawElementsIndirectCount },
{ "glMultiDrawElementsIndirectCountARB", "GL_ARB_indirect_parameters", glMultiDrawElementsIndirectCountARB },
{ "glMultiDrawMeshTasksIndirectCountNV", "GL_NV_mesh_shader", glMultiDrawMeshTasksIndirectCountNV },
{ "glMultiDrawMeshTasksIndirectNV", "GL_NV_mesh_shader", glMultiDrawMeshTasksIndirectNV },
{ "glMultiDrawRangeElementArrayAPPLE", "GL_APPLE_element_array", glMultiDrawRangeElementArrayAPPLE },
{ "glMultiModeDrawArraysIBM", "GL_IBM_multimode_draw_arrays", glMultiModeDrawArraysIBM },
{ "glMultiModeDrawElementsIBM", "GL_IBM_multimode_draw_arrays", glMultiModeDrawElementsIBM },
@ -19925,6 +20105,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glMulticastGetQueryObjectui64vNV", "GL_NV_gpu_multicast", glMulticastGetQueryObjectui64vNV },
{ "glMulticastGetQueryObjectuivNV", "GL_NV_gpu_multicast", glMulticastGetQueryObjectuivNV },
{ "glMulticastWaitSyncNV", "GL_NV_gpu_multicast", glMulticastWaitSyncNV },
{ "glNamedBufferAttachMemoryNV", "GL_NV_memory_attachment", glNamedBufferAttachMemoryNV },
{ "glNamedBufferData", "GL_ARB_direct_state_access GL_VERSION_4_5", glNamedBufferData },
{ "glNamedBufferDataEXT", "GL_EXT_direct_state_access", glNamedBufferDataEXT },
{ "glNamedBufferPageCommitmentARB", "GL_ARB_sparse_buffer", glNamedBufferPageCommitmentARB },
@ -19969,6 +20150,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glNamedRenderbufferStorage", "GL_ARB_direct_state_access GL_VERSION_4_5", glNamedRenderbufferStorage },
{ "glNamedRenderbufferStorageEXT", "GL_EXT_direct_state_access", glNamedRenderbufferStorageEXT },
{ "glNamedRenderbufferStorageMultisample", "GL_ARB_direct_state_access GL_VERSION_4_5", glNamedRenderbufferStorageMultisample },
{ "glNamedRenderbufferStorageMultisampleAdvancedAMD", "GL_AMD_framebuffer_multisample_advanced", glNamedRenderbufferStorageMultisampleAdvancedAMD },
{ "glNamedRenderbufferStorageMultisampleCoverageEXT", "GL_EXT_direct_state_access", glNamedRenderbufferStorageMultisampleCoverageEXT },
{ "glNamedRenderbufferStorageMultisampleEXT", "GL_EXT_direct_state_access", glNamedRenderbufferStorageMultisampleEXT },
{ "glNamedStringARB", "GL_ARB_shading_language_include", glNamedStringARB },
@ -20287,6 +20469,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glRenderbufferStorage", "GL_ARB_framebuffer_object GL_VERSION_3_0", glRenderbufferStorage },
{ "glRenderbufferStorageEXT", "GL_EXT_framebuffer_object", glRenderbufferStorageEXT },
{ "glRenderbufferStorageMultisample", "GL_ARB_framebuffer_object GL_VERSION_3_0", glRenderbufferStorageMultisample },
{ "glRenderbufferStorageMultisampleAdvancedAMD", "GL_AMD_framebuffer_multisample_advanced", glRenderbufferStorageMultisampleAdvancedAMD },
{ "glRenderbufferStorageMultisampleCoverageNV", "GL_NV_framebuffer_multisample_coverage", glRenderbufferStorageMultisampleCoverageNV },
{ "glRenderbufferStorageMultisampleEXT", "GL_EXT_framebuffer_multisample", glRenderbufferStorageMultisampleEXT },
{ "glReplacementCodePointerSUN", "GL_SUN_triangle_list", glReplacementCodePointerSUN },
@ -20315,6 +20498,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glRequestResidentProgramsNV", "GL_NV_vertex_program", glRequestResidentProgramsNV },
{ "glResetHistogram", "GL_ARB_imaging", glResetHistogram },
{ "glResetHistogramEXT", "GL_EXT_histogram", glResetHistogramEXT },
{ "glResetMemoryObjectParameterNV", "GL_NV_memory_attachment", glResetMemoryObjectParameterNV },
{ "glResetMinmax", "GL_ARB_imaging", glResetMinmax },
{ "glResetMinmaxEXT", "GL_EXT_histogram", glResetMinmaxEXT },
{ "glResizeBuffersMESA", "GL_MESA_resize_buffers", glResizeBuffersMESA },
@ -20339,6 +20523,8 @@ const OpenGL_extension extension_registry[2655] = {
{ "glSamplerParameteriv", "GL_ARB_sampler_objects GL_VERSION_3_3", glSamplerParameteriv },
{ "glScalexOES", "GL_OES_fixed_point", glScalexOES },
{ "glScissorArrayv", "GL_ARB_viewport_array GL_VERSION_4_1", glScissorArrayv },
{ "glScissorExclusiveArrayvNV", "GL_NV_scissor_exclusive", glScissorExclusiveArrayvNV },
{ "glScissorExclusiveNV", "GL_NV_scissor_exclusive", glScissorExclusiveNV },
{ "glScissorIndexed", "GL_ARB_viewport_array GL_VERSION_4_1", glScissorIndexed },
{ "glScissorIndexedv", "GL_ARB_viewport_array GL_VERSION_4_1", glScissorIndexedv },
{ "glSecondaryColor3b", "GL_VERSION_1_4", glSecondaryColor3b },
@ -20400,6 +20586,10 @@ const OpenGL_extension extension_registry[2655] = {
{ "glShaderSource", "GL_VERSION_2_0", glShaderSource },
{ "glShaderSourceARB", "GL_ARB_shader_objects", glShaderSourceARB },
{ "glShaderStorageBlockBinding", "GL_ARB_shader_storage_buffer_object GL_VERSION_4_3", glShaderStorageBlockBinding },
{ "glShadingRateImageBarrierNV", "GL_NV_shading_rate_image GL_NV_shading_rate_image", glShadingRateImageBarrierNV },
{ "glShadingRateImagePaletteNV", "GL_NV_shading_rate_image", glShadingRateImagePaletteNV },
{ "glShadingRateSampleOrderCustomNV", "GL_NV_shading_rate_image", glShadingRateSampleOrderCustomNV },
{ "glShadingRateSampleOrderNV", "GL_NV_shading_rate_image", glShadingRateSampleOrderNV },
{ "glSharpenTexFuncSGIS", "GL_SGIS_sharpen_texture", glSharpenTexFuncSGIS },
{ "glSignalSemaphoreEXT", "GL_EXT_semaphore", glSignalSemaphoreEXT },
{ "glSignalVkFenceNV", "GL_NV_draw_vulkan_image", glSignalVkFenceNV },
@ -20450,6 +20640,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glTestFenceAPPLE", "GL_APPLE_fence", glTestFenceAPPLE },
{ "glTestFenceNV", "GL_NV_fence", glTestFenceNV },
{ "glTestObjectAPPLE", "GL_APPLE_fence", glTestObjectAPPLE },
{ "glTexAttachMemoryNV", "GL_NV_memory_attachment", glTexAttachMemoryNV },
{ "glTexBuffer", "GL_VERSION_3_1", glTexBuffer },
{ "glTexBufferARB", "GL_ARB_texture_buffer_object", glTexBufferARB },
{ "glTexBufferEXT", "GL_EXT_texture_buffer_object", glTexBufferEXT },
@ -20542,6 +20733,7 @@ const OpenGL_extension extension_registry[2655] = {
{ "glTexSubImage3D", "GL_VERSION_1_2", glTexSubImage3D },
{ "glTexSubImage3DEXT", "GL_EXT_texture3D", glTexSubImage3DEXT },
{ "glTexSubImage4DSGIS", "GL_SGIS_texture4D", glTexSubImage4DSGIS },
{ "glTextureAttachMemoryNV", "GL_NV_memory_attachment", glTextureAttachMemoryNV },
{ "glTextureBarrier", "GL_ARB_texture_barrier GL_VERSION_4_5", glTextureBarrier },
{ "glTextureBarrierNV", "GL_NV_texture_barrier", glTextureBarrierNV },
{ "glTextureBuffer", "GL_ARB_direct_state_access GL_VERSION_4_5", glTextureBuffer },

View File

@ -442,11 +442,11 @@ void WINAPI glDepthMask( GLboolean flag )
funcs->gl.p_glDepthMask( flag );
}
void WINAPI glDepthRange( GLdouble near, GLdouble far )
void WINAPI glDepthRange( GLdouble n, GLdouble f )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
TRACE( "(%f, %f)\n", near, far );
funcs->gl.p_glDepthRange( near, far );
TRACE( "(%f, %f)\n", n, f );
funcs->gl.p_glDepthRange( n, f );
}
void WINAPI glDisable( GLenum cap )
@ -2418,7 +2418,7 @@ static void null_glDeleteLists( GLuint list, GLsizei range ) { }
static void null_glDeleteTextures( GLsizei n, const GLuint *textures ) { }
static void null_glDepthFunc( GLenum func ) { }
static void null_glDepthMask( GLboolean flag ) { }
static void null_glDepthRange( GLdouble near, GLdouble far ) { }
static void null_glDepthRange( GLdouble n, GLdouble f ) { }
static void null_glDisable( GLenum cap ) { }
static void null_glDisableClientState( GLenum array ) { }
static void null_glDrawArrays( GLenum mode, GLint first, GLsizei count ) { }
@ -2763,6 +2763,7 @@ static void null_glBindRenderbuffer( GLenum target, GLuint renderbuffer ) { }
static void null_glBindRenderbufferEXT( GLenum target, GLuint renderbuffer ) { }
static void null_glBindSampler( GLuint unit, GLuint sampler ) { }
static void null_glBindSamplers( GLuint first, GLsizei count, const GLuint *samplers ) { }
static void null_glBindShadingRateImageNV( GLuint texture ) { }
static GLuint null_glBindTexGenParameterEXT( GLenum unit, GLenum coord, GLenum value ) { return 0; }
static void null_glBindTextureEXT( GLenum target, GLuint texture ) { }
static void null_glBindTextureUnit( GLuint unit, GLuint texture ) { }
@ -2818,6 +2819,7 @@ static void null_glBlitFramebuffer( GLint srcX0, GLint srcY0, GLint srcX1, GLint
static void null_glBlitFramebufferEXT( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) { }
static void null_glBlitNamedFramebuffer( GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) { }
static void null_glBufferAddressRangeNV( GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length ) { }
static void null_glBufferAttachMemoryNV( GLenum target, GLuint memory, GLuint64 offset ) { }
static void null_glBufferData( GLenum target, GLsizeiptr size, const void *data, GLenum usage ) { }
static void null_glBufferDataARB( GLenum target, GLsizeiptrARB size, const void *data, GLenum usage ) { }
static void null_glBufferPageCommitmentARB( GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit ) { }
@ -3122,6 +3124,8 @@ static void null_glDrawElementsInstancedBaseVertex( GLenum mode, GLsizei count,
static void null_glDrawElementsInstancedBaseVertexBaseInstance( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance ) { }
static void null_glDrawElementsInstancedEXT( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount ) { }
static void null_glDrawMeshArraysSUN( GLenum mode, GLint first, GLsizei count, GLsizei width ) { }
static void null_glDrawMeshTasksIndirectNV( GLintptr indirect ) { }
static void null_glDrawMeshTasksNV( GLuint first, GLuint count ) { }
static void null_glDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count ) { }
static void null_glDrawRangeElementArrayATI( GLenum mode, GLuint start, GLuint end, GLsizei count ) { }
static void null_glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices ) { }
@ -3134,6 +3138,8 @@ static void null_glDrawTransformFeedbackNV( GLenum mode, GLuint id ) { }
static void null_glDrawTransformFeedbackStream( GLenum mode, GLuint id, GLuint stream ) { }
static void null_glDrawTransformFeedbackStreamInstanced( GLenum mode, GLuint id, GLuint stream, GLsizei instancecount ) { }
static void null_glDrawVkImageNV( GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1 ) { }
static void null_glEGLImageTargetTexStorageEXT( GLenum target, GLeglImageOES image, const GLint* attrib_list ) { }
static void null_glEGLImageTargetTextureStorageEXT( GLuint texture, GLeglImageOES image, const GLint* attrib_list ) { }
static void null_glEdgeFlagFormatNV( GLsizei stride ) { }
static void null_glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, const GLboolean *pointer ) { }
static void null_glEdgeFlagPointerListIBM( GLint stride, const GLboolean **pointer, GLint ptrstride ) { }
@ -3225,6 +3231,7 @@ static void null_glFrameTerminatorGREMEDY(void) { }
static void null_glFrameZoomSGIX( GLint factor ) { }
static void null_glFramebufferDrawBufferEXT( GLuint framebuffer, GLenum mode ) { }
static void null_glFramebufferDrawBuffersEXT( GLuint framebuffer, GLsizei n, const GLenum *bufs ) { }
static void null_glFramebufferFetchBarrierEXT(void) { }
static void null_glFramebufferParameteri( GLenum target, GLenum pname, GLint param ) { }
static void null_glFramebufferReadBufferEXT( GLuint framebuffer, GLenum mode ) { }
static void null_glFramebufferRenderbuffer( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) { }
@ -3413,6 +3420,7 @@ static void null_glGetMapParameterfvNV( GLenum target, GLenum pname, GLfloat *pa
static void null_glGetMapParameterivNV( GLenum target, GLenum pname, GLint *params ) { }
static void null_glGetMapxvOES( GLenum target, GLenum query, GLfixed *v ) { }
static void null_glGetMaterialxOES( GLenum face, GLenum pname, GLfixed param ) { }
static void null_glGetMemoryObjectDetachedResourcesuivNV( GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params ) { }
static void null_glGetMemoryObjectParameterivEXT( GLuint memoryObject, GLenum pname, GLint *params ) { }
static void null_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, void *values ) { }
static void null_glGetMinmaxEXT( GLenum target, GLboolean reset, GLenum format, GLenum type, void *values ) { }
@ -3558,6 +3566,8 @@ static void null_glGetShaderPrecisionFormat( GLenum shadertype, GLenum precision
static void null_glGetShaderSource( GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source ) { }
static void null_glGetShaderSourceARB( GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source ) { }
static void null_glGetShaderiv( GLuint shader, GLenum pname, GLint *params ) { }
static void null_glGetShadingRateImagePaletteNV( GLuint viewport, GLuint entry, GLenum *rate ) { }
static void null_glGetShadingRateSampleLocationivNV( GLenum rate, GLuint samples, GLuint index, GLint *location ) { }
static void null_glGetSharpenTexFuncSGIS( GLenum target, GLfloat *points ) { }
static GLushort null_glGetStageIndexNV( GLenum shadertype ) { return 0; }
static const GLubyte * null_glGetStringi( GLenum name, GLuint index ) { return 0; }
@ -3917,6 +3927,8 @@ static void null_glMultiDrawElementsIndirectBindlessCountNV( GLenum mode, GLenum
static void null_glMultiDrawElementsIndirectBindlessNV( GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount ) { }
static void null_glMultiDrawElementsIndirectCount( GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride ) { }
static void null_glMultiDrawElementsIndirectCountARB( GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride ) { }
static void null_glMultiDrawMeshTasksIndirectCountNV( GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride ) { }
static void null_glMultiDrawMeshTasksIndirectNV( GLintptr indirect, GLsizei drawcount, GLsizei stride ) { }
static void null_glMultiDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount ) { }
static void null_glMultiModeDrawArraysIBM( const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride ) { }
static void null_glMultiModeDrawElementsIBM( const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride ) { }
@ -4085,6 +4097,7 @@ static void null_glMulticastGetQueryObjectivNV( GLuint gpu, GLuint id, GLenum pn
static void null_glMulticastGetQueryObjectui64vNV( GLuint gpu, GLuint id, GLenum pname, GLuint64 *params ) { }
static void null_glMulticastGetQueryObjectuivNV( GLuint gpu, GLuint id, GLenum pname, GLuint *params ) { }
static void null_glMulticastWaitSyncNV( GLuint signalGpu, GLbitfield waitGpuMask ) { }
static void null_glNamedBufferAttachMemoryNV( GLuint buffer, GLuint memory, GLuint64 offset ) { }
static void null_glNamedBufferData( GLuint buffer, GLsizeiptr size, const void *data, GLenum usage ) { }
static void null_glNamedBufferDataEXT( GLuint buffer, GLsizeiptr size, const void *data, GLenum usage ) { }
static void null_glNamedBufferPageCommitmentARB( GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit ) { }
@ -4129,6 +4142,7 @@ static void null_glNamedProgramStringEXT( GLuint program, GLenum target, GLenum
static void null_glNamedRenderbufferStorage( GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedRenderbufferStorageEXT( GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedRenderbufferStorageMultisample( GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedRenderbufferStorageMultisampleAdvancedAMD( GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedRenderbufferStorageMultisampleCoverageEXT( GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedRenderbufferStorageMultisampleEXT( GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glNamedStringARB( GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string ) { }
@ -4447,6 +4461,7 @@ static void null_glRenderGpuMaskNV( GLbitfield mask ) { }
static void null_glRenderbufferStorage( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glRenderbufferStorageEXT( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glRenderbufferStorageMultisample( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glRenderbufferStorageMultisampleAdvancedAMD( GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glRenderbufferStorageMultisampleCoverageNV( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glRenderbufferStorageMultisampleEXT( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { }
static void null_glReplacementCodePointerSUN( GLenum type, GLsizei stride, const void **pointer ) { }
@ -4475,6 +4490,7 @@ static void null_glReplacementCodeusvSUN( const GLushort *code ) { }
static void null_glRequestResidentProgramsNV( GLsizei n, const GLuint *programs ) { }
static void null_glResetHistogram( GLenum target ) { }
static void null_glResetHistogramEXT( GLenum target ) { }
static void null_glResetMemoryObjectParameterNV( GLuint memory, GLenum pname ) { }
static void null_glResetMinmax( GLenum target ) { }
static void null_glResetMinmaxEXT( GLenum target ) { }
static void null_glResizeBuffersMESA(void) { }
@ -4499,6 +4515,8 @@ static void null_glSamplerParameteri( GLuint sampler, GLenum pname, GLint param
static void null_glSamplerParameteriv( GLuint sampler, GLenum pname, const GLint *param ) { }
static void null_glScalexOES( GLfixed x, GLfixed y, GLfixed z ) { }
static void null_glScissorArrayv( GLuint first, GLsizei count, const GLint *v ) { }
static void null_glScissorExclusiveArrayvNV( GLuint first, GLsizei count, const GLint *v ) { }
static void null_glScissorExclusiveNV( GLint x, GLint y, GLsizei width, GLsizei height ) { }
static void null_glScissorIndexed( GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height ) { }
static void null_glScissorIndexedv( GLuint index, const GLint *v ) { }
static void null_glSecondaryColor3b( GLbyte red, GLbyte green, GLbyte blue ) { }
@ -4560,6 +4578,10 @@ static void null_glShaderOp3EXT( GLenum op, GLuint res, GLuint arg1, GLuint arg2
static void null_glShaderSource( GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length ) { }
static void null_glShaderSourceARB( GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length ) { }
static void null_glShaderStorageBlockBinding( GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding ) { }
static void null_glShadingRateImageBarrierNV( GLboolean synchronize ) { }
static void null_glShadingRateImagePaletteNV( GLuint viewport, GLuint first, GLsizei count, const GLenum *rates ) { }
static void null_glShadingRateSampleOrderCustomNV( GLenum rate, GLuint samples, const GLint *locations ) { }
static void null_glShadingRateSampleOrderNV( GLenum order ) { }
static void null_glSharpenTexFuncSGIS( GLenum target, GLsizei n, const GLfloat *points ) { }
static void null_glSignalSemaphoreEXT( GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts ) { }
static void null_glSignalVkFenceNV( GLuint64 vkFence ) { }
@ -4610,6 +4632,7 @@ static void null_glTessellationModeAMD( GLenum mode ) { }
static GLboolean null_glTestFenceAPPLE( GLuint fence ) { return 0; }
static GLboolean null_glTestFenceNV( GLuint fence ) { return 0; }
static GLboolean null_glTestObjectAPPLE( GLenum object, GLuint name ) { return 0; }
static void null_glTexAttachMemoryNV( GLenum target, GLuint memory, GLuint64 offset ) { }
static void null_glTexBuffer( GLenum target, GLenum internalformat, GLuint buffer ) { }
static void null_glTexBufferARB( GLenum target, GLenum internalformat, GLuint buffer ) { }
static void null_glTexBufferEXT( GLenum target, GLenum internalformat, GLuint buffer ) { }
@ -4702,6 +4725,7 @@ static void null_glTexSubImage2DEXT( GLenum target, GLint level, GLint xoffset,
static void null_glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels ) { }
static void null_glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels ) { }
static void null_glTexSubImage4DSGIS( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels ) { }
static void null_glTextureAttachMemoryNV( GLuint texture, GLuint memory, GLuint64 offset ) { }
static void null_glTextureBarrier(void) { }
static void null_glTextureBarrierNV(void) { }
static void null_glTextureBuffer( GLuint texture, GLenum internalformat, GLuint buffer ) { }
@ -5772,6 +5796,7 @@ struct opengl_funcs null_opengl_funcs =
null_glBindRenderbufferEXT,
null_glBindSampler,
null_glBindSamplers,
null_glBindShadingRateImageNV,
null_glBindTexGenParameterEXT,
null_glBindTextureEXT,
null_glBindTextureUnit,
@ -5827,6 +5852,7 @@ struct opengl_funcs null_opengl_funcs =
null_glBlitFramebufferEXT,
null_glBlitNamedFramebuffer,
null_glBufferAddressRangeNV,
null_glBufferAttachMemoryNV,
null_glBufferData,
null_glBufferDataARB,
null_glBufferPageCommitmentARB,
@ -6131,6 +6157,8 @@ struct opengl_funcs null_opengl_funcs =
null_glDrawElementsInstancedBaseVertexBaseInstance,
null_glDrawElementsInstancedEXT,
null_glDrawMeshArraysSUN,
null_glDrawMeshTasksIndirectNV,
null_glDrawMeshTasksNV,
null_glDrawRangeElementArrayAPPLE,
null_glDrawRangeElementArrayATI,
null_glDrawRangeElements,
@ -6143,6 +6171,8 @@ struct opengl_funcs null_opengl_funcs =
null_glDrawTransformFeedbackStream,
null_glDrawTransformFeedbackStreamInstanced,
null_glDrawVkImageNV,
null_glEGLImageTargetTexStorageEXT,
null_glEGLImageTargetTextureStorageEXT,
null_glEdgeFlagFormatNV,
null_glEdgeFlagPointerEXT,
null_glEdgeFlagPointerListIBM,
@ -6234,6 +6264,7 @@ struct opengl_funcs null_opengl_funcs =
null_glFrameZoomSGIX,
null_glFramebufferDrawBufferEXT,
null_glFramebufferDrawBuffersEXT,
null_glFramebufferFetchBarrierEXT,
null_glFramebufferParameteri,
null_glFramebufferReadBufferEXT,
null_glFramebufferRenderbuffer,
@ -6422,6 +6453,7 @@ struct opengl_funcs null_opengl_funcs =
null_glGetMapParameterivNV,
null_glGetMapxvOES,
null_glGetMaterialxOES,
null_glGetMemoryObjectDetachedResourcesuivNV,
null_glGetMemoryObjectParameterivEXT,
null_glGetMinmax,
null_glGetMinmaxEXT,
@ -6567,6 +6599,8 @@ struct opengl_funcs null_opengl_funcs =
null_glGetShaderSource,
null_glGetShaderSourceARB,
null_glGetShaderiv,
null_glGetShadingRateImagePaletteNV,
null_glGetShadingRateSampleLocationivNV,
null_glGetSharpenTexFuncSGIS,
null_glGetStageIndexNV,
null_glGetStringi,
@ -6926,6 +6960,8 @@ struct opengl_funcs null_opengl_funcs =
null_glMultiDrawElementsIndirectBindlessNV,
null_glMultiDrawElementsIndirectCount,
null_glMultiDrawElementsIndirectCountARB,
null_glMultiDrawMeshTasksIndirectCountNV,
null_glMultiDrawMeshTasksIndirectNV,
null_glMultiDrawRangeElementArrayAPPLE,
null_glMultiModeDrawArraysIBM,
null_glMultiModeDrawElementsIBM,
@ -7094,6 +7130,7 @@ struct opengl_funcs null_opengl_funcs =
null_glMulticastGetQueryObjectui64vNV,
null_glMulticastGetQueryObjectuivNV,
null_glMulticastWaitSyncNV,
null_glNamedBufferAttachMemoryNV,
null_glNamedBufferData,
null_glNamedBufferDataEXT,
null_glNamedBufferPageCommitmentARB,
@ -7138,6 +7175,7 @@ struct opengl_funcs null_opengl_funcs =
null_glNamedRenderbufferStorage,
null_glNamedRenderbufferStorageEXT,
null_glNamedRenderbufferStorageMultisample,
null_glNamedRenderbufferStorageMultisampleAdvancedAMD,
null_glNamedRenderbufferStorageMultisampleCoverageEXT,
null_glNamedRenderbufferStorageMultisampleEXT,
null_glNamedStringARB,
@ -7456,6 +7494,7 @@ struct opengl_funcs null_opengl_funcs =
null_glRenderbufferStorage,
null_glRenderbufferStorageEXT,
null_glRenderbufferStorageMultisample,
null_glRenderbufferStorageMultisampleAdvancedAMD,
null_glRenderbufferStorageMultisampleCoverageNV,
null_glRenderbufferStorageMultisampleEXT,
null_glReplacementCodePointerSUN,
@ -7484,6 +7523,7 @@ struct opengl_funcs null_opengl_funcs =
null_glRequestResidentProgramsNV,
null_glResetHistogram,
null_glResetHistogramEXT,
null_glResetMemoryObjectParameterNV,
null_glResetMinmax,
null_glResetMinmaxEXT,
null_glResizeBuffersMESA,
@ -7508,6 +7548,8 @@ struct opengl_funcs null_opengl_funcs =
null_glSamplerParameteriv,
null_glScalexOES,
null_glScissorArrayv,
null_glScissorExclusiveArrayvNV,
null_glScissorExclusiveNV,
null_glScissorIndexed,
null_glScissorIndexedv,
null_glSecondaryColor3b,
@ -7569,6 +7611,10 @@ struct opengl_funcs null_opengl_funcs =
null_glShaderSource,
null_glShaderSourceARB,
null_glShaderStorageBlockBinding,
null_glShadingRateImageBarrierNV,
null_glShadingRateImagePaletteNV,
null_glShadingRateSampleOrderCustomNV,
null_glShadingRateSampleOrderNV,
null_glSharpenTexFuncSGIS,
null_glSignalSemaphoreEXT,
null_glSignalVkFenceNV,
@ -7619,6 +7665,7 @@ struct opengl_funcs null_opengl_funcs =
null_glTestFenceAPPLE,
null_glTestFenceNV,
null_glTestObjectAPPLE,
null_glTexAttachMemoryNV,
null_glTexBuffer,
null_glTexBufferARB,
null_glTexBufferEXT,
@ -7711,6 +7758,7 @@ struct opengl_funcs null_opengl_funcs =
null_glTexSubImage3D,
null_glTexSubImage3DEXT,
null_glTexSubImage4DSGIS,
null_glTextureAttachMemoryNV,
null_glTextureBarrier,
null_glTextureBarrierNV,
null_glTextureBuffer,

View File

@ -7,9 +7,6 @@
#define GLAPIENTRY __stdcall
#endif
#undef near
#undef far
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
@ -237,11 +234,15 @@ typedef unsigned int GLhandleARB;
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
#define GL_ATTACHED_SHADERS 0x8B85
#define GL_ATTENUATION_EXT 0x834D
#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
@ -283,6 +284,7 @@ typedef unsigned int GLhandleARB;
#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
#define GL_BITMAP 0x1A00
#define GL_BITMAP_TOKEN 0x0704
#define GL_BLACKHOLE_RENDER_INTEL 0x83FC
#define GL_BLEND 0x0BE2
#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
@ -1010,6 +1012,9 @@ typedef unsigned int GLhandleARB;
#define GL_DEPTH_TEXTURE_MODE 0x884B
#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
#define GL_DEPTH_WRITEMASK 0x0B72
#define GL_DETACHED_BUFFERS_NV 0x95AB
#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
#define GL_DETACHED_TEXTURES_NV 0x95AA
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
@ -1447,6 +1452,7 @@ typedef unsigned int GLhandleARB;
#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
#define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
#define GL_FRAGMENT_SUBROUTINE 0x92EC
@ -2220,8 +2226,11 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
#define GL_MAX_CLIP_DISTANCES 0x0D32
#define GL_MAX_CLIP_PLANES 0x0D32
#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
@ -2235,8 +2244,10 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
@ -2280,10 +2291,14 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
#define GL_MAX_DEPTH 0x8280
#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
#define GL_MAX_DRAW_BUFFERS 0x8824
#define GL_MAX_DRAW_BUFFERS_ARB 0x8824
#define GL_MAX_DRAW_BUFFERS_ATI 0x8824
#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
#define GL_MAX_ELEMENTS_INDICES 0x80E9
#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
@ -2351,6 +2366,19 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_LIST_NESTING 0x0B31
#define GL_MAX_MAP_TESSELLATION_NV 0x86D6
#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
#define GL_MAX_MESH_VIEWS_NV 0x9557
#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
#define GL_MAX_NAME_LENGTH 0x92F6
@ -2439,6 +2467,17 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
#define GL_MAX_SUBROUTINES 0x8DE7
#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
@ -2533,6 +2572,19 @@ typedef unsigned int GLhandleARB;
#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
#define GL_MEDIUM_FLOAT 0x8DF1
#define GL_MEDIUM_INT 0x8DF4
#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
#define GL_MEMORY_ATTACHABLE_NV 0x95A8
#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
#define GL_MESH_OUTPUT_TYPE_NV 0x957B
#define GL_MESH_PRIMITIVES_OUT_NV 0x957A
#define GL_MESH_SHADER_BIT_NV 0x00000040
#define GL_MESH_SHADER_NV 0x9559
#define GL_MESH_SUBROUTINE_NV 0x957C
#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
#define GL_MESH_VERTICES_OUT_NV 0x9579
#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
#define GL_MIN 0x8007
#define GL_MINMAX 0x802E
#define GL_MINMAX_EXT 0x802E
@ -2721,6 +2773,7 @@ typedef unsigned int GLhandleARB;
#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
#define GL_NUM_SPIR_V_EXTENSIONS 0x9554
#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
#define GL_NUM_TILING_TYPES_EXT 0x9582
#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
@ -3404,6 +3457,8 @@ typedef unsigned int GLhandleARB;
#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
@ -3492,6 +3547,7 @@ typedef unsigned int GLhandleARB;
#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
#define GL_RENDERBUFFER_WIDTH 0x8D42
#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
#define GL_RENDERER 0x1F01
@ -3510,6 +3566,7 @@ typedef unsigned int GLhandleARB;
#define GL_REPLACE_VALUE_AMD 0x874B
#define GL_REPLICATE_BORDER 0x8153
#define GL_REPLICATE_BORDER_HP 0x8153
#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
#define GL_RESAMPLE_AVERAGE_OML 0x8988
#define GL_RESAMPLE_DECIMATE_OML 0x8989
#define GL_RESAMPLE_DECIMATE_SGIX 0x8430
@ -3748,8 +3805,10 @@ typedef unsigned int GLhandleARB;
#define GL_SCALE_BY_TWO_NV 0x853E
#define GL_SCISSOR_BIT 0x00080000
#define GL_SCISSOR_BOX 0x0C10
#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
#define GL_SCISSOR_COMMAND_NV 0x0011
#define GL_SCISSOR_TEST 0x0C11
#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
#define GL_SCREEN_COORDINATES_REND 0x8490
#define GL_SCREEN_KHR 0x9295
#define GL_SCREEN_NV 0x9295
@ -3812,6 +3871,26 @@ typedef unsigned int GLhandleARB;
#define GL_SHADE_MODEL 0x0B54
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
#define GL_SHADING_RATE_IMAGE_NV 0x9563
#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
#define GL_SHADOW_AMBIENT_SGIX 0x80BF
#define GL_SHADOW_ATTENUATION_EXT 0x834E
#define GL_SHARED_EDGE_NV 0xC0
@ -4023,6 +4102,7 @@ typedef unsigned int GLhandleARB;
#define GL_SUCCESS_NV 0x902F
#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
#define GL_SURFACE_MAPPED_NV 0x8700
#define GL_SURFACE_REGISTERED_NV 0x86FD
#define GL_SURFACE_STATE_NV 0x86EB
@ -4060,6 +4140,11 @@ typedef unsigned int GLhandleARB;
#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
#define GL_TASK_SHADER_BIT_NV 0x00000080
#define GL_TASK_SHADER_NV 0x955A
#define GL_TASK_SUBROUTINE_NV 0x957D
#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
#define GL_TESSELLATION_FACTOR_AMD 0x9005
#define GL_TESSELLATION_MODE_AMD 0x9004
@ -4541,6 +4626,8 @@ typedef unsigned int GLhandleARB;
#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
@ -5174,7 +5261,7 @@ void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range );
void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures );
void GLAPIENTRY glDepthFunc( GLenum func );
void GLAPIENTRY glDepthMask( GLboolean flag );
void GLAPIENTRY glDepthRange( GLdouble near, GLdouble far );
void GLAPIENTRY glDepthRange( GLdouble n, GLdouble f );
void GLAPIENTRY glDisable( GLenum cap );
void GLAPIENTRY glDisableClientState( GLenum array );
void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count );

View File

@ -7,7 +7,7 @@
#define WINE_GLAPI
#endif
#define WINE_WGL_DRIVER_VERSION 18
#define WINE_WGL_DRIVER_VERSION 19
struct wgl_context;
struct wgl_pbuffer;
@ -92,7 +92,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glDeleteTextures)( GLsizei n, const GLuint *textures );
void (WINE_GLAPI *p_glDepthFunc)( GLenum func );
void (WINE_GLAPI *p_glDepthMask)( GLboolean flag );
void (WINE_GLAPI *p_glDepthRange)( GLdouble near, GLdouble far );
void (WINE_GLAPI *p_glDepthRange)( GLdouble n, GLdouble f );
void (WINE_GLAPI *p_glDisable)( GLenum cap );
void (WINE_GLAPI *p_glDisableClientState)( GLenum array );
void (WINE_GLAPI *p_glDrawArrays)( GLenum mode, GLint first, GLsizei count );
@ -441,6 +441,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glBindRenderbufferEXT)( GLenum target, GLuint renderbuffer );
void (WINE_GLAPI *p_glBindSampler)( GLuint unit, GLuint sampler );
void (WINE_GLAPI *p_glBindSamplers)( GLuint first, GLsizei count, const GLuint *samplers );
void (WINE_GLAPI *p_glBindShadingRateImageNV)( GLuint texture );
GLuint (WINE_GLAPI *p_glBindTexGenParameterEXT)( GLenum unit, GLenum coord, GLenum value );
void (WINE_GLAPI *p_glBindTextureEXT)( GLenum target, GLuint texture );
void (WINE_GLAPI *p_glBindTextureUnit)( GLuint unit, GLuint texture );
@ -496,6 +497,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glBlitFramebufferEXT)( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter );
void (WINE_GLAPI *p_glBlitNamedFramebuffer)( GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter );
void (WINE_GLAPI *p_glBufferAddressRangeNV)( GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length );
void (WINE_GLAPI *p_glBufferAttachMemoryNV)( GLenum target, GLuint memory, GLuint64 offset );
void (WINE_GLAPI *p_glBufferData)( GLenum target, GLsizeiptr size, const void *data, GLenum usage );
void (WINE_GLAPI *p_glBufferDataARB)( GLenum target, GLsizeiptrARB size, const void *data, GLenum usage );
void (WINE_GLAPI *p_glBufferPageCommitmentARB)( GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit );
@ -800,6 +802,8 @@ struct opengl_funcs
void (WINE_GLAPI *p_glDrawElementsInstancedBaseVertexBaseInstance)( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance );
void (WINE_GLAPI *p_glDrawElementsInstancedEXT)( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount );
void (WINE_GLAPI *p_glDrawMeshArraysSUN)( GLenum mode, GLint first, GLsizei count, GLsizei width );
void (WINE_GLAPI *p_glDrawMeshTasksIndirectNV)( GLintptr indirect );
void (WINE_GLAPI *p_glDrawMeshTasksNV)( GLuint first, GLuint count );
void (WINE_GLAPI *p_glDrawRangeElementArrayAPPLE)( GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count );
void (WINE_GLAPI *p_glDrawRangeElementArrayATI)( GLenum mode, GLuint start, GLuint end, GLsizei count );
void (WINE_GLAPI *p_glDrawRangeElements)( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices );
@ -812,6 +816,8 @@ struct opengl_funcs
void (WINE_GLAPI *p_glDrawTransformFeedbackStream)( GLenum mode, GLuint id, GLuint stream );
void (WINE_GLAPI *p_glDrawTransformFeedbackStreamInstanced)( GLenum mode, GLuint id, GLuint stream, GLsizei instancecount );
void (WINE_GLAPI *p_glDrawVkImageNV)( GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1 );
void (WINE_GLAPI *p_glEGLImageTargetTexStorageEXT)( GLenum target, GLeglImageOES image, const GLint* attrib_list );
void (WINE_GLAPI *p_glEGLImageTargetTextureStorageEXT)( GLuint texture, GLeglImageOES image, const GLint* attrib_list );
void (WINE_GLAPI *p_glEdgeFlagFormatNV)( GLsizei stride );
void (WINE_GLAPI *p_glEdgeFlagPointerEXT)( GLsizei stride, GLsizei count, const GLboolean *pointer );
void (WINE_GLAPI *p_glEdgeFlagPointerListIBM)( GLint stride, const GLboolean **pointer, GLint ptrstride );
@ -903,6 +909,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glFrameZoomSGIX)( GLint factor );
void (WINE_GLAPI *p_glFramebufferDrawBufferEXT)( GLuint framebuffer, GLenum mode );
void (WINE_GLAPI *p_glFramebufferDrawBuffersEXT)( GLuint framebuffer, GLsizei n, const GLenum *bufs );
void (WINE_GLAPI *p_glFramebufferFetchBarrierEXT)(void);
void (WINE_GLAPI *p_glFramebufferParameteri)( GLenum target, GLenum pname, GLint param );
void (WINE_GLAPI *p_glFramebufferReadBufferEXT)( GLuint framebuffer, GLenum mode );
void (WINE_GLAPI *p_glFramebufferRenderbuffer)( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer );
@ -1091,6 +1098,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glGetMapParameterivNV)( GLenum target, GLenum pname, GLint *params );
void (WINE_GLAPI *p_glGetMapxvOES)( GLenum target, GLenum query, GLfixed *v );
void (WINE_GLAPI *p_glGetMaterialxOES)( GLenum face, GLenum pname, GLfixed param );
void (WINE_GLAPI *p_glGetMemoryObjectDetachedResourcesuivNV)( GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params );
void (WINE_GLAPI *p_glGetMemoryObjectParameterivEXT)( GLuint memoryObject, GLenum pname, GLint *params );
void (WINE_GLAPI *p_glGetMinmax)( GLenum target, GLboolean reset, GLenum format, GLenum type, void *values );
void (WINE_GLAPI *p_glGetMinmaxEXT)( GLenum target, GLboolean reset, GLenum format, GLenum type, void *values );
@ -1236,6 +1244,8 @@ struct opengl_funcs
void (WINE_GLAPI *p_glGetShaderSource)( GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source );
void (WINE_GLAPI *p_glGetShaderSourceARB)( GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source );
void (WINE_GLAPI *p_glGetShaderiv)( GLuint shader, GLenum pname, GLint *params );
void (WINE_GLAPI *p_glGetShadingRateImagePaletteNV)( GLuint viewport, GLuint entry, GLenum *rate );
void (WINE_GLAPI *p_glGetShadingRateSampleLocationivNV)( GLenum rate, GLuint samples, GLuint index, GLint *location );
void (WINE_GLAPI *p_glGetSharpenTexFuncSGIS)( GLenum target, GLfloat *points );
GLushort (WINE_GLAPI *p_glGetStageIndexNV)( GLenum shadertype );
const GLubyte * (WINE_GLAPI *p_glGetStringi)( GLenum name, GLuint index );
@ -1595,6 +1605,8 @@ struct opengl_funcs
void (WINE_GLAPI *p_glMultiDrawElementsIndirectBindlessNV)( GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount );
void (WINE_GLAPI *p_glMultiDrawElementsIndirectCount)( GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride );
void (WINE_GLAPI *p_glMultiDrawElementsIndirectCountARB)( GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride );
void (WINE_GLAPI *p_glMultiDrawMeshTasksIndirectCountNV)( GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride );
void (WINE_GLAPI *p_glMultiDrawMeshTasksIndirectNV)( GLintptr indirect, GLsizei drawcount, GLsizei stride );
void (WINE_GLAPI *p_glMultiDrawRangeElementArrayAPPLE)( GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount );
void (WINE_GLAPI *p_glMultiModeDrawArraysIBM)( const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride );
void (WINE_GLAPI *p_glMultiModeDrawElementsIBM)( const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride );
@ -1763,6 +1775,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glMulticastGetQueryObjectui64vNV)( GLuint gpu, GLuint id, GLenum pname, GLuint64 *params );
void (WINE_GLAPI *p_glMulticastGetQueryObjectuivNV)( GLuint gpu, GLuint id, GLenum pname, GLuint *params );
void (WINE_GLAPI *p_glMulticastWaitSyncNV)( GLuint signalGpu, GLbitfield waitGpuMask );
void (WINE_GLAPI *p_glNamedBufferAttachMemoryNV)( GLuint buffer, GLuint memory, GLuint64 offset );
void (WINE_GLAPI *p_glNamedBufferData)( GLuint buffer, GLsizeiptr size, const void *data, GLenum usage );
void (WINE_GLAPI *p_glNamedBufferDataEXT)( GLuint buffer, GLsizeiptr size, const void *data, GLenum usage );
void (WINE_GLAPI *p_glNamedBufferPageCommitmentARB)( GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit );
@ -1807,6 +1820,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glNamedRenderbufferStorage)( GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedRenderbufferStorageEXT)( GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedRenderbufferStorageMultisample)( GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedRenderbufferStorageMultisampleAdvancedAMD)( GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedRenderbufferStorageMultisampleCoverageEXT)( GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedRenderbufferStorageMultisampleEXT)( GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glNamedStringARB)( GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string );
@ -2125,6 +2139,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glRenderbufferStorage)( GLenum target, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glRenderbufferStorageEXT)( GLenum target, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glRenderbufferStorageMultisample)( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glRenderbufferStorageMultisampleAdvancedAMD)( GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glRenderbufferStorageMultisampleCoverageNV)( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glRenderbufferStorageMultisampleEXT)( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glReplacementCodePointerSUN)( GLenum type, GLsizei stride, const void **pointer );
@ -2153,6 +2168,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glRequestResidentProgramsNV)( GLsizei n, const GLuint *programs );
void (WINE_GLAPI *p_glResetHistogram)( GLenum target );
void (WINE_GLAPI *p_glResetHistogramEXT)( GLenum target );
void (WINE_GLAPI *p_glResetMemoryObjectParameterNV)( GLuint memory, GLenum pname );
void (WINE_GLAPI *p_glResetMinmax)( GLenum target );
void (WINE_GLAPI *p_glResetMinmaxEXT)( GLenum target );
void (WINE_GLAPI *p_glResizeBuffersMESA)(void);
@ -2177,6 +2193,8 @@ struct opengl_funcs
void (WINE_GLAPI *p_glSamplerParameteriv)( GLuint sampler, GLenum pname, const GLint *param );
void (WINE_GLAPI *p_glScalexOES)( GLfixed x, GLfixed y, GLfixed z );
void (WINE_GLAPI *p_glScissorArrayv)( GLuint first, GLsizei count, const GLint *v );
void (WINE_GLAPI *p_glScissorExclusiveArrayvNV)( GLuint first, GLsizei count, const GLint *v );
void (WINE_GLAPI *p_glScissorExclusiveNV)( GLint x, GLint y, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glScissorIndexed)( GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height );
void (WINE_GLAPI *p_glScissorIndexedv)( GLuint index, const GLint *v );
void (WINE_GLAPI *p_glSecondaryColor3b)( GLbyte red, GLbyte green, GLbyte blue );
@ -2238,6 +2256,10 @@ struct opengl_funcs
void (WINE_GLAPI *p_glShaderSource)( GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length );
void (WINE_GLAPI *p_glShaderSourceARB)( GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length );
void (WINE_GLAPI *p_glShaderStorageBlockBinding)( GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding );
void (WINE_GLAPI *p_glShadingRateImageBarrierNV)( GLboolean synchronize );
void (WINE_GLAPI *p_glShadingRateImagePaletteNV)( GLuint viewport, GLuint first, GLsizei count, const GLenum *rates );
void (WINE_GLAPI *p_glShadingRateSampleOrderCustomNV)( GLenum rate, GLuint samples, const GLint *locations );
void (WINE_GLAPI *p_glShadingRateSampleOrderNV)( GLenum order );
void (WINE_GLAPI *p_glSharpenTexFuncSGIS)( GLenum target, GLsizei n, const GLfloat *points );
void (WINE_GLAPI *p_glSignalSemaphoreEXT)( GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts );
void (WINE_GLAPI *p_glSignalVkFenceNV)( GLuint64 vkFence );
@ -2288,6 +2310,7 @@ struct opengl_funcs
GLboolean (WINE_GLAPI *p_glTestFenceAPPLE)( GLuint fence );
GLboolean (WINE_GLAPI *p_glTestFenceNV)( GLuint fence );
GLboolean (WINE_GLAPI *p_glTestObjectAPPLE)( GLenum object, GLuint name );
void (WINE_GLAPI *p_glTexAttachMemoryNV)( GLenum target, GLuint memory, GLuint64 offset );
void (WINE_GLAPI *p_glTexBuffer)( GLenum target, GLenum internalformat, GLuint buffer );
void (WINE_GLAPI *p_glTexBufferARB)( GLenum target, GLenum internalformat, GLuint buffer );
void (WINE_GLAPI *p_glTexBufferEXT)( GLenum target, GLenum internalformat, GLuint buffer );
@ -2380,6 +2403,7 @@ struct opengl_funcs
void (WINE_GLAPI *p_glTexSubImage3D)( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels );
void (WINE_GLAPI *p_glTexSubImage3DEXT)( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels );
void (WINE_GLAPI *p_glTexSubImage4DSGIS)( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels );
void (WINE_GLAPI *p_glTextureAttachMemoryNV)( GLuint texture, GLuint memory, GLuint64 offset );
void (WINE_GLAPI *p_glTextureBarrier)(void);
void (WINE_GLAPI *p_glTextureBarrierNV)(void);
void (WINE_GLAPI *p_glTextureBuffer)( GLuint texture, GLenum internalformat, GLuint buffer );