15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    WGL_3DL_stereo_control
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    WGL_3DL_stereo_control
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContact
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Seth Williams, 3Dlabs (seth.williams 'at' 3dlabs.com)
125bd8deadSopenharmony_ci    Harald Smit, 3Dlabs (harald.smit 'at' 3dlabs.com)
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ciStatus
155bd8deadSopenharmony_ci
165bd8deadSopenharmony_ci    Complete
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ciVersion
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci    Date: 10/05/2005   Revision 1.0
215bd8deadSopenharmony_ci
225bd8deadSopenharmony_ciNumber
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci    313
255bd8deadSopenharmony_ci
265bd8deadSopenharmony_ciDependencies
275bd8deadSopenharmony_ci
285bd8deadSopenharmony_ci    The extension is written against the OpenGL 2.0 Specification
295bd8deadSopenharmony_ci    although it should work on any previous OpenGL specification.
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ci    The WGL_EXT_extensions_string extension is required.
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ciOverview
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ci    The stereo extension provides an interface for manipulating the 
365bd8deadSopenharmony_ci    emitter signal from the video adapter used to drive lcd shutter 
375bd8deadSopenharmony_ci    glasses used for stereoscopic viewing.
385bd8deadSopenharmony_ci
395bd8deadSopenharmony_ciIP Status
405bd8deadSopenharmony_ci
415bd8deadSopenharmony_ci    None
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ciIssues
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ci    None
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ciNew Procedures and Functions
485bd8deadSopenharmony_ci
495bd8deadSopenharmony_ci    BOOL wglSetStereoEmitterState3DL(HDC hDC, UINT uState)
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ciNew Tokens
525bd8deadSopenharmony_ci
535bd8deadSopenharmony_ci   Accepted by the <uState> parameter:
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci      WGL_STEREO_EMITTER_ENABLE_3DL        0x2055
565bd8deadSopenharmony_ci      WGL_STEREO_EMITTER_DISABLE_3DL       0x2056
575bd8deadSopenharmony_ci      WGL_STEREO_POLARITY_NORMAL_3DL       0x2057
585bd8deadSopenharmony_ci      WGL_STEREO_POLARITY_INVERT_3DL       0x2058
595bd8deadSopenharmony_ci
605bd8deadSopenharmony_ciAdditions to Chapter 2 of the OpenGL 2.0 Specification (OpenGL Operation)
615bd8deadSopenharmony_ci
625bd8deadSopenharmony_ci    None
635bd8deadSopenharmony_ci
645bd8deadSopenharmony_ciAdditions to Chapter 3 of the OpenGL 2.0 Specification (Rasterization)
655bd8deadSopenharmony_ci
665bd8deadSopenharmony_ci    None
675bd8deadSopenharmony_ci
685bd8deadSopenharmony_ciAdditions to Chapter 4 of the OpenGL 2.0 Specification (Per-Fragment
695bd8deadSopenharmony_ciOperations and the Frame Buffer)
705bd8deadSopenharmony_ci
715bd8deadSopenharmony_ci    None
725bd8deadSopenharmony_ci
735bd8deadSopenharmony_ciAdditions to Chapter 5 of the OpenGL 2.0 Specification (Special Functions)
745bd8deadSopenharmony_ci
755bd8deadSopenharmony_ci    None
765bd8deadSopenharmony_ci
775bd8deadSopenharmony_ciAdditions to Chapter 6 of the OpenGL 2.0 Specification (State and
785bd8deadSopenharmony_ciState Requests)
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ci    None
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ciAdditions to Appendix A of the OpenGL 2.0 Specification (Invariance)
835bd8deadSopenharmony_ci
845bd8deadSopenharmony_ci    None
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ciAdditions to the WGL Specification
875bd8deadSopenharmony_ci
885bd8deadSopenharmony_ci    The state of the stereo emitter for video adapters that support
895bd8deadSopenharmony_ci    stereoscopic headsets can be modified using the following function:
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ci    BOOL wglSetStereoEmitterState3DL(HDC hDC, UINT uState)
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    <hDC> is a device context for the graphics adapter or a window
945bd8deadSopenharmony_ci    residing on a monitor whose graphics adapter supports the stereo
955bd8deadSopenharmony_ci    extension.
965bd8deadSopenharmony_ci
975bd8deadSopenharmony_ci    <uState> is the new state requested and is one and only one of
985bd8deadSopenharmony_ci    the following values:
995bd8deadSopenharmony_ci
1005bd8deadSopenharmony_ci      WGL_STEREO_EMITTER_ENABLE_3DL
1015bd8deadSopenharmony_ci        Turn the stereo emitter output from the video adapter ON.
1025bd8deadSopenharmony_ci
1035bd8deadSopenharmony_ci      WGL_STEREO_EMITTER_DISABLE_3DL
1045bd8deadSopenharmony_ci        Turn the stereo emitter output from the video adapter OFF.
1055bd8deadSopenharmony_ci
1065bd8deadSopenharmony_ci      WGL_STEREO_POLARITY_NORMAL_3DL
1075bd8deadSopenharmony_ci        Generate an emitter signal for the stereoscopic headset to show
1085bd8deadSopenharmony_ci        the scene from the left eye's point of view while the right eye's
1095bd8deadSopenharmony_ci        shutter is closed and vice versa.
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ci      WGL_STEREO_POLARITY_INVERT_3DL
1125bd8deadSopenharmony_ci        Generate an emitter signal for the stereoscopic headset to show
1135bd8deadSopenharmony_ci        the scene from the left eye's point of view while the left eye's
1145bd8deadSopenharmony_ci        shutter is closed and vice versa.
1155bd8deadSopenharmony_ci
1165bd8deadSopenharmony_ci    A call to wglSetStereoEmitterState is necessary for each state transition
1175bd8deadSopenharmony_ci    required.
1185bd8deadSopenharmony_ci
1195bd8deadSopenharmony_ciDependencies on WGL_EXT_extensions_string
1205bd8deadSopenharmony_ci
1215bd8deadSopenharmony_ci    Because there is no way to extend wgl, these calls are defined in
1225bd8deadSopenharmony_ci    the ICD and can be called by obtaining the address with
1235bd8deadSopenharmony_ci    wglGetProcAddress.  Because this extension is a WGL extension, it
1245bd8deadSopenharmony_ci    is not included in the GL_EXTENSIONS string.  Its existence can be
1255bd8deadSopenharmony_ci    determined with the WGL_EXT_extensions_string extension.
1265bd8deadSopenharmony_ci
1275bd8deadSopenharmony_ciErrors
1285bd8deadSopenharmony_ci
1295bd8deadSopenharmony_ci    If the function succeeds, a value of TRUE is returned.  If the
1305bd8deadSopenharmony_ci    function fails, a value of FALSE is returned.  To get extended
1315bd8deadSopenharmony_ci    error information, call GetLastError.
1325bd8deadSopenharmony_ci
1335bd8deadSopenharmony_ci      ERROR_DC_NOT_FOUND         <hDC> is invalid.
1345bd8deadSopenharmony_ci
1355bd8deadSopenharmony_ci      ERROR_INVALID_DATA         <uState> is invalid.
1365bd8deadSopenharmony_ci
1375bd8deadSopenharmony_ciNew State
1385bd8deadSopenharmony_ci
1395bd8deadSopenharmony_ci    None
1405bd8deadSopenharmony_ci
1415bd8deadSopenharmony_ciNew Implementation Dependent State
1425bd8deadSopenharmony_ci
1435bd8deadSopenharmony_ci    None
1445bd8deadSopenharmony_ci
1455bd8deadSopenharmony_ciRevision History
1465bd8deadSopenharmony_ci
1475bd8deadSopenharmony_ci    09/28/2005  0.1  First draft.
1485bd8deadSopenharmony_ci    10/05/2005  1.0  Initial public release.
149