15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci NV_bgr 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_NV_bgr 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContributors 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Koji Ashida, NVIDIA 125bd8deadSopenharmony_ci Greg Prisament, NVIDIA 135bd8deadSopenharmony_ci Greg Roth, NVIDIA 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ciContact 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ci Greg Roth (groth 'at' nvidia.com) 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ciVersion 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ci Last Modified: 07 Jan 2013 225bd8deadSopenharmony_ci NVIDIA Revision: 3 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ciNumber 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ci OpenGL ES Extension #135 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ciStatus 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ci Complete. 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ciDependencies 335bd8deadSopenharmony_ci 345bd8deadSopenharmony_ci OpenGL ES 2.0 is required. 355bd8deadSopenharmony_ci 365bd8deadSopenharmony_ci Written against the OpenGL ES 2.0.25 specification 375bd8deadSopenharmony_ci 385bd8deadSopenharmony_ci This extension interacts trivially with NV_texture_array. 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ciOverview 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ci NV_bgr extends the list of color formats used in texture images 435bd8deadSopenharmony_ci and reading pixels. Specifically, it adds color formats with BGR 445bd8deadSopenharmony_ci ordering of color channels. 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ciNew Tokens 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci Accepted by the <internalformat> and <format> parameter of 495bd8deadSopenharmony_ci ReadPixels, TexImage2D, TexSubImage2D, TexImage3DNV, and 505bd8deadSopenharmony_ci TexSubImage3DNV: 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci BGR_NV 0x80E0 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ciChanges to Chapter 3 of the OpenGL ES 2.0.25 Specification (Rasterization) 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci Changes to Section 3.6.2 "Transfer of Pixel Rectangles" 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci Add the following entries to Table 3.3 "TexImage2D and ReadPixels 595bd8deadSopenharmony_ci formats": 605bd8deadSopenharmony_ci 615bd8deadSopenharmony_ci Format Name Element Meaning and Order Target Buffer 625bd8deadSopenharmony_ci ----------- -------------------------- --------------- 635bd8deadSopenharmony_ci BGR_NV B,G,R Color 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci Add the following entries to Table 3.4 "Valid pixel format and type 665bd8deadSopenharmony_ci combinations": 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci Internal 695bd8deadSopenharmony_ci Format Type Bytes per Pixel 705bd8deadSopenharmony_ci -------- ---------------------- --------------- 715bd8deadSopenharmony_ci BGR_NV UNSIGNED_BYTE 3 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ciInteractions with NV_texture_array 745bd8deadSopenharmony_ci 755bd8deadSopenharmony_ci If NV_texture_array is not supported, ignore references to 765bd8deadSopenharmony_ci TexImage3DNV and TexSubImage3DNV. 775bd8deadSopenharmony_ci 785bd8deadSopenharmony_ciRevision History 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci Rev. Date Author Changes 815bd8deadSopenharmony_ci ---- ------------ --------- ------------------------------------- 825bd8deadSopenharmony_ci 3 07 Jan 2013 groth Fix minor suffix mistake 835bd8deadSopenharmony_ci 2 23 Oct 2012 groth Formatting changed. Additional tables. 845bd8deadSopenharmony_ci 1 03 June 2008 kashida First draft written based on EXT_bgra. 855bd8deadSopenharmony_ci 86