15bd8deadSopenharmony_ciXXX - Obsolete; implemented as part of GL_SGIX_igloo_interface 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ciName 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ci IGLOO_viewport_offsetXXX 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci This not an EXT, SGI, SGIS, or SGIX extension. It violates the prefix rules. 85bd8deadSopenharmony_ci Also the XXX violates the no-caps in the body of the name rule. 95bd8deadSopenharmony_ci 105bd8deadSopenharmony_ciName Strings 115bd8deadSopenharmony_ci 125bd8deadSopenharmony_ci GL_IGLOO_viewport_offsetXXX 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ci These strings should never be returned by glGetString, 155bd8deadSopenharmony_ci because I don't expect the get in this extension to be implemented 165bd8deadSopenharmony_ci The extension should remain incomplete. 175bd8deadSopenharmony_ci The name string here is used solely in the registry. 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciVersion 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci $Date: 1999/04/03 08:40:52 $ $Revision: 1.2 $ 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ciNumber 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ci None 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ci Do we number these??? 285bd8deadSopenharmony_ci 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciDependencies 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci This extension has *NO* dependencies. 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ciOverview 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci When Viewport_Offset is enabled then the viewport transformation is becomes 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ci x_w = (p_x/2) x_d + o_x + 0.5 415bd8deadSopenharmony_ci y_w = (p_y/2) y_d + o_y + 0.5 425bd8deadSopenharmony_ci z_w = . . . same as before. 435bd8deadSopenharmony_ci 445bd8deadSopenharmony_ci I believe that this is only useful for emulating IrisGL on top of OpenGL. 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ciNew Procedures and Functions 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ci There are no new Procedures for this extension 515bd8deadSopenharmony_ciNew Tokens 525bd8deadSopenharmony_ci 535bd8deadSopenharmony_ci* This list should be complete. It should separate the new tokens 545bd8deadSopenharmony_ci* based on which procedures and parameters accept them, and explicitly 555bd8deadSopenharmony_ci* list those procedures and parameters. Token suffixes must match the 565bd8deadSopenharmony_ci* prefix chosen for the extension name. For example: 575bd8deadSopenharmony_ci* 585bd8deadSopenharmony_ci* Accepted by the <pname> parameters of GetBooleanv, GetIntegerv, 595bd8deadSopenharmony_ci* GetFloatv, and GetDoublev: 605bd8deadSopenharmony_ci* 615bd8deadSopenharmony_ci* NEW_TOKEN_SGI 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ci IGLOO_OFFSET_VIEWPORT_XXX Is accepted by glEnable and glDisable. 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci Probably not accepted by the <pname> parameter of glGetBooleanv, and 665bd8deadSopenharmony_ci glIsEnabled. 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci (I do not expect glGet to accept this in most implementations, 695bd8deadSopenharmony_ci but techically it should since this is user state.) 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ci If glEnable or glDisable generates an INVALID_ENUM then 725bd8deadSopenharmony_ci this extension is not available. 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation) 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ci Section 2.9.1 (Controlling the viewport) 795bd8deadSopenharmony_ci now reads: 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ci "The vertex's window coordinates, (x_w) are given by 825bd8deadSopenharmony_ci (y_w) 835bd8deadSopenharmony_ci (z_w), 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ci (x_w) ((p_x/2)x_d + o_x + offset) ) 865bd8deadSopenharmony_ci (y_w) = ((p_y/2)y_d + o_y + offset) ) 875bd8deadSopenharmony_ci (z_w) ([unchanged from versions 1.0]) ) 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ci where offset equals 0.5 if IGLOO_OFFSET_VIEWPORT_XXX is enabled, and 0.0 if it is 905bd8deadSopenharmony_ci disabled. 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization) 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci NONE 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations 975bd8deadSopenharmony_ciand the Frame Buffer) 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ci NONE 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions) 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci* List commands that are not included in display lists (typically Get* 1045bd8deadSopenharmony_ci* commands) 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ci glGet(IGLOO_OFFSET_VIEWPORT_XXX) will probably not be part of any real implementation. 1075bd8deadSopenharmony_ci glEnable is already display listable and remains so. 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests) 1105bd8deadSopenharmony_ci 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ci There is one new bit of state. 1135bd8deadSopenharmony_ci This bit is TRUE if IGLOO_OFFSET_VIEWPORT_XXX is enabled 1145bd8deadSopenharmony_ci and FALSE otherwise. While this is technically user state, it is not 1155bd8deadSopenharmony_ci needed by IGLOO. . . 1165bd8deadSopenharmony_ci It's default value is FALSE. 1175bd8deadSopenharmony_ci 1185bd8deadSopenharmony_ciAdditions to the GLX Specification 1195bd8deadSopenharmony_ci No additions are needed for the GLX Specification 1205bd8deadSopenharmony_ci 1215bd8deadSopenharmony_ciErrors 1225bd8deadSopenharmony_ci There is no new Error state, but glEnable/glDisable now accepts a the new token. 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ci 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ciNew State 1275bd8deadSopenharmony_ci 1285bd8deadSopenharmony_ci* Description of all state values in table format. Note that client 1295bd8deadSopenharmony_ci* state should have "client" listed in the Attrib column. 1305bd8deadSopenharmony_ci 1315bd8deadSopenharmony_ci Initial 1325bd8deadSopenharmony_ci Get Value Get Command Type Value Attrib 1335bd8deadSopenharmony_ci --------- ----------- ---- ------- ------ 1345bd8deadSopenharmony_ci IGLOO_OFFSET_VIEWPORT_XXX glGetBooleanv Bool FALSE enable 1355bd8deadSopenharmony_ci 136