|
|
@ -233,38 +233,39 @@ static const char *enum_string = |
|
|
|
; |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
static const uint16_t enum_string_offsets[] = { |
|
|
|
static const uint16_t enum_string_offsets[] = { |
|
|
|
[WGL_10] = 0, |
|
|
|
-1, /* wgl_provider_terminator, unused */ |
|
|
|
[WGL_extension_WGL_3DL_stereo_control] = 7, |
|
|
|
0, /* WGL_10 */ |
|
|
|
[WGL_extension_WGL_AMD_gpu_association] = 46, |
|
|
|
7, /* WGL_extension_WGL_3DL_stereo_control */ |
|
|
|
[WGL_extension_WGL_ARB_buffer_region] = 86, |
|
|
|
46, /* WGL_extension_WGL_AMD_gpu_association */ |
|
|
|
[WGL_extension_WGL_ARB_create_context] = 124, |
|
|
|
86, /* WGL_extension_WGL_ARB_buffer_region */ |
|
|
|
[WGL_extension_WGL_ARB_extensions_string] = 163, |
|
|
|
124, /* WGL_extension_WGL_ARB_create_context */ |
|
|
|
[WGL_extension_WGL_ARB_make_current_read] = 205, |
|
|
|
163, /* WGL_extension_WGL_ARB_extensions_string */ |
|
|
|
[WGL_extension_WGL_ARB_pbuffer] = 247, |
|
|
|
205, /* WGL_extension_WGL_ARB_make_current_read */ |
|
|
|
[WGL_extension_WGL_ARB_pixel_format] = 279, |
|
|
|
247, /* WGL_extension_WGL_ARB_pbuffer */ |
|
|
|
[WGL_extension_WGL_ARB_render_texture] = 316, |
|
|
|
279, /* WGL_extension_WGL_ARB_pixel_format */ |
|
|
|
[WGL_extension_WGL_EXT_display_color_table] = 355, |
|
|
|
316, /* WGL_extension_WGL_ARB_render_texture */ |
|
|
|
[WGL_extension_WGL_EXT_extensions_string] = 399, |
|
|
|
355, /* WGL_extension_WGL_EXT_display_color_table */ |
|
|
|
[WGL_extension_WGL_EXT_make_current_read] = 441, |
|
|
|
399, /* WGL_extension_WGL_EXT_extensions_string */ |
|
|
|
[WGL_extension_WGL_EXT_pbuffer] = 483, |
|
|
|
441, /* WGL_extension_WGL_EXT_make_current_read */ |
|
|
|
[WGL_extension_WGL_EXT_pixel_format] = 515, |
|
|
|
483, /* WGL_extension_WGL_EXT_pbuffer */ |
|
|
|
[WGL_extension_WGL_EXT_swap_control] = 552, |
|
|
|
515, /* WGL_extension_WGL_EXT_pixel_format */ |
|
|
|
[WGL_extension_WGL_I3D_digital_video_control] = 589, |
|
|
|
552, /* WGL_extension_WGL_EXT_swap_control */ |
|
|
|
[WGL_extension_WGL_I3D_gamma] = 635, |
|
|
|
589, /* WGL_extension_WGL_I3D_digital_video_control */ |
|
|
|
[WGL_extension_WGL_I3D_genlock] = 665, |
|
|
|
635, /* WGL_extension_WGL_I3D_gamma */ |
|
|
|
[WGL_extension_WGL_I3D_image_buffer] = 697, |
|
|
|
665, /* WGL_extension_WGL_I3D_genlock */ |
|
|
|
[WGL_extension_WGL_I3D_swap_frame_lock] = 734, |
|
|
|
697, /* WGL_extension_WGL_I3D_image_buffer */ |
|
|
|
[WGL_extension_WGL_I3D_swap_frame_usage] = 774, |
|
|
|
734, /* WGL_extension_WGL_I3D_swap_frame_lock */ |
|
|
|
[WGL_extension_WGL_NV_DX_interop] = 815, |
|
|
|
774, /* WGL_extension_WGL_I3D_swap_frame_usage */ |
|
|
|
[WGL_extension_WGL_NV_copy_image] = 849, |
|
|
|
815, /* WGL_extension_WGL_NV_DX_interop */ |
|
|
|
[WGL_extension_WGL_NV_delay_before_swap] = 883, |
|
|
|
849, /* WGL_extension_WGL_NV_copy_image */ |
|
|
|
[WGL_extension_WGL_NV_gpu_affinity] = 924, |
|
|
|
883, /* WGL_extension_WGL_NV_delay_before_swap */ |
|
|
|
[WGL_extension_WGL_NV_present_video] = 960, |
|
|
|
924, /* WGL_extension_WGL_NV_gpu_affinity */ |
|
|
|
[WGL_extension_WGL_NV_swap_group] = 997, |
|
|
|
960, /* WGL_extension_WGL_NV_present_video */ |
|
|
|
[WGL_extension_WGL_NV_vertex_array_range] = 1031, |
|
|
|
997, /* WGL_extension_WGL_NV_swap_group */ |
|
|
|
[WGL_extension_WGL_NV_video_capture] = 1073, |
|
|
|
1031, /* WGL_extension_WGL_NV_vertex_array_range */ |
|
|
|
[WGL_extension_WGL_NV_video_output] = 1110, |
|
|
|
1073, /* WGL_extension_WGL_NV_video_capture */ |
|
|
|
[WGL_extension_WGL_OML_sync_control] = 1146, |
|
|
|
1110, /* WGL_extension_WGL_NV_video_output */ |
|
|
|
|
|
|
|
1146, /* WGL_extension_WGL_OML_sync_control */ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
static const char entrypoint_strings[] = { |
|
|
|
static const char entrypoint_strings[] = { |
|
|
@ -4662,145 +4663,145 @@ GEN_THUNKS_RET(BOOL, wglWaitForSbcOML, (HDC hdc, INT64 target_sbc, INT64 * ust, |
|
|
|
|
|
|
|
|
|
|
|
#if USING_DISPATCH_TABLE |
|
|
|
#if USING_DISPATCH_TABLE |
|
|
|
static struct dispatch_table resolver_table = { |
|
|
|
static struct dispatch_table resolver_table = { |
|
|
|
.wglAllocateMemoryNV = epoxy_wglAllocateMemoryNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglAllocateMemoryNV_dispatch_table_rewrite_ptr, /* wglAllocateMemoryNV */ |
|
|
|
.wglAssociateImageBufferEventsI3D = epoxy_wglAssociateImageBufferEventsI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglAssociateImageBufferEventsI3D_dispatch_table_rewrite_ptr, /* wglAssociateImageBufferEventsI3D */ |
|
|
|
.wglBeginFrameTrackingI3D = epoxy_wglBeginFrameTrackingI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBeginFrameTrackingI3D_dispatch_table_rewrite_ptr, /* wglBeginFrameTrackingI3D */ |
|
|
|
.wglBindDisplayColorTableEXT = epoxy_wglBindDisplayColorTableEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindDisplayColorTableEXT_dispatch_table_rewrite_ptr, /* wglBindDisplayColorTableEXT */ |
|
|
|
.wglBindSwapBarrierNV = epoxy_wglBindSwapBarrierNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindSwapBarrierNV_dispatch_table_rewrite_ptr, /* wglBindSwapBarrierNV */ |
|
|
|
.wglBindTexImageARB = epoxy_wglBindTexImageARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindTexImageARB_dispatch_table_rewrite_ptr, /* wglBindTexImageARB */ |
|
|
|
.wglBindVideoCaptureDeviceNV = epoxy_wglBindVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, /* wglBindVideoCaptureDeviceNV */ |
|
|
|
.wglBindVideoDeviceNV = epoxy_wglBindVideoDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindVideoDeviceNV_dispatch_table_rewrite_ptr, /* wglBindVideoDeviceNV */ |
|
|
|
.wglBindVideoImageNV = epoxy_wglBindVideoImageNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBindVideoImageNV_dispatch_table_rewrite_ptr, /* wglBindVideoImageNV */ |
|
|
|
.wglBlitContextFramebufferAMD = epoxy_wglBlitContextFramebufferAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglBlitContextFramebufferAMD_dispatch_table_rewrite_ptr, /* wglBlitContextFramebufferAMD */ |
|
|
|
.wglChoosePixelFormatARB = epoxy_wglChoosePixelFormatARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglChoosePixelFormatARB_dispatch_table_rewrite_ptr, /* wglChoosePixelFormatARB */ |
|
|
|
.wglChoosePixelFormatEXT = epoxy_wglChoosePixelFormatEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglChoosePixelFormatEXT_dispatch_table_rewrite_ptr, /* wglChoosePixelFormatEXT */ |
|
|
|
.wglCopyContext = epoxy_wglCopyContext_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCopyContext_dispatch_table_rewrite_ptr, /* wglCopyContext */ |
|
|
|
.wglCopyImageSubDataNV = epoxy_wglCopyImageSubDataNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCopyImageSubDataNV_dispatch_table_rewrite_ptr, /* wglCopyImageSubDataNV */ |
|
|
|
.wglCreateAffinityDCNV = epoxy_wglCreateAffinityDCNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateAffinityDCNV_dispatch_table_rewrite_ptr, /* wglCreateAffinityDCNV */ |
|
|
|
.wglCreateAssociatedContextAMD = epoxy_wglCreateAssociatedContextAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateAssociatedContextAMD_dispatch_table_rewrite_ptr, /* wglCreateAssociatedContextAMD */ |
|
|
|
.wglCreateAssociatedContextAttribsAMD = epoxy_wglCreateAssociatedContextAttribsAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateAssociatedContextAttribsAMD_dispatch_table_rewrite_ptr, /* wglCreateAssociatedContextAttribsAMD */ |
|
|
|
.wglCreateBufferRegionARB = epoxy_wglCreateBufferRegionARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateBufferRegionARB_dispatch_table_rewrite_ptr, /* wglCreateBufferRegionARB */ |
|
|
|
.wglCreateContext = epoxy_wglCreateContext_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateContext_dispatch_table_rewrite_ptr, /* wglCreateContext */ |
|
|
|
.wglCreateContextAttribsARB = epoxy_wglCreateContextAttribsARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateContextAttribsARB_dispatch_table_rewrite_ptr, /* wglCreateContextAttribsARB */ |
|
|
|
.wglCreateDisplayColorTableEXT = epoxy_wglCreateDisplayColorTableEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateDisplayColorTableEXT_dispatch_table_rewrite_ptr, /* wglCreateDisplayColorTableEXT */ |
|
|
|
.wglCreateImageBufferI3D = epoxy_wglCreateImageBufferI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateImageBufferI3D_dispatch_table_rewrite_ptr, /* wglCreateImageBufferI3D */ |
|
|
|
.wglCreateLayerContext = epoxy_wglCreateLayerContext_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreateLayerContext_dispatch_table_rewrite_ptr, /* wglCreateLayerContext */ |
|
|
|
.wglCreatePbufferARB = epoxy_wglCreatePbufferARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreatePbufferARB_dispatch_table_rewrite_ptr, /* wglCreatePbufferARB */ |
|
|
|
.wglCreatePbufferEXT = epoxy_wglCreatePbufferEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglCreatePbufferEXT_dispatch_table_rewrite_ptr, /* wglCreatePbufferEXT */ |
|
|
|
.wglDXCloseDeviceNV = epoxy_wglDXCloseDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXCloseDeviceNV_dispatch_table_rewrite_ptr, /* wglDXCloseDeviceNV */ |
|
|
|
.wglDXLockObjectsNV = epoxy_wglDXLockObjectsNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXLockObjectsNV_dispatch_table_rewrite_ptr, /* wglDXLockObjectsNV */ |
|
|
|
.wglDXObjectAccessNV = epoxy_wglDXObjectAccessNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXObjectAccessNV_dispatch_table_rewrite_ptr, /* wglDXObjectAccessNV */ |
|
|
|
.wglDXOpenDeviceNV = epoxy_wglDXOpenDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXOpenDeviceNV_dispatch_table_rewrite_ptr, /* wglDXOpenDeviceNV */ |
|
|
|
.wglDXRegisterObjectNV = epoxy_wglDXRegisterObjectNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXRegisterObjectNV_dispatch_table_rewrite_ptr, /* wglDXRegisterObjectNV */ |
|
|
|
.wglDXSetResourceShareHandleNV = epoxy_wglDXSetResourceShareHandleNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXSetResourceShareHandleNV_dispatch_table_rewrite_ptr, /* wglDXSetResourceShareHandleNV */ |
|
|
|
.wglDXUnlockObjectsNV = epoxy_wglDXUnlockObjectsNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXUnlockObjectsNV_dispatch_table_rewrite_ptr, /* wglDXUnlockObjectsNV */ |
|
|
|
.wglDXUnregisterObjectNV = epoxy_wglDXUnregisterObjectNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDXUnregisterObjectNV_dispatch_table_rewrite_ptr, /* wglDXUnregisterObjectNV */ |
|
|
|
.wglDelayBeforeSwapNV = epoxy_wglDelayBeforeSwapNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDelayBeforeSwapNV_dispatch_table_rewrite_ptr, /* wglDelayBeforeSwapNV */ |
|
|
|
.wglDeleteAssociatedContextAMD = epoxy_wglDeleteAssociatedContextAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDeleteAssociatedContextAMD_dispatch_table_rewrite_ptr, /* wglDeleteAssociatedContextAMD */ |
|
|
|
.wglDeleteBufferRegionARB = epoxy_wglDeleteBufferRegionARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDeleteBufferRegionARB_dispatch_table_rewrite_ptr, /* wglDeleteBufferRegionARB */ |
|
|
|
.wglDeleteContext = epoxy_wglDeleteContext_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDeleteContext_dispatch_table_rewrite_ptr, /* wglDeleteContext */ |
|
|
|
.wglDeleteDCNV = epoxy_wglDeleteDCNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDeleteDCNV_dispatch_table_rewrite_ptr, /* wglDeleteDCNV */ |
|
|
|
.wglDescribeLayerPlane = epoxy_wglDescribeLayerPlane_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDescribeLayerPlane_dispatch_table_rewrite_ptr, /* wglDescribeLayerPlane */ |
|
|
|
.wglDestroyDisplayColorTableEXT = epoxy_wglDestroyDisplayColorTableEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDestroyDisplayColorTableEXT_dispatch_table_rewrite_ptr, /* wglDestroyDisplayColorTableEXT */ |
|
|
|
.wglDestroyImageBufferI3D = epoxy_wglDestroyImageBufferI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDestroyImageBufferI3D_dispatch_table_rewrite_ptr, /* wglDestroyImageBufferI3D */ |
|
|
|
.wglDestroyPbufferARB = epoxy_wglDestroyPbufferARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDestroyPbufferARB_dispatch_table_rewrite_ptr, /* wglDestroyPbufferARB */ |
|
|
|
.wglDestroyPbufferEXT = epoxy_wglDestroyPbufferEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDestroyPbufferEXT_dispatch_table_rewrite_ptr, /* wglDestroyPbufferEXT */ |
|
|
|
.wglDisableFrameLockI3D = epoxy_wglDisableFrameLockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDisableFrameLockI3D_dispatch_table_rewrite_ptr, /* wglDisableFrameLockI3D */ |
|
|
|
.wglDisableGenlockI3D = epoxy_wglDisableGenlockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglDisableGenlockI3D_dispatch_table_rewrite_ptr, /* wglDisableGenlockI3D */ |
|
|
|
.wglEnableFrameLockI3D = epoxy_wglEnableFrameLockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnableFrameLockI3D_dispatch_table_rewrite_ptr, /* wglEnableFrameLockI3D */ |
|
|
|
.wglEnableGenlockI3D = epoxy_wglEnableGenlockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnableGenlockI3D_dispatch_table_rewrite_ptr, /* wglEnableGenlockI3D */ |
|
|
|
.wglEndFrameTrackingI3D = epoxy_wglEndFrameTrackingI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEndFrameTrackingI3D_dispatch_table_rewrite_ptr, /* wglEndFrameTrackingI3D */ |
|
|
|
.wglEnumGpuDevicesNV = epoxy_wglEnumGpuDevicesNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnumGpuDevicesNV_dispatch_table_rewrite_ptr, /* wglEnumGpuDevicesNV */ |
|
|
|
.wglEnumGpusFromAffinityDCNV = epoxy_wglEnumGpusFromAffinityDCNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnumGpusFromAffinityDCNV_dispatch_table_rewrite_ptr, /* wglEnumGpusFromAffinityDCNV */ |
|
|
|
.wglEnumGpusNV = epoxy_wglEnumGpusNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnumGpusNV_dispatch_table_rewrite_ptr, /* wglEnumGpusNV */ |
|
|
|
.wglEnumerateVideoCaptureDevicesNV = epoxy_wglEnumerateVideoCaptureDevicesNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnumerateVideoCaptureDevicesNV_dispatch_table_rewrite_ptr, /* wglEnumerateVideoCaptureDevicesNV */ |
|
|
|
.wglEnumerateVideoDevicesNV = epoxy_wglEnumerateVideoDevicesNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglEnumerateVideoDevicesNV_dispatch_table_rewrite_ptr, /* wglEnumerateVideoDevicesNV */ |
|
|
|
.wglFreeMemoryNV = epoxy_wglFreeMemoryNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglFreeMemoryNV_dispatch_table_rewrite_ptr, /* wglFreeMemoryNV */ |
|
|
|
.wglGenlockSampleRateI3D = epoxy_wglGenlockSampleRateI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGenlockSampleRateI3D_dispatch_table_rewrite_ptr, /* wglGenlockSampleRateI3D */ |
|
|
|
.wglGenlockSourceDelayI3D = epoxy_wglGenlockSourceDelayI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGenlockSourceDelayI3D_dispatch_table_rewrite_ptr, /* wglGenlockSourceDelayI3D */ |
|
|
|
.wglGenlockSourceEdgeI3D = epoxy_wglGenlockSourceEdgeI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGenlockSourceEdgeI3D_dispatch_table_rewrite_ptr, /* wglGenlockSourceEdgeI3D */ |
|
|
|
.wglGenlockSourceI3D = epoxy_wglGenlockSourceI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGenlockSourceI3D_dispatch_table_rewrite_ptr, /* wglGenlockSourceI3D */ |
|
|
|
.wglGetContextGPUIDAMD = epoxy_wglGetContextGPUIDAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetContextGPUIDAMD_dispatch_table_rewrite_ptr, /* wglGetContextGPUIDAMD */ |
|
|
|
.wglGetCurrentAssociatedContextAMD = epoxy_wglGetCurrentAssociatedContextAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetCurrentAssociatedContextAMD_dispatch_table_rewrite_ptr, /* wglGetCurrentAssociatedContextAMD */ |
|
|
|
.wglGetCurrentContext = epoxy_wglGetCurrentContext_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetCurrentContext_dispatch_table_rewrite_ptr, /* wglGetCurrentContext */ |
|
|
|
.wglGetCurrentDC = epoxy_wglGetCurrentDC_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetCurrentDC_dispatch_table_rewrite_ptr, /* wglGetCurrentDC */ |
|
|
|
.wglGetCurrentReadDCARB = epoxy_wglGetCurrentReadDCARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetCurrentReadDCARB_dispatch_table_rewrite_ptr, /* wglGetCurrentReadDCARB */ |
|
|
|
.wglGetCurrentReadDCEXT = epoxy_wglGetCurrentReadDCEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetCurrentReadDCEXT_dispatch_table_rewrite_ptr, /* wglGetCurrentReadDCEXT */ |
|
|
|
.wglGetDefaultProcAddress = epoxy_wglGetDefaultProcAddress_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetDefaultProcAddress_dispatch_table_rewrite_ptr, /* wglGetDefaultProcAddress */ |
|
|
|
.wglGetDigitalVideoParametersI3D = epoxy_wglGetDigitalVideoParametersI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetDigitalVideoParametersI3D_dispatch_table_rewrite_ptr, /* wglGetDigitalVideoParametersI3D */ |
|
|
|
.wglGetExtensionsStringARB = epoxy_wglGetExtensionsStringARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetExtensionsStringARB_dispatch_table_rewrite_ptr, /* wglGetExtensionsStringARB */ |
|
|
|
.wglGetExtensionsStringEXT = epoxy_wglGetExtensionsStringEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetExtensionsStringEXT_dispatch_table_rewrite_ptr, /* wglGetExtensionsStringEXT */ |
|
|
|
.wglGetFrameUsageI3D = epoxy_wglGetFrameUsageI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetFrameUsageI3D_dispatch_table_rewrite_ptr, /* wglGetFrameUsageI3D */ |
|
|
|
.wglGetGPUIDsAMD = epoxy_wglGetGPUIDsAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGPUIDsAMD_dispatch_table_rewrite_ptr, /* wglGetGPUIDsAMD */ |
|
|
|
.wglGetGPUInfoAMD = epoxy_wglGetGPUInfoAMD_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGPUInfoAMD_dispatch_table_rewrite_ptr, /* wglGetGPUInfoAMD */ |
|
|
|
.wglGetGammaTableI3D = epoxy_wglGetGammaTableI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGammaTableI3D_dispatch_table_rewrite_ptr, /* wglGetGammaTableI3D */ |
|
|
|
.wglGetGammaTableParametersI3D = epoxy_wglGetGammaTableParametersI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGammaTableParametersI3D_dispatch_table_rewrite_ptr, /* wglGetGammaTableParametersI3D */ |
|
|
|
.wglGetGenlockSampleRateI3D = epoxy_wglGetGenlockSampleRateI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGenlockSampleRateI3D_dispatch_table_rewrite_ptr, /* wglGetGenlockSampleRateI3D */ |
|
|
|
.wglGetGenlockSourceDelayI3D = epoxy_wglGetGenlockSourceDelayI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGenlockSourceDelayI3D_dispatch_table_rewrite_ptr, /* wglGetGenlockSourceDelayI3D */ |
|
|
|
.wglGetGenlockSourceEdgeI3D = epoxy_wglGetGenlockSourceEdgeI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGenlockSourceEdgeI3D_dispatch_table_rewrite_ptr, /* wglGetGenlockSourceEdgeI3D */ |
|
|
|
.wglGetGenlockSourceI3D = epoxy_wglGetGenlockSourceI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetGenlockSourceI3D_dispatch_table_rewrite_ptr, /* wglGetGenlockSourceI3D */ |
|
|
|
.wglGetLayerPaletteEntries = epoxy_wglGetLayerPaletteEntries_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetLayerPaletteEntries_dispatch_table_rewrite_ptr, /* wglGetLayerPaletteEntries */ |
|
|
|
.wglGetMscRateOML = epoxy_wglGetMscRateOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetMscRateOML_dispatch_table_rewrite_ptr, /* wglGetMscRateOML */ |
|
|
|
.wglGetPbufferDCARB = epoxy_wglGetPbufferDCARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPbufferDCARB_dispatch_table_rewrite_ptr, /* wglGetPbufferDCARB */ |
|
|
|
.wglGetPbufferDCEXT = epoxy_wglGetPbufferDCEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPbufferDCEXT_dispatch_table_rewrite_ptr, /* wglGetPbufferDCEXT */ |
|
|
|
.wglGetPixelFormatAttribfvARB = epoxy_wglGetPixelFormatAttribfvARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPixelFormatAttribfvARB_dispatch_table_rewrite_ptr, /* wglGetPixelFormatAttribfvARB */ |
|
|
|
.wglGetPixelFormatAttribfvEXT = epoxy_wglGetPixelFormatAttribfvEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPixelFormatAttribfvEXT_dispatch_table_rewrite_ptr, /* wglGetPixelFormatAttribfvEXT */ |
|
|
|
.wglGetPixelFormatAttribivARB = epoxy_wglGetPixelFormatAttribivARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPixelFormatAttribivARB_dispatch_table_rewrite_ptr, /* wglGetPixelFormatAttribivARB */ |
|
|
|
.wglGetPixelFormatAttribivEXT = epoxy_wglGetPixelFormatAttribivEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetPixelFormatAttribivEXT_dispatch_table_rewrite_ptr, /* wglGetPixelFormatAttribivEXT */ |
|
|
|
.wglGetProcAddress = epoxy_wglGetProcAddress_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetProcAddress_dispatch_table_rewrite_ptr, /* wglGetProcAddress */ |
|
|
|
.wglGetSwapIntervalEXT = epoxy_wglGetSwapIntervalEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetSwapIntervalEXT_dispatch_table_rewrite_ptr, /* wglGetSwapIntervalEXT */ |
|
|
|
.wglGetSyncValuesOML = epoxy_wglGetSyncValuesOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetSyncValuesOML_dispatch_table_rewrite_ptr, /* wglGetSyncValuesOML */ |
|
|
|
.wglGetVideoDeviceNV = epoxy_wglGetVideoDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetVideoDeviceNV_dispatch_table_rewrite_ptr, /* wglGetVideoDeviceNV */ |
|
|
|
.wglGetVideoInfoNV = epoxy_wglGetVideoInfoNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglGetVideoInfoNV_dispatch_table_rewrite_ptr, /* wglGetVideoInfoNV */ |
|
|
|
.wglIsEnabledFrameLockI3D = epoxy_wglIsEnabledFrameLockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglIsEnabledFrameLockI3D_dispatch_table_rewrite_ptr, /* wglIsEnabledFrameLockI3D */ |
|
|
|
.wglIsEnabledGenlockI3D = epoxy_wglIsEnabledGenlockI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglIsEnabledGenlockI3D_dispatch_table_rewrite_ptr, /* wglIsEnabledGenlockI3D */ |
|
|
|
.wglJoinSwapGroupNV = epoxy_wglJoinSwapGroupNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglJoinSwapGroupNV_dispatch_table_rewrite_ptr, /* wglJoinSwapGroupNV */ |
|
|
|
.wglLoadDisplayColorTableEXT = epoxy_wglLoadDisplayColorTableEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglLoadDisplayColorTableEXT_dispatch_table_rewrite_ptr, /* wglLoadDisplayColorTableEXT */ |
|
|
|
.wglLockVideoCaptureDeviceNV = epoxy_wglLockVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglLockVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, /* wglLockVideoCaptureDeviceNV */ |
|
|
|
.wglMakeAssociatedContextCurrentAMD_unwrapped = epoxy_wglMakeAssociatedContextCurrentAMD_unwrapped_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglMakeAssociatedContextCurrentAMD_unwrapped_dispatch_table_rewrite_ptr, /* wglMakeAssociatedContextCurrentAMD_unwrapped */ |
|
|
|
.wglMakeContextCurrentARB_unwrapped = epoxy_wglMakeContextCurrentARB_unwrapped_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglMakeContextCurrentARB_unwrapped_dispatch_table_rewrite_ptr, /* wglMakeContextCurrentARB_unwrapped */ |
|
|
|
.wglMakeContextCurrentEXT_unwrapped = epoxy_wglMakeContextCurrentEXT_unwrapped_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglMakeContextCurrentEXT_unwrapped_dispatch_table_rewrite_ptr, /* wglMakeContextCurrentEXT_unwrapped */ |
|
|
|
.wglMakeCurrent_unwrapped = epoxy_wglMakeCurrent_unwrapped_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglMakeCurrent_unwrapped_dispatch_table_rewrite_ptr, /* wglMakeCurrent_unwrapped */ |
|
|
|
.wglQueryCurrentContextNV = epoxy_wglQueryCurrentContextNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryCurrentContextNV_dispatch_table_rewrite_ptr, /* wglQueryCurrentContextNV */ |
|
|
|
.wglQueryFrameCountNV = epoxy_wglQueryFrameCountNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryFrameCountNV_dispatch_table_rewrite_ptr, /* wglQueryFrameCountNV */ |
|
|
|
.wglQueryFrameLockMasterI3D = epoxy_wglQueryFrameLockMasterI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryFrameLockMasterI3D_dispatch_table_rewrite_ptr, /* wglQueryFrameLockMasterI3D */ |
|
|
|
.wglQueryFrameTrackingI3D = epoxy_wglQueryFrameTrackingI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryFrameTrackingI3D_dispatch_table_rewrite_ptr, /* wglQueryFrameTrackingI3D */ |
|
|
|
.wglQueryGenlockMaxSourceDelayI3D = epoxy_wglQueryGenlockMaxSourceDelayI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryGenlockMaxSourceDelayI3D_dispatch_table_rewrite_ptr, /* wglQueryGenlockMaxSourceDelayI3D */ |
|
|
|
.wglQueryMaxSwapGroupsNV = epoxy_wglQueryMaxSwapGroupsNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryMaxSwapGroupsNV_dispatch_table_rewrite_ptr, /* wglQueryMaxSwapGroupsNV */ |
|
|
|
.wglQueryPbufferARB = epoxy_wglQueryPbufferARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryPbufferARB_dispatch_table_rewrite_ptr, /* wglQueryPbufferARB */ |
|
|
|
.wglQueryPbufferEXT = epoxy_wglQueryPbufferEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryPbufferEXT_dispatch_table_rewrite_ptr, /* wglQueryPbufferEXT */ |
|
|
|
.wglQuerySwapGroupNV = epoxy_wglQuerySwapGroupNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQuerySwapGroupNV_dispatch_table_rewrite_ptr, /* wglQuerySwapGroupNV */ |
|
|
|
.wglQueryVideoCaptureDeviceNV = epoxy_wglQueryVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglQueryVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, /* wglQueryVideoCaptureDeviceNV */ |
|
|
|
.wglRealizeLayerPalette = epoxy_wglRealizeLayerPalette_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglRealizeLayerPalette_dispatch_table_rewrite_ptr, /* wglRealizeLayerPalette */ |
|
|
|
.wglReleaseImageBufferEventsI3D = epoxy_wglReleaseImageBufferEventsI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleaseImageBufferEventsI3D_dispatch_table_rewrite_ptr, /* wglReleaseImageBufferEventsI3D */ |
|
|
|
.wglReleasePbufferDCARB = epoxy_wglReleasePbufferDCARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleasePbufferDCARB_dispatch_table_rewrite_ptr, /* wglReleasePbufferDCARB */ |
|
|
|
.wglReleasePbufferDCEXT = epoxy_wglReleasePbufferDCEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleasePbufferDCEXT_dispatch_table_rewrite_ptr, /* wglReleasePbufferDCEXT */ |
|
|
|
.wglReleaseTexImageARB = epoxy_wglReleaseTexImageARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleaseTexImageARB_dispatch_table_rewrite_ptr, /* wglReleaseTexImageARB */ |
|
|
|
.wglReleaseVideoCaptureDeviceNV = epoxy_wglReleaseVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleaseVideoCaptureDeviceNV_dispatch_table_rewrite_ptr, /* wglReleaseVideoCaptureDeviceNV */ |
|
|
|
.wglReleaseVideoDeviceNV = epoxy_wglReleaseVideoDeviceNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleaseVideoDeviceNV_dispatch_table_rewrite_ptr, /* wglReleaseVideoDeviceNV */ |
|
|
|
.wglReleaseVideoImageNV = epoxy_wglReleaseVideoImageNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglReleaseVideoImageNV_dispatch_table_rewrite_ptr, /* wglReleaseVideoImageNV */ |
|
|
|
.wglResetFrameCountNV = epoxy_wglResetFrameCountNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglResetFrameCountNV_dispatch_table_rewrite_ptr, /* wglResetFrameCountNV */ |
|
|
|
.wglRestoreBufferRegionARB = epoxy_wglRestoreBufferRegionARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglRestoreBufferRegionARB_dispatch_table_rewrite_ptr, /* wglRestoreBufferRegionARB */ |
|
|
|
.wglSaveBufferRegionARB = epoxy_wglSaveBufferRegionARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSaveBufferRegionARB_dispatch_table_rewrite_ptr, /* wglSaveBufferRegionARB */ |
|
|
|
.wglSendPbufferToVideoNV = epoxy_wglSendPbufferToVideoNV_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSendPbufferToVideoNV_dispatch_table_rewrite_ptr, /* wglSendPbufferToVideoNV */ |
|
|
|
.wglSetDigitalVideoParametersI3D = epoxy_wglSetDigitalVideoParametersI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetDigitalVideoParametersI3D_dispatch_table_rewrite_ptr, /* wglSetDigitalVideoParametersI3D */ |
|
|
|
.wglSetGammaTableI3D = epoxy_wglSetGammaTableI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetGammaTableI3D_dispatch_table_rewrite_ptr, /* wglSetGammaTableI3D */ |
|
|
|
.wglSetGammaTableParametersI3D = epoxy_wglSetGammaTableParametersI3D_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetGammaTableParametersI3D_dispatch_table_rewrite_ptr, /* wglSetGammaTableParametersI3D */ |
|
|
|
.wglSetLayerPaletteEntries = epoxy_wglSetLayerPaletteEntries_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetLayerPaletteEntries_dispatch_table_rewrite_ptr, /* wglSetLayerPaletteEntries */ |
|
|
|
.wglSetPbufferAttribARB = epoxy_wglSetPbufferAttribARB_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetPbufferAttribARB_dispatch_table_rewrite_ptr, /* wglSetPbufferAttribARB */ |
|
|
|
.wglSetStereoEmitterState3DL = epoxy_wglSetStereoEmitterState3DL_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSetStereoEmitterState3DL_dispatch_table_rewrite_ptr, /* wglSetStereoEmitterState3DL */ |
|
|
|
.wglShareLists = epoxy_wglShareLists_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglShareLists_dispatch_table_rewrite_ptr, /* wglShareLists */ |
|
|
|
.wglSwapBuffersMscOML = epoxy_wglSwapBuffersMscOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSwapBuffersMscOML_dispatch_table_rewrite_ptr, /* wglSwapBuffersMscOML */ |
|
|
|
.wglSwapIntervalEXT = epoxy_wglSwapIntervalEXT_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSwapIntervalEXT_dispatch_table_rewrite_ptr, /* wglSwapIntervalEXT */ |
|
|
|
.wglSwapLayerBuffers = epoxy_wglSwapLayerBuffers_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSwapLayerBuffers_dispatch_table_rewrite_ptr, /* wglSwapLayerBuffers */ |
|
|
|
.wglSwapLayerBuffersMscOML = epoxy_wglSwapLayerBuffersMscOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglSwapLayerBuffersMscOML_dispatch_table_rewrite_ptr, /* wglSwapLayerBuffersMscOML */ |
|
|
|
.wglUseFontBitmapsA = epoxy_wglUseFontBitmapsA_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglUseFontBitmapsA_dispatch_table_rewrite_ptr, /* wglUseFontBitmapsA */ |
|
|
|
.wglUseFontBitmapsW = epoxy_wglUseFontBitmapsW_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglUseFontBitmapsW_dispatch_table_rewrite_ptr, /* wglUseFontBitmapsW */ |
|
|
|
.wglUseFontOutlines = epoxy_wglUseFontOutlines_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglUseFontOutlines_dispatch_table_rewrite_ptr, /* wglUseFontOutlines */ |
|
|
|
.wglUseFontOutlinesA = epoxy_wglUseFontOutlinesA_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglUseFontOutlinesA_dispatch_table_rewrite_ptr, /* wglUseFontOutlinesA */ |
|
|
|
.wglUseFontOutlinesW = epoxy_wglUseFontOutlinesW_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglUseFontOutlinesW_dispatch_table_rewrite_ptr, /* wglUseFontOutlinesW */ |
|
|
|
.wglWaitForMscOML = epoxy_wglWaitForMscOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglWaitForMscOML_dispatch_table_rewrite_ptr, /* wglWaitForMscOML */ |
|
|
|
.wglWaitForSbcOML = epoxy_wglWaitForSbcOML_dispatch_table_rewrite_ptr, |
|
|
|
epoxy_wglWaitForSbcOML_dispatch_table_rewrite_ptr, /* wglWaitForSbcOML */ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
uint32_t wgl_tls_index; |
|
|
|
uint32_t wgl_tls_index; |
|
|
|