1Name 2 3 NV_bgr 4 5Name Strings 6 7 GL_NV_bgr 8 9Contributors 10 11 Koji Ashida, NVIDIA 12 Greg Prisament, NVIDIA 13 Greg Roth, NVIDIA 14 15Contact 16 17 Greg Roth (groth 'at' nvidia.com) 18 19Version 20 21 Last Modified: 07 Jan 2013 22 NVIDIA Revision: 3 23 24Number 25 26 OpenGL ES Extension #135 27 28Status 29 30 Complete. 31 32Dependencies 33 34 OpenGL ES 2.0 is required. 35 36 Written against the OpenGL ES 2.0.25 specification 37 38 This extension interacts trivially with NV_texture_array. 39 40Overview 41 42 NV_bgr extends the list of color formats used in texture images 43 and reading pixels. Specifically, it adds color formats with BGR 44 ordering of color channels. 45 46New Tokens 47 48 Accepted by the <internalformat> and <format> parameter of 49 ReadPixels, TexImage2D, TexSubImage2D, TexImage3DNV, and 50 TexSubImage3DNV: 51 52 BGR_NV 0x80E0 53 54Changes to Chapter 3 of the OpenGL ES 2.0.25 Specification (Rasterization) 55 56 Changes to Section 3.6.2 "Transfer of Pixel Rectangles" 57 58 Add the following entries to Table 3.3 "TexImage2D and ReadPixels 59 formats": 60 61 Format Name Element Meaning and Order Target Buffer 62 ----------- -------------------------- --------------- 63 BGR_NV B,G,R Color 64 65 Add the following entries to Table 3.4 "Valid pixel format and type 66 combinations": 67 68 Internal 69 Format Type Bytes per Pixel 70 -------- ---------------------- --------------- 71 BGR_NV UNSIGNED_BYTE 3 72 73Interactions with NV_texture_array 74 75 If NV_texture_array is not supported, ignore references to 76 TexImage3DNV and TexSubImage3DNV. 77 78Revision History 79 80 Rev. Date Author Changes 81 ---- ------------ --------- ------------------------------------- 82 3 07 Jan 2013 groth Fix minor suffix mistake 83 2 23 Oct 2012 groth Formatting changed. Additional tables. 84 1 03 June 2008 kashida First draft written based on EXT_bgra. 85 86