home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / documents / OpenGL / opengldoc / glspec / transparent_pixel.spec < prev    next >
Encoding:
Text File  |  1996-11-11  |  2.6 KB  |  114 lines

  1. XXX - Not complete yet!!!
  2.  
  3. Name
  4.  
  5.     SGI_transparent_pixel
  6.  
  7. Name Strings
  8.  
  9.     GLX_SGI_transparent_pixel
  10.  
  11. Version
  12.  
  13.     $Date: 1996/04/01 23:23:31 $ $Revision: 1.1 $
  14.  
  15. Number
  16.  
  17.     43
  18.  
  19. Dependencies
  20.  
  21.     None
  22.  
  23. Overview
  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.  
  32. Issues
  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.  
  52. New Procedures and Functions
  53.  
  54.     None
  55.  
  56. New Tokens
  57.  
  58.     GLX_TRANSPARENT_PIXEL_SGI
  59.     GLX_TRANSPARENT_COLOR
  60.     GLX_TRANSPARENT_INDEX
  61.  
  62.  
  63. Additions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
  64.  
  65.     None
  66.  
  67. Additions to Chapter 3 of the 1.0 Specification (Rasterization)
  68.  
  69.     None
  70.  
  71. Additions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations and
  72. the Framebuffer)
  73.  
  74.     None
  75.  
  76. Additions to Chapter 5 of the 1.0 Specification (Special Functions)
  77.  
  78.     None
  79.  
  80. Additions to Chapter 6 of the 1.0 Specification (State and State Requests)
  81.  
  82.     None
  83.  
  84. Additions 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.  
  103. Errors
  104.  
  105.     No new errors for glXGetConfig or glXChooseVisual.
  106.  
  107. New State
  108.  
  109.     None
  110.  
  111. New Implementation Dependent State
  112.  
  113.     None
  114.