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