1XXX - Not complete yet!!! 2 3Name 4 5 SGI_transparent_pixel 6 7Name Strings 8 9 GLX_SGI_transparent_pixel 10 11Version 12 13 $Date: 1998/04/21 03:53:16 $ $Revision: 1.3 $ 14 15Number 16 17 153 18 19Dependencies 20 21 None 22 23Overview 24 25 This extension provides a means to request a visual with a 26 transparent pixel and to query whether a visual supports a 27 transparent pixel value as well as the value of the transparent 28 pixel. Note that the notion of level and transparent pixels 29 are orthogonal as bother layer 1 and layer 0 visuals may or 30 may not have a transparent pixel value. 31 32Issues 33 34 Is it okay to return a vector in glXGetConfig ? 35 36 Should the RGB color value use something more X-like, e.g. 37 16-bit component values. 38 39 I think its a good idea to use integer RGBA color components 40 so that one can use some argument about exact integer values 41 being rasterized predictable but we all know the transparent 42 pixel value is going to be (1.0,1.0,1.0) or (0.0,0.0,0.0) so 43 maybe we should provide a simpler hack? 44 45 Is there problem with the value queries returning zero if the 46 visual doesn't contain a transparent pixel? 47 48 Why not admit that zero is the one true transparent 49 pixel value and simply live with GLX_TRANSPARENT_PIXEL 50 as the only new enum? 51 52New Procedures and Functions 53 54 None 55 56New Tokens 57 58 GLX_TRANSPARENT_PIXEL_SGI 59 GLX_TRANSPARENT_COLOR 60 GLX_TRANSPARENT_INDEX 61 62 63Additions to Chapter 2 of the 1.0 Specification (OpenGL Operation) 64 65 None 66 67Additions to Chapter 3 of the 1.0 Specification (Rasterization) 68 69 None 70 71Additions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and 72the Framebuffer) 73 74 None 75 76Additions to Chapter 5 of the 1.0 Specification (Special Functions) 77 78 None 79 80Additions to Chapter 6 of the 1.0 Specification (State and State Requests) 81 82 None 83 84Additions to the GLX Specification 85 86 [Add to Section 3.2.2 of the 1.0 GLX Specification (Configuration 87 Management)] 88 89 [Add to Table 1: Configuration Attributes] 90 91 GLX_TRANSPARENT_PIXEL_SGI boolean True if contains a transparent pixel 92 GLX_TRANSPARENT_INDEX_SGI integer if RGB mode or no transparent pixel 93 0, else transparent index value 94 GLX_TRANSPARENT_COLOR_SGI Color*4 if index mode or no transparent 95 pixel 0, else scaled component 96 values 97 98 type Color is essentially the OpenGL signed integer color type which 99 maps to an OpenGL float color in the range (0.0,1.0) as described 100 in table 2.4 of the 1.0 OpenGL specification. 101 102 103Errors 104 105 No new errors for glXGetConfig or glXChooseVisual. 106 107New State 108 109 None 110 111New Implementation Dependent State 112 113 None 114