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 / blend_logic_op.spec < prev    next >
Encoding:
Text File  |  1996-11-11  |  2.6 KB  |  104 lines

  1. Name
  2.  
  3.     EXT_blend_logic_op
  4.  
  5. Name Strings
  6.  
  7.     GL_EXT_blend_logic_op
  8.  
  9. Version
  10.  
  11.     $Date: 1996/04/02 00:07:18 $ $Revision: 1.2 $
  12.  
  13. Number
  14.  
  15.     39
  16.  
  17. Dependencies
  18.  
  19.     EXT_blend_minmax affects the definition of this extension
  20.  
  21. Overview
  22.  
  23.     A single additional blending equation is specified using the interface
  24.     defined by EXT_blend_minmax.  This equation is a simple logical
  25.     combination of the source and destination colors, where the specific
  26.     logical operation is as specified by LogicOp.  While only the XOR
  27.     operation may find wide application, the generality of full logical
  28.     operations is allowed.
  29.     
  30. New Procedures and Functions
  31.  
  32.     None
  33.  
  34. New Tokens
  35.  
  36.     None
  37.  
  38. Additions to Chapter 2 of the GL Specification (OpenGL Operation)
  39.  
  40.     None
  41.  
  42. Additions to Chapter 3 of the GL Specification (Rasterization)
  43.  
  44.     None
  45.  
  46. Additions to Chapter 4 of the GL Specification (Per-Fragment Operations
  47. and the Framebuffer)
  48.  
  49.     A single additional blending equation is defined.  If BlendEquationEXT
  50.     is called with <mode> set to LOGIC_OP, the blending equation becomes
  51.  
  52.     C = Cs OP Cd
  53.  
  54.     where Cs and Cd are the source and destination colors, and OP is the
  55.     logic operation as specified by LogicOp.
  56.  
  57.     The value of boolean parameter LOGIC_OP (specified by Enable and
  58.     Disable, and queried with IsEnabled) has no affect on blending, even
  59.     when the blend equation is specified as LOGIC_OP.
  60.  
  61. Additions to Chapter 5 of the GL Specification (Special Functions)
  62.  
  63.     None
  64.  
  65. Additions to Chapter 6 of the GL Specification (State and State Requests)
  66.  
  67.     None
  68.  
  69. Additions to the GLX Specification
  70.  
  71.     None
  72.  
  73. GLX Protocol
  74.  
  75.     None
  76.  
  77. Dependencies on EXT_blend_minmax
  78.  
  79.     If this extension is supported, but EXT_blend_minmax is not, then
  80.     this extension effectively adds the procedure BlendEquationEXT, its
  81.     parameter FUNC_ADD_EXT, and the query target BLEND_EQUATION_EXT, as
  82.     described in EXT_blend_minmax.  It is therefore as though
  83.     EXT_blend_minmax were also supported, except that equations MIN_EXT
  84.     and MAX_EXT are not supported.
  85.  
  86. Errors
  87.  
  88.     INVALID_ENUM is generated by BlendEquationEXT if its single parameter
  89.     is not FUNC_ADD_EXT, MIN_EXT, MAX_EXT, FUNC_SUBTRACT_EXT,
  90.     FUNC_REVERSE_SUBTRACT_EXT, or LOGIC_OP.
  91.  
  92.     INVALID_OPERATION is generated if BlendEquationEXT is executed between
  93.     the execution of Begin and the corresponding execution to End.
  94.  
  95. New State
  96.  
  97.     Get Value        Get Command    Type    Initial Value    Attribute
  98.     ---------        -----------    ----    -------------    ---------
  99.     BLEND_EQUATION_EXT    GetIntegerv    Z6    FUNC_ADD_EXT    color-buffer
  100.  
  101. New Implementation Dependent State
  102.  
  103.     None
  104.