15bd8deadSopenharmony_ciXXX - Not complete yet!!! 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ciName 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ci SGI_transparent_pixel 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ciName Strings 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ci GLX_SGI_transparent_pixel 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ciVersion 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ci $Date: 1998/04/21 03:53:16 $ $Revision: 1.3 $ 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ciNumber 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ci 153 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciDependencies 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci None 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ciOverview 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ci This extension provides a means to request a visual with a 265bd8deadSopenharmony_ci transparent pixel and to query whether a visual supports a 275bd8deadSopenharmony_ci transparent pixel value as well as the value of the transparent 285bd8deadSopenharmony_ci pixel. Note that the notion of level and transparent pixels 295bd8deadSopenharmony_ci are orthogonal as bother layer 1 and layer 0 visuals may or 305bd8deadSopenharmony_ci may not have a transparent pixel value. 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ciIssues 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ci Is it okay to return a vector in glXGetConfig ? 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci Should the RGB color value use something more X-like, e.g. 375bd8deadSopenharmony_ci 16-bit component values. 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci I think its a good idea to use integer RGBA color components 405bd8deadSopenharmony_ci so that one can use some argument about exact integer values 415bd8deadSopenharmony_ci being rasterized predictable but we all know the transparent 425bd8deadSopenharmony_ci pixel value is going to be (1.0,1.0,1.0) or (0.0,0.0,0.0) so 435bd8deadSopenharmony_ci maybe we should provide a simpler hack? 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci Is there problem with the value queries returning zero if the 465bd8deadSopenharmony_ci visual doesn't contain a transparent pixel? 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci Why not admit that zero is the one true transparent 495bd8deadSopenharmony_ci pixel value and simply live with GLX_TRANSPARENT_PIXEL 505bd8deadSopenharmony_ci as the only new enum? 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ciNew Procedures and Functions 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci None 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ciNew Tokens 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci GLX_TRANSPARENT_PIXEL_SGI 595bd8deadSopenharmony_ci GLX_TRANSPARENT_COLOR 605bd8deadSopenharmony_ci GLX_TRANSPARENT_INDEX 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation) 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci None 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization) 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ci None 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and 725bd8deadSopenharmony_cithe Framebuffer) 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci None 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions) 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ci None 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests) 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci None 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ciAdditions to the GLX Specification 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci [Add to Section 3.2.2 of the 1.0 GLX Specification (Configuration 875bd8deadSopenharmony_ci Management)] 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ci [Add to Table 1: Configuration Attributes] 905bd8deadSopenharmony_ci 915bd8deadSopenharmony_ci GLX_TRANSPARENT_PIXEL_SGI boolean True if contains a transparent pixel 925bd8deadSopenharmony_ci GLX_TRANSPARENT_INDEX_SGI integer if RGB mode or no transparent pixel 935bd8deadSopenharmony_ci 0, else transparent index value 945bd8deadSopenharmony_ci GLX_TRANSPARENT_COLOR_SGI Color*4 if index mode or no transparent 955bd8deadSopenharmony_ci pixel 0, else scaled component 965bd8deadSopenharmony_ci values 975bd8deadSopenharmony_ci 985bd8deadSopenharmony_ci type Color is essentially the OpenGL signed integer color type which 995bd8deadSopenharmony_ci maps to an OpenGL float color in the range (0.0,1.0) as described 1005bd8deadSopenharmony_ci in table 2.4 of the 1.0 OpenGL specification. 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ciErrors 1045bd8deadSopenharmony_ci 1055bd8deadSopenharmony_ci No new errors for glXGetConfig or glXChooseVisual. 1065bd8deadSopenharmony_ci 1075bd8deadSopenharmony_ciNew State 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ci None 1105bd8deadSopenharmony_ci 1115bd8deadSopenharmony_ciNew Implementation Dependent State 1125bd8deadSopenharmony_ci 1135bd8deadSopenharmony_ci None 114