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