Blame | Last modification | View Log | RSS feed
# wglext.spec file# DON'T REMOVE PREVIOUS LINE!!! libspec depends on it!## License Applicability. Except to the extent portions of this file are# made subject to an alternative license as permitted in the SGI Free# Software License B, Version 1.1 (the "License"), the contents of this# file are subject only to the provisions of the License. You may not use# this file except in compliance with the License. You may obtain a copy# of the License at Silicon Graphics, Inc., attn: Legal Services, 1600# Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:## http://oss.sgi.com/projects/FreeB## Note that, as provided in the License, the Software is distributed on an# "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS# DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND# CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A# PARTICULAR PURPOSE, AND NON-INFRINGEMENT.## Original Code. The Original Code is: OpenGL Sample Implementation,# Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,# Inc. The Original Code is Copyright (c) 1991-2002 Silicon Graphics, Inc.# Copyright in any portions created by third parties is as indicated# elsewhere herein. All Rights Reserved.## Additional Notice Provisions: This software was created using the# OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has# not been independently verified as being compliant with the OpenGL(R)# version 1.2.1 Specification.required-props:param: retval retainedcategory: wgl ARB_buffer_region ARB_extensions_string ARB_pixel_format ARB_make_current_read ARB_pbuffer ARB_render_texture ARB_pixel_format_float EXT_display_color_table EXT_extensions_string EXT_make_current_read EXT_pbuffer EXT_pixel_format EXT_swap_control OML_sync_control I3D_digital_video_control I3D_gamma I3D_genlock I3D_image_buffer I3D_swap_frame_lock I3D_swap_frame_usage NV_vertex_array_range# required-props in wgl.spec (which is not used for anything):# dlflags: notlistable handcode# wglflags: client-handcode server-handcode non-dispatch## Boilerplate to define types used by some extensions. This is done# up front, since it involves some complexities in protecting# the declarations whether or not the -protect flag is given to# the generator scripts.#passthru: #ifndef WGL_ARB_pbufferpassthru: DECLARE_HANDLE(HPBUFFERARB);passthru: #endifpassthru: #ifndef WGL_EXT_pbufferpassthru: DECLARE_HANDLE(HPBUFFEREXT);passthru: #endifpassthru:################################################################################# ARB Extension #4# ARB_buffer_region commands################################################################################CreateBufferRegionARB(hDC, iLayerPlane, uType)return HANDLEparam hDC HDC in valueparam iLayerPlane int in valueparam uType UINT in valuecategory ARB_buffer_regionDeleteBufferRegionARB(hRegion)return VOIDparam hRegion HANDLE in valuecategory ARB_buffer_regionSaveBufferRegionARB(hRegion, x, y, width, height)return BOOLparam hRegion HANDLE in valueparam x int in valueparam y int in valueparam width int in valueparam height int in valuecategory ARB_buffer_regionRestoreBufferRegionARB(hRegion, x, y, width, height, xSrc, ySrc)return BOOLparam hRegion HANDLE in valueparam x int in valueparam y int in valueparam width int in valueparam height int in valueparam xSrc int in valueparam ySrc int in valuecategory ARB_buffer_region################################################################################# ARB Extension #5# ARB_multisample commands################################################################################# (none)newcategory: ARB_multisample################################################################################# ARB Extension #8# ARB_extensions_string commands################################################################################GetExtensionsStringARB(hdc)return Stringparam hdc HDC in valuecategory ARB_extensions_string################################################################################# ARB Extension #9# ARB_pixel_format commands################################################################################GetPixelFormatAttribivARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues)return BOOLparam hdc HDC in valueparam iPixelFormat int in valueparam iLayerPlane int in valueparam nAttributes UINT in valueparam piAttributes int in array [nAttributes]param piValues int out array [nAttributes]category ARB_pixel_formatGetPixelFormatAttribfvARB(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues)return BOOLparam hdc HDC in valueparam iPixelFormat int in valueparam iLayerPlane int in valueparam nAttributes UINT in valueparam piAttributes int in array [nAttributes]param pfValues FLOAT out array [nAttributes]category ARB_pixel_formatChoosePixelFormatARB(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats)return BOOLparam hdc HDC in valueparam piAttribIList int in array [COMPSIZE()]param pfAttribFList FLOAT in array [COMPSIZE()]param nMaxFormats UINT in valueparam piFormats int out array [COMPSIZE(nNumFormats)]param nNumFormats UINT out referencecategory ARB_pixel_format################################################################################# ARB Extension #10# ARB_make_current_read commands################################################################################MakeContextCurrentARB(hDrawDC, hReadDC, hglrc)return BOOLparam hDrawDC HDC in valueparam hReadDC HDC in valueparam hglrc HGLRC in valuecategory ARB_make_current_readGetCurrentReadDCARB()return HDCcategory ARB_make_current_read################################################################################# ARB Extension #11# ARB_pbuffer commands################################################################################CreatePbufferARB(hDC, iPixelFormat, iWidth, iHeight, piAttribList)return HPBUFFERARBparam hDC HDC in valueparam iPixelFormat int in valueparam iWidth int in valueparam iHeight int in valueparam piAttribList int in array [COMPSIZE()]category ARB_pbufferGetPbufferDCARB(hPbuffer)return HDCparam hPbuffer HPBUFFERARB in valuecategory ARB_pbufferReleasePbufferDCARB(hPbuffer, hDC)return intparam hPbuffer HPBUFFERARB in valueparam hDC HDC in valuecategory ARB_pbufferDestroyPbufferARB(hPbuffer)return BOOLparam hPbuffer HPBUFFERARB in valuecategory ARB_pbufferQueryPbufferARB(hPbuffer, iAttribute, piValue)return BOOLparam hPbuffer HPBUFFERARB in valueparam iAttribute int in valueparam piValue int out referencecategory ARB_pbuffer################################################################################# ARB Extension #20# ARB_render_texture commands################################################################################BindTexImageARB(hPbuffer, iBuffer)return BOOLparam hPbuffer HPBUFFERARB in valueparam iBuffer int in valuecategory ARB_render_textureReleaseTexImageARB(hPbuffer, iBuffer)return BOOLparam hPbuffer HPBUFFERARB in valueparam iBuffer int in valuecategory ARB_render_textureSetPbufferAttribARB(hPbuffer, piAttribList)return BOOLparam hPbuffer HPBUFFERARB in valueparam piAttribList int in array [COMPSIZE()]category ARB_render_texture################################################################################# ARB Extension #39# ARB_pixel_format_float commands################################################################################# (none)newcategory: ARB_pixel_format_float################################################################################# Extension #167# EXT_display_color_table commands################################################################################CreateDisplayColorTableEXT(id)return GLbooleanparam id GLushort in valuecategory EXT_display_color_tableLoadDisplayColorTableEXT(table, length)return GLbooleanparam table GLushort in array [length]param length GLuint in valuecategory EXT_display_color_tableBindDisplayColorTableEXT(id)return GLbooleanparam id GLushort in valuecategory EXT_display_color_tableDestroyDisplayColorTableEXT(id)return VOIDparam id GLushort in valuecategory EXT_display_color_table################################################################################# Extension #168# EXT_extensions_string commands################################################################################GetExtensionsStringEXT()return Stringcategory EXT_extensions_string################################################################################# Extension #169# EXT_make_current_read commands################################################################################MakeContextCurrentEXT(hDrawDC, hReadDC, hglrc)return BOOLparam hDrawDC HDC in valueparam hReadDC HDC in valueparam hglrc HGLRC in valuecategory EXT_make_current_readGetCurrentReadDCEXT()return HDCcategory EXT_make_current_read################################################################################# Extension #171# EXT_pbuffer commands################################################################################CreatePbufferEXT(hDC, iPixelFormat, iWidth, iHeight, piAttribList)return HPBUFFEREXTparam hDC HDC in valueparam iPixelFormat int in valueparam iWidth int in valueparam iHeight int in valueparam piAttribList int in array [COMPSIZE()]category EXT_pbufferGetPbufferDCEXT(hPbuffer)return HDCparam hPbuffer HPBUFFEREXT in valuecategory EXT_pbufferReleasePbufferDCEXT(hPbuffer, hDC)return intparam hPbuffer HPBUFFEREXT in valueparam hDC HDC in valuecategory EXT_pbufferDestroyPbufferEXT(hPbuffer)return BOOLparam hPbuffer HPBUFFEREXT in valuecategory EXT_pbufferQueryPbufferEXT(hPbuffer, iAttribute, piValue)return BOOLparam hPbuffer HPBUFFEREXT in valueparam iAttribute int in valueparam piValue int out referencecategory EXT_pbuffer################################################################################# Extension #170# EXT_pixel_format commands################################################################################GetPixelFormatAttribivEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, piValues)return BOOLparam hdc HDC in valueparam iPixelFormat int in valueparam iLayerPlane int in valueparam nAttributes UINT in valueparam piAttributes int out array [nAttributes]param piValues int out array [nAttributes]category EXT_pixel_formatGetPixelFormatAttribfvEXT(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues)return BOOLparam hdc HDC in valueparam iPixelFormat int in valueparam iLayerPlane int in valueparam nAttributes UINT in valueparam piAttributes int out array [nAttributes]param pfValues FLOAT out array [nAttributes]category EXT_pixel_formatChoosePixelFormatEXT(hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats)return BOOLparam hdc HDC in valueparam piAttribIList int in array [COMPSIZE()]param pfAttribFList FLOAT in array [COMPSIZE()]param nMaxFormats UINT in valueparam piFormats int out array [COMPSIZE(nNumFormats)]param nNumFormats UINT out referencecategory EXT_pixel_format################################################################################# Extension #172# EXT_swap_control commands################################################################################SwapIntervalEXT(interval)return BOOLparam interval int in valuecategory EXT_swap_controlGetSwapIntervalEXT()return intcategory EXT_swap_control################################################################################# Extension #177# EXT_depth_float commands################################################################################# (none)newcategory: EXT_depth_float################################################################################# Extension #190# NV_vertex_array_range commands################################################################################AllocateMemoryNV(size, readfreq, writefreq, priority)return VoidPointerparam size GLsizei in valueparam readfreq GLfloat in valueparam writefreq GLfloat in valueparam priority GLfloat in valuecategory NV_vertex_array_rangeFreeMemoryNV(pointer)return voidparam pointer void out array [1]category NV_vertex_array_range################################################################################# Extension #207# 3DFX_multisample commands################################################################################# (none)newcategory: 3DFX_multisample################################################################################# Extension #209# EXT_multisample commands################################################################################# (none)newcategory: EXT_multisample################################################################################# Extension #242# OML_sync_control commands################################################################################GetSyncValuesOML(hdc, ust, msc, sbc)return BOOLparam hdc HDC in valueparam ust INT64 out array [1]param msc INT64 out array [1]param sbc INT64 out array [1]category OML_sync_controlGetMscRateOML(hdc, numerator, denominator)return BOOLparam hdc HDC in valueparam numerator INT32 out array [1]param denominator INT32 out array [1]category OML_sync_controlSwapBuffersMscOML(hdc, target_msc, divisor, remainder)return INT64param hdc HDC in valueparam target_msc INT64 in valueparam divisor INT64 in valueparam remainder INT64 in valuecategory OML_sync_controlSwapLayerBuffersMscOML(hdc, fuPlanes, target_msc, divisor, remainder)return INT64param hdc HDC in valueparam fuPlanes int in valueparam target_msc INT64 in valueparam divisor INT64 in valueparam remainder INT64 in valuecategory OML_sync_controlWaitForMscOML(hdc, target_msc, divisor, remainder , ust, msc, sbc)return BOOLparam hdc HDC in valueparam target_msc INT64 in valueparam divisor INT64 in valueparam remainder INT64 in valueparam ust INT64 out array [1]param msc INT64 out array [1]param sbc INT64 out array [1]category OML_sync_controlWaitForSbcOML(hdc, target_sbc, ust, msc, sbc)return BOOLparam hdc HDC in valueparam target_sbc INT64 in valueparam ust INT64 out array [1]param msc INT64 out array [1]param sbc INT64 out array [1]category OML_sync_control################################################################################# Extension #250# I3D_digital_video_control commands################################################################################GetDigitalVideoParametersI3D(hDC, iAttribute, piValue)return BOOLparam hDC HDC in valueparam iAttribute int in valueparam piValue int out array [COMPSIZE(iAttribute)]category I3D_digital_video_controlSetDigitalVideoParametersI3D(hDC, iAttribute, piValue)return BOOLparam hDC HDC in valueparam iAttribute int in valueparam piValue int in array [COMPSIZE(iAttribute)]category I3D_digital_video_control################################################################################# Extension #251# I3D_gamma commands################################################################################GetGammaTableParametersI3D(hDC, iAttribute, piValue)return BOOLparam hDC HDC in valueparam iAttribute int in valueparam piValue int out array [COMPSIZE(iAttribute)]category I3D_gammaSetGammaTableParametersI3D(hDC, iAttribute, piValue)return BOOLparam hDC HDC in valueparam iAttribute int in valueparam piValue int in array [COMPSIZE(iAttribute)]category I3D_gammaGetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue)return BOOLparam hDC HDC in valueparam iEntries int in valueparam puRed USHORT out array [iEntries]param puGreen USHORT out array [iEntries]param puBlue USHORT out array [iEntries]category I3D_gammaSetGammaTableI3D(hDC, iEntries, puRed, puGreen, puBlue)return BOOLparam hDC HDC in valueparam iEntries int in valueparam puRed USHORT in array [iEntries]param puGreen USHORT in array [iEntries]param puBlue USHORT in array [iEntries]category I3D_gamma################################################################################# Extension #252# I3D_genlock commands################################################################################EnableGenlockI3D(hDC)return BOOLparam hDC HDC in valuecategory I3D_genlockDisableGenlockI3D(hDC)return BOOLparam hDC HDC in valuecategory I3D_genlockIsEnabledGenlockI3D(hDC, pFlag)return BOOLparam hDC HDC in valueparam pFlag BOOL out referencecategory I3D_genlockGenlockSourceI3D(hDC, uSource)return BOOLparam hDC HDC in valueparam uSource UINT in valuecategory I3D_genlockGetGenlockSourceI3D(hDC, uSource)return BOOLparam hDC HDC in valueparam uSource UINT out referencecategory I3D_genlockGenlockSourceEdgeI3D(hDC, uEdge)return BOOLparam hDC HDC in valueparam uEdge UINT in valuecategory I3D_genlockGetGenlockSourceEdgeI3D(hDC, uEdge)return BOOLparam hDC HDC in valueparam uEdge UINT out referencecategory I3D_genlockGenlockSampleRateI3D(hDC, uRate)return BOOLparam hDC HDC in valueparam uRate UINT in valuecategory I3D_genlockGetGenlockSampleRateI3D(hDC, uRate)return BOOLparam hDC HDC in valueparam uRate UINT out referencecategory I3D_genlockGenlockSourceDelayI3D(hDC, uDelay)return BOOLparam hDC HDC in valueparam uDelay UINT in valuecategory I3D_genlockGetGenlockSourceDelayI3D(hDC, uDelay)return BOOLparam hDC HDC in valueparam uDelay UINT out referencecategory I3D_genlockQueryGenlockMaxSourceDelayI3D(hDC, uMaxLineDelay, uMaxPixelDelay)return BOOLparam hDC HDC in valueparam uMaxLineDelay UINT out referenceparam uMaxPixelDelay UINT out referencecategory I3D_genlock################################################################################# Extension #253# I3D_image_buffer commands################################################################################CreateImageBufferI3D(hDC, dwSize, uFlags)return LPVOIDparam hDC HDC in valueparam dwSize DWORD in valueparam uFlags UINT in valuecategory I3D_image_bufferDestroyImageBufferI3D(hDC, pAddress)return BOOLparam hDC HDC in valueparam pAddress LPVOID in valuecategory I3D_image_bufferAssociateImageBufferEventsI3D(hDC, pEvent, pAddress, pSize, count)return BOOLparam hDC HDC in valueparam pEvent HANDLE in array [count]param pAddress LPVOID in array [count]param pSize DWORD in array [count]param count UINT in valuecategory I3D_image_bufferReleaseImageBufferEventsI3D(hDC, pAddress, count)return BOOLparam hDC HDC in valueparam pAddress LPVOID in array [count]param count UINT in valuecategory I3D_image_buffer################################################################################# Extension #254# I3D_swap_frame_lock commands################################################################################EnableFrameLockI3D()return BOOLcategory I3D_swap_frame_lockDisableFrameLockI3D()return BOOLcategory I3D_swap_frame_lockIsEnabledFrameLockI3D(pFlag)return BOOLparam pFlag BOOL out referencecategory I3D_swap_frame_lockQueryFrameLockMasterI3D(pFlag)return BOOLparam pFlag BOOL out referencecategory I3D_swap_frame_lock################################################################################# Extension #255# I3D_swap_frame_usage commands################################################################################GetFrameUsageI3D(pUsage)return BOOLparam pUsage float out referencecategory I3D_swap_frame_usageBeginFrameTrackingI3D()return BOOLcategory I3D_swap_frame_usageEndFrameTrackingI3D()return BOOLcategory I3D_swap_frame_usageQueryFrameTrackingI3D(pFrameCount, pMissedFrames, pLastMissedUsage)return BOOLparam pFrameCount DWORD out referenceparam pMissedFrames DWORD out referenceparam pLastMissedUsage float out referencecategory I3D_swap_frame_usage################################################################################# Extension #278# ATI_pixel_format_float commands################################################################################# (none)newcategory: ATI_pixel_format_float################################################################################# Extension #281# NV_float_buffer commands################################################################################# (none)newcategory: NV_float_buffer