15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci SGIX_interlace 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_SGIX_interlace 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1995/02/22 20:58:22 $ $Revision: 1.2 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 45 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci None. 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci This extension provides a way to interlace rows of pixels when 245bd8deadSopenharmony_ci rasterizing pixel rectangles, and loading texture images. In this 255bd8deadSopenharmony_ci context, interlacing means skiping over rows of pixels or texels 265bd8deadSopenharmony_ci in the destination. This is useful for dealing with video data 275bd8deadSopenharmony_ci since a single frame of video is typically composed from two images 285bd8deadSopenharmony_ci or fields: one image specifying the data for even rows of the frame 295bd8deadSopenharmony_ci and the other image specifying the data for odd rows of the frame. 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciNew Procedures and Functions 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci None. 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ciNew Tokens 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci Accepted by the <cap> parameter of of Enable, Disable, IsEnabled, 385bd8deadSopenharmony_ci and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, 395bd8deadSopenharmony_ci GetDoublev: 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ci INTERLACE_SGIX 0x8094 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation) 445bd8deadSopenharmony_ci 455bd8deadSopenharmony_ci None. 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization) 485bd8deadSopenharmony_ci 495bd8deadSopenharmony_ci The specification of interlace operation is added the GL Specification 505bd8deadSopenharmony_ci in section 3.6.3 "Rasterization of Pixel Rectangles", immediately 515bd8deadSopenharmony_ci following the operations described by EXT_histogram, and immediately 525bd8deadSopenharmony_ci prior to the subsection "Final Conversion". 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ci The interlacing of rows of pixels is enabled or disabled with Enable or 555bd8deadSopenharmony_ci Disable using the symbolic constant INTERLACE_SGIX. If INTERLACE_SGIX 565bd8deadSopenharmony_ci is enabled, then all of the groups which belong to a row m are treated 575bd8deadSopenharmony_ci as if they belonged to the row 2 * m. If the source image has a height 585bd8deadSopenharmony_ci of h rows, this effectively expands the height of the image to 2 * h - 1 595bd8deadSopenharmony_ci rows. After interlacing, only every other row of the image is defined. 605bd8deadSopenharmony_ci If the interlaced pixel rectangle is rasterized to the framebuffer, then 615bd8deadSopenharmony_ci only these rows are converted to fragments. If the interlaced pixel 625bd8deadSopenharmony_ci rectangle is a texture image, then only these rows are written to texure 635bd8deadSopenharmony_ci memory. 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci In cases where errors can result from the specification of invalid 665bd8deadSopenharmony_ci image dimensions, it is the resulting dimensions that are tested, not 675bd8deadSopenharmony_ci the dimensions of the source image. (A specific example is TexImage2D, 685bd8deadSopenharmony_ci which specifies constraints for image dimensions. Even if TexImage2D 695bd8deadSopenharmony_ci is called with a null pixel pointer, the dimensions of the resulting 705bd8deadSopenharmony_ci texture image are those that would result from the effective expansion 715bd8deadSopenharmony_ci of the specified image due to interlacing.) 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations 745bd8deadSopenharmony_ciand the Frame Buffer) 755bd8deadSopenharmony_ci 765bd8deadSopenharmony_ci In section 4.3 "Drawing, Reading, and Copying Pixels" 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ci INTERLACE_SGIX has no effect on the operation of ReadPixels. 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions) 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci None. 835bd8deadSopenharmony_ci 845bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests) 855bd8deadSopenharmony_ci 865bd8deadSopenharmony_ci None. 875bd8deadSopenharmony_ci 885bd8deadSopenharmony_ciAdditions to the GLX Specification 895bd8deadSopenharmony_ci 905bd8deadSopenharmony_ci None. 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ciErrors 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci None. 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ciNew State 975bd8deadSopenharmony_ci 985bd8deadSopenharmony_ci Get Value Get Command Type Initial Value Attribute 995bd8deadSopenharmony_ci --------- ----------- ---- ------------- --------- 1005bd8deadSopenharmony_ci INTERLACE_SGIX IsEnabled B False pixel/enable 1015bd8deadSopenharmony_ci 1025bd8deadSopenharmony_ciNew Implementation Dependent State 1035bd8deadSopenharmony_ci 1045bd8deadSopenharmony_ci None. 105