15bd8deadSopenharmony_ci 25bd8deadSopenharmony_ciName 35bd8deadSopenharmony_ci 45bd8deadSopenharmony_ci SUN_convolution_border_modes 55bd8deadSopenharmony_ci 65bd8deadSopenharmony_ciName Strings 75bd8deadSopenharmony_ci 85bd8deadSopenharmony_ci GL_SUN_convolution_border_modes 95bd8deadSopenharmony_ci 105bd8deadSopenharmony_ciContact 115bd8deadSopenharmony_ci 125bd8deadSopenharmony_ci Ron Bielaski, Sun (Ron.Bielaski 'at' eng.sun.com) 135bd8deadSopenharmony_ci Jack Middleton, Sun (Jack.Middleton 'at' eng.sun.com) 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ciStatus 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ci Shipping 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciVersion 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci $Date: 1999/12/28 01:40:37 $ $Revision: 1.3 $ 225bd8deadSopenharmony_ci SUN Date: 1999/06/26 05:05:47 Revision: 1.3 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ciNumber 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ci 182 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ciDependencies 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ci EXT_convolution is required 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ciOverview 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ci This extension provides an additional border mode for the 355bd8deadSopenharmony_ci EXT_convolution extension. 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ciNew Procedures and Functions 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci None 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ciNew Tokens 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ci Accepted by the <param> parameter of ConvolutionParameteriEXT, 445bd8deadSopenharmony_ci and ConvolutionParameterfEXT, and by the <params> parameter of 455bd8deadSopenharmony_ci ConvolutionParameterivEXT and ConvolutionParameterfvEXT, when the 465bd8deadSopenharmony_ci <pname> parameter is CONVOLUTION_BORDER_MODE_EXT: 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci WRAP_BORDER_SUN 0x81D4 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.2 Specification (OpenGL Operation) 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci None 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.2 Specification (Rasterization) 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci The description of the convolution border mode is replaced with 575bd8deadSopenharmony_ci the following: 585bd8deadSopenharmony_ci 595bd8deadSopenharmony_ci The convolution border mode for a specific convolution filter is 605bd8deadSopenharmony_ci specified using ConvolutionParameteriEXT with the <target> 615bd8deadSopenharmony_ci parameter set to the name of the filter, the <pname> parameter 625bd8deadSopenharmony_ci set to CONVOLUTION_BORDER_MODE_EXT, and <param> set to one of 635bd8deadSopenharmony_ci REDUCE_EXT, IGNORE_BORDER_HP, CONSTANT_BORDER_HP, 645bd8deadSopenharmony_ci WRAP_BORDER_SUN, or REPLICATE_BORDER_HP. 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ci If the convolution border mode is WRAP_BORDER_SUN, the output image 675bd8deadSopenharmony_ci has the same dimensions as the source image, and the source image is 685bd8deadSopenharmony_ci assumed to be continuously wrapped in both x and y directions. 695bd8deadSopenharmony_ci Therefore, source image pixels in the Cw columns on the right edge 705bd8deadSopenharmony_ci are used in the convolution computation for the Cw columns on the 715bd8deadSopenharmony_ci left edge of the image, and vice versa. Similarly, source image 725bd8deadSopenharmony_ci pixels in the Ch rows on the top of the image are used in the 735bd8deadSopenharmony_ci convolution computation for the Ch rows on the bottom of the 745bd8deadSopenharmony_ci image and vice versa. 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations 775bd8deadSopenharmony_ciand the Frame buffer) 785bd8deadSopenharmony_ci 795bd8deadSopenharmony_ci None 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.2 Specification (Special Functions) 825bd8deadSopenharmony_ci 835bd8deadSopenharmony_ci None 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.2 Specification (State and State Requests) 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ci None 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ciAdditions to the GLX / WGL / AGL Specifications 905bd8deadSopenharmony_ci 915bd8deadSopenharmony_ci None 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ciGLX Protocol 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ci No new protocol is needed. 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ciDependencies on EXT_convolution 985bd8deadSopenharmony_ci 995bd8deadSopenharmony_ci EXT_convolution is required. This extension adds capability to 1005bd8deadSopenharmony_ci the convolution operations defined in that extension. 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ciErrors 1035bd8deadSopenharmony_ci 1045bd8deadSopenharmony_ci INVALID_ENUM is generated if ConvolutionParameterivEXT or 1055bd8deadSopenharmony_ci ConvolutionParameterfvEXT parameter <pname> is not 1065bd8deadSopenharmony_ci CONVOLUTION_FILTER_SCALE_EXT, CONVOLUTION_FILTER_BIAS_EXT, 1075bd8deadSopenharmony_ci CONVOLUTION_BORDER_MODE_EXT, or CONVOLUTION_BORDER_COLOR_HP. 1085bd8deadSopenharmony_ci 1095bd8deadSopenharmony_ci INVALID_ENUM is generated if ConvolutionParameteriEXT, 1105bd8deadSopenharmony_ci ConvolutionParameterfEXT, ConvolutionParameterivEXT, or 1115bd8deadSopenharmony_ci ConvolutionParameterfvEXT parameter <pname> is 1125bd8deadSopenharmony_ci CONVOLUTION_BORDER_MODE_EXT and parameter <params> is 1135bd8deadSopenharmony_ci not one of REDUCE_EXT, IGNORE_BORDER_HP, CONSTANT_BORDER_HP, 1145bd8deadSopenharmony_ci WRAP_BORDER_SUN, or REPLICATE_BORDER_HP. 1155bd8deadSopenharmony_ci 1165bd8deadSopenharmony_ci INVALID_ENUM is generated if GetConvolutionParameterivEXT or 1175bd8deadSopenharmony_ci GetConvolutionParameterfvEXT parameter <pname> is not 1185bd8deadSopenharmony_ci CONVOLUTION_FILTER_SCALE_EXT, CONVOLUTION_FILTER_BIAS_EXT, 1195bd8deadSopenharmony_ci CONVOLUTION_BORDER_MODE_EXT, CONVOLUTION_FORMAT_EXT, 1205bd8deadSopenharmony_ci CONVOLUTION_WIDTH_EXT, CONVOLUTION_HEIGHT_EXT, 1215bd8deadSopenharmony_ci MAX_CONVOLUTION_WIDTH_EXT, MAX_CONVOLUTION_HEIGHT_EXT, 1225bd8deadSopenharmony_ci or CONVOLUTION_BORDER_COLOR_HP. 1235bd8deadSopenharmony_ci 1245bd8deadSopenharmony_ciNew State 1255bd8deadSopenharmony_ci 1265bd8deadSopenharmony_ci None 1275bd8deadSopenharmony_ci 1285bd8deadSopenharmony_ciNew Implementation Dependent State 1295bd8deadSopenharmony_ci 1305bd8deadSopenharmony_ci None 1315bd8deadSopenharmony_ciRevision History 1325bd8deadSopenharmony_ci 1335bd8deadSopenharmony_ci 6/24/99 - Added fields from the new extension template. 1345bd8deadSopenharmony_ci 135