15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_blend_logic_op 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_EXT_blend_logic_op 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1995/03/31 04:40:24 $ $Revision: 1.4 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 39 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci EXT_blend_minmax affects the definition of this extension 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci A single additional blending equation is specified using the interface 245bd8deadSopenharmony_ci defined by EXT_blend_minmax. This equation is a simple logical 255bd8deadSopenharmony_ci combination of the source and destination colors, where the specific 265bd8deadSopenharmony_ci logical operation is as specified by LogicOp. While only the XOR 275bd8deadSopenharmony_ci operation may find wide application, the generality of full logical 285bd8deadSopenharmony_ci operations is allowed. 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciNew Procedures and Functions 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci None 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ciNew Tokens 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci None 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation) 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ci None 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization) 435bd8deadSopenharmony_ci 445bd8deadSopenharmony_ci None 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations 475bd8deadSopenharmony_ciand the Framebuffer) 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci A single additional blending equation is defined. If BlendEquationEXT 505bd8deadSopenharmony_ci is called with <mode> set to LOGIC_OP, the blending equation becomes 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci C = Cs OP Cd 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci where Cs and Cd are the source and destination colors, and OP is the 555bd8deadSopenharmony_ci logic operation as specified by LogicOp. 565bd8deadSopenharmony_ci 575bd8deadSopenharmony_ci The value of boolean parameter LOGIC_OP (specified by Enable and 585bd8deadSopenharmony_ci Disable, and queried with IsEnabled) has no affect on blending, even 595bd8deadSopenharmony_ci when the blend equation is specified as LOGIC_OP. 605bd8deadSopenharmony_ci 615bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ci None 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests) 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci None 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ciAdditions to the GLX Specification 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ci None 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ciGLX Protocol 745bd8deadSopenharmony_ci 755bd8deadSopenharmony_ci None 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ciDependencies on EXT_blend_minmax 785bd8deadSopenharmony_ci 795bd8deadSopenharmony_ci If this extension is supported, but EXT_blend_minmax is not, then 805bd8deadSopenharmony_ci this extension effectively adds the procedure BlendEquationEXT, its 815bd8deadSopenharmony_ci parameter FUNC_ADD_EXT, and the query target BLEND_EQUATION_EXT, as 825bd8deadSopenharmony_ci described in EXT_blend_minmax. It is therefore as though 835bd8deadSopenharmony_ci EXT_blend_minmax were also supported, except that equations MIN_EXT 845bd8deadSopenharmony_ci and MAX_EXT are not supported. 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ciErrors 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ci INVALID_ENUM is generated by BlendEquationEXT if its single parameter 895bd8deadSopenharmony_ci is not FUNC_ADD_EXT, MIN_EXT, MAX_EXT, FUNC_SUBTRACT_EXT, 905bd8deadSopenharmony_ci FUNC_REVERSE_SUBTRACT_EXT, or LOGIC_OP. 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ci INVALID_OPERATION is generated if BlendEquationEXT is executed between 935bd8deadSopenharmony_ci the execution of Begin and the corresponding execution to End. 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ciNew State 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ci Get Value Get Command Type Initial Value Attribute 985bd8deadSopenharmony_ci --------- ----------- ---- ------------- --------- 995bd8deadSopenharmony_ci BLEND_EQUATION_EXT GetIntegerv Z6 FUNC_ADD_EXT color-buffer 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ciNew Implementation Dependent State 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci None 104