15bd8deadSopenharmony_ciXXX - Not complete yet!!! 25bd8deadSopenharmony_ciName 35bd8deadSopenharmony_ci 45bd8deadSopenharmony_ci SGIX_blend_cadd 55bd8deadSopenharmony_ci 65bd8deadSopenharmony_ciName Strings 75bd8deadSopenharmony_ci 85bd8deadSopenharmony_ci GL_SGIX_blend_cadd 95bd8deadSopenharmony_ci 105bd8deadSopenharmony_ciVersion 115bd8deadSopenharmony_ci 125bd8deadSopenharmony_ci $Date: 1998/04/10 21:45:37 $ $Revision: 1.2 $ 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ciNumber 155bd8deadSopenharmony_ci 165bd8deadSopenharmony_ci 150 175bd8deadSopenharmony_ci 185bd8deadSopenharmony_ciDependencies 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ci EXT_blend_minmax affects the definition of this extension 215bd8deadSopenharmony_ci SGIX_COMPLEX or SGIX_REAL pixel formats is required 225bd8deadSopenharmony_ci SGIX_FBConfig is required 235bd8deadSopenharmony_ci SGIX_cbuffer is required 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ciOverview 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ci An additional blending equation is specified using the interface defined 285bd8deadSopenharmony_ci by EXT_blend_minmax. This equation generates the addition of two complex 295bd8deadSopenharmony_ci input sources. Adding two complex images is useful for image 305bd8deadSopenharmony_ci and signal processing applications. 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ciNew Procedures and Functions 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ci None 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ciNew Tokens 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci Accepted by the <mode> parameter of BlendEquationEXT: 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ci FUNC_COMPLEX_ADD_EXT 0x601C 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation) 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci None 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization) 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci None 505bd8deadSopenharmony_ci 515bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations 525bd8deadSopenharmony_ciand the Framebuffer) 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci An additional blending equation is defined. If BlendEquationEXT is 555bd8deadSopenharmony_ci called with <mode> set to FUNC_COMPLEX_ADD_EXT, the blending equation 565bd8deadSopenharmony_ci becomes 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci C_real' = Cs_real + Cd_real 595bd8deadSopenharmony_ci C_imaginary' = Cs_imaginary + Cd_imaginary 605bd8deadSopenharmony_ci 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci where Cs_real and Cs_imaginary are the source real and imaginary 635bd8deadSopenharmony_ci components and Cd_real and Cd_imaginary are the destination 645bd8deadSopenharmony_ci components. The resulting image will also be composed of 655bd8deadSopenharmony_ci real (C_real') and imaginary (C_imaginary') components. 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci In all cases the blending equation is evaluated separately for each 685bd8deadSopenharmony_ci color component. 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 715bd8deadSopenharmony_ci 725bd8deadSopenharmony_ci None 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests) 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci None 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ciAdditions to the GLX Specification 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci None 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ciGLX Protocol 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ci None 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ciDependencies on EXT_blend_minmax 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ci If this extension is supported, but EXT_blend_minmax is not, then 895bd8deadSopenharmony_ci this extension effectively defines the procedure BlendEquationEXT, its 905bd8deadSopenharmony_ci parameter FUNC_ADD_EXT, and the query target BLEND_EQUATION_EXT, as 915bd8deadSopenharmony_ci described in EXT_blend_minmax. It is therefore as though 925bd8deadSopenharmony_ci EXT_blend_minmax were also supported, except that equations MIN_EXT 935bd8deadSopenharmony_ci and MAX_EXT are not supported. 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ciErrors 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ci INVALID_ENUM is generated by BlendEquationEXT if its single parameter 985bd8deadSopenharmony_ci is not FUNC_ADD_EXT, MIN_EXT, MAX_EXT, FUNC_SUBTRACT_EXT, 995bd8deadSopenharmony_ci FUNC_REVERSE_SUBTRACT_EXT, FUNC_COMPLEX_MULTIPLY_EXT, 1005bd8deadSopenharmony_ci FUNC_COMPLEX_ADD_EXT, FUNC_COMPLEX_PHASE_EXT or FUNC_COMPLEX_MAGNITUDE_EXT. 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ci INVALID_OPERATION is generated if BlendEquationEXT is executed with 1035bd8deadSopenharmony_ci parameter FUNC_COMPLEX_MULTIPLY_EXT or FUNC_COMPLEX_ADD_EXT and the 1045bd8deadSopenharmony_ci destination buffer is not an SGIX_cbuffer. 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ci INVALID_OPERATION is generated if BlendEquationEXT is executed between 1075bd8deadSopenharmony_ci the execution of Begin and the corresponding execution to End. 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ciNew State 1105bd8deadSopenharmony_ci 1115bd8deadSopenharmony_ci Get Value Get Command Type Initial Value Attribute 1125bd8deadSopenharmony_ci --------- ----------- ---- ------------- --------- 1135bd8deadSopenharmony_ci BLEND_EQUATION_EXT GetIntegerv ?? FUNC_ADD_EXT color-buffer 1145bd8deadSopenharmony_ci 1155bd8deadSopenharmony_ciNew Implementation Dependent State 1165bd8deadSopenharmony_ci 1175bd8deadSopenharmony_ci None 118