1XXX - Not complete yet!!! 2Name 3 4 SGIX_blend_cadd 5 6Name Strings 7 8 GL_SGIX_blend_cadd 9 10Version 11 12 $Date: 1998/04/10 21:45:37 $ $Revision: 1.2 $ 13 14Number 15 16 150 17 18Dependencies 19 20 EXT_blend_minmax affects the definition of this extension 21 SGIX_COMPLEX or SGIX_REAL pixel formats is required 22 SGIX_FBConfig is required 23 SGIX_cbuffer is required 24 25Overview 26 27 An additional blending equation is specified using the interface defined 28 by EXT_blend_minmax. This equation generates the addition of two complex 29 input sources. Adding two complex images is useful for image 30 and signal processing applications. 31 32 33New Procedures and Functions 34 35 None 36 37New Tokens 38 39 Accepted by the <mode> parameter of BlendEquationEXT: 40 41 FUNC_COMPLEX_ADD_EXT 0x601C 42 43Additions to Chapter 2 of the GL Specification (OpenGL Operation) 44 45 None 46 47Additions to Chapter 3 of the GL Specification (Rasterization) 48 49 None 50 51Additions to Chapter 4 of the GL Specification (Per-Fragment Operations 52and the Framebuffer) 53 54 An additional blending equation is defined. If BlendEquationEXT is 55 called with <mode> set to FUNC_COMPLEX_ADD_EXT, the blending equation 56 becomes 57 58 C_real' = Cs_real + Cd_real 59 C_imaginary' = Cs_imaginary + Cd_imaginary 60 61 62 where Cs_real and Cs_imaginary are the source real and imaginary 63 components and Cd_real and Cd_imaginary are the destination 64 components. The resulting image will also be composed of 65 real (C_real') and imaginary (C_imaginary') components. 66 67 In all cases the blending equation is evaluated separately for each 68 color component. 69 70Additions to Chapter 5 of the GL Specification (Special Functions) 71 72 None 73 74Additions to Chapter 6 of the GL Specification (State and State Requests) 75 76 None 77 78Additions to the GLX Specification 79 80 None 81 82GLX Protocol 83 84 None 85 86Dependencies on EXT_blend_minmax 87 88 If this extension is supported, but EXT_blend_minmax is not, then 89 this extension effectively defines the procedure BlendEquationEXT, its 90 parameter FUNC_ADD_EXT, and the query target BLEND_EQUATION_EXT, as 91 described in EXT_blend_minmax. It is therefore as though 92 EXT_blend_minmax were also supported, except that equations MIN_EXT 93 and MAX_EXT are not supported. 94 95Errors 96 97 INVALID_ENUM is generated by BlendEquationEXT if its single parameter 98 is not FUNC_ADD_EXT, MIN_EXT, MAX_EXT, FUNC_SUBTRACT_EXT, 99 FUNC_REVERSE_SUBTRACT_EXT, FUNC_COMPLEX_MULTIPLY_EXT, 100 FUNC_COMPLEX_ADD_EXT, FUNC_COMPLEX_PHASE_EXT or FUNC_COMPLEX_MAGNITUDE_EXT. 101 102 INVALID_OPERATION is generated if BlendEquationEXT is executed with 103 parameter FUNC_COMPLEX_MULTIPLY_EXT or FUNC_COMPLEX_ADD_EXT and the 104 destination buffer is not an SGIX_cbuffer. 105 106 INVALID_OPERATION is generated if BlendEquationEXT is executed between 107 the execution of Begin and the corresponding execution to End. 108 109New State 110 111 Get Value Get Command Type Initial Value Attribute 112 --------- ----------- ---- ------------- --------- 113 BLEND_EQUATION_EXT GetIntegerv ?? FUNC_ADD_EXT color-buffer 114 115New Implementation Dependent State 116 117 None 118