15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_abgr 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_EXT_abgr 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci $Date: 1995/03/31 04:40:18 $ $Revision: 1.10 $ 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciNumber 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci 1 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciDependencies 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci None 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciOverview 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci EXT_abgr extends the list of host-memory color formats. Specifically, 245bd8deadSopenharmony_ci it provides a reverse-order alternative to image format RGBA. The ABGR 255bd8deadSopenharmony_ci component order matches the cpack Iris GL format on big-endian machines. 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ciNew Procedures and Functions 285bd8deadSopenharmony_ci 295bd8deadSopenharmony_ci None 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciNew Tokens 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci Accepted by the <format> parameter of DrawPixels, GetTexImage, 345bd8deadSopenharmony_ci ReadPixels, TexImage1D, and TexImage2D: 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci ABGR_EXT 0x8000 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 One entry is added to table 3.5 (DrawPixels and ReadPixels formats). 455bd8deadSopenharmony_ci The new table is: 465bd8deadSopenharmony_ci 475bd8deadSopenharmony_ci Target 485bd8deadSopenharmony_ci Name Type Elements Buffer 495bd8deadSopenharmony_ci ---- ---- -------- ------ 505bd8deadSopenharmony_ci COLOR_INDEX Index Color Index Color 515bd8deadSopenharmony_ci STENCIL_INDEX Index Stencil value Stencil 525bd8deadSopenharmony_ci DEPTH_COMPONENT Component Depth value Depth 535bd8deadSopenharmony_ci RED Component R Color 545bd8deadSopenharmony_ci GREEN Component G Color 555bd8deadSopenharmony_ci BLUE Component B Color 565bd8deadSopenharmony_ci ALPHA Component A Color 575bd8deadSopenharmony_ci RGB Component R, G, B Color 585bd8deadSopenharmony_ci RGBA Component R, G, B, A Color 595bd8deadSopenharmony_ci LUMINANCE Component Luminance value Color 605bd8deadSopenharmony_ci LUMINANCE_ALPHA Component Luminance value, A Color 615bd8deadSopenharmony_ci ABGR_EXT Component A, B, G, R Color 625bd8deadSopenharmony_ci 635bd8deadSopenharmony_ci Table 3.5: DrawPixels and ReadPixels formats. The third column 645bd8deadSopenharmony_ci gives a description of and the number and order of elements in a 655bd8deadSopenharmony_ci group. 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations 685bd8deadSopenharmony_ciand the Framebuffer) 695bd8deadSopenharmony_ci 705bd8deadSopenharmony_ci The new format is added to the discussion of Obtaining Pixels from the 715bd8deadSopenharmony_ci Framebuffer. It should read " If the <format> is one of RED, GREEN, 725bd8deadSopenharmony_ci BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and 735bd8deadSopenharmony_ci the GL is in color index mode, then the color index is obtained." 745bd8deadSopenharmony_ci 755bd8deadSopenharmony_ci The new format is added to the discussion of Index Lookup. It should 765bd8deadSopenharmony_ci read "If <format> is one of RED, GREEN, BLUE, ALPHA, RGB, RGBA, 775bd8deadSopenharmony_ci ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, then the index is used to 785bd8deadSopenharmony_ci reference 4 tables of color components: PIXEL_MAP_I_TO_R, 795bd8deadSopenharmony_ci PIXEL_MAP_I_TO_G, PIXEL_MAP_I_TO_B, and PIXEL_MAP_I_TO_A." 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 825bd8deadSopenharmony_ci 835bd8deadSopenharmony_ci None 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests) 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ci None 885bd8deadSopenharmony_ci 895bd8deadSopenharmony_ciAdditions to the GLX Specification 905bd8deadSopenharmony_ci 915bd8deadSopenharmony_ci None 925bd8deadSopenharmony_ci 935bd8deadSopenharmony_ciGLX Protocol 945bd8deadSopenharmony_ci 955bd8deadSopenharmony_ci One entry is added to tables 1 and 5 in the GLX Protocol Specification: 965bd8deadSopenharmony_ci 975bd8deadSopenharmony_ci format encoding 985bd8deadSopenharmony_ci ------ -------- 995bd8deadSopenharmony_ci GL_ABGR_EXT 0x8000 1005bd8deadSopenharmony_ci 1015bd8deadSopenharmony_ci Table A.2 is also extended: 1025bd8deadSopenharmony_ci 1035bd8deadSopenharmony_ci format nelements 1045bd8deadSopenharmony_ci ------ -------- 1055bd8deadSopenharmony_ci GL_ABGR_EXT 4 1065bd8deadSopenharmony_ci 1075bd8deadSopenharmony_ci 1085bd8deadSopenharmony_ciErrors 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ci None 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ciNew State 1135bd8deadSopenharmony_ci 1145bd8deadSopenharmony_ci None 1155bd8deadSopenharmony_ci 1165bd8deadSopenharmony_ciNew Implementation Dependent State 1175bd8deadSopenharmony_ci 1185bd8deadSopenharmony_ci None 119