15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci NV_texture_rectangle_compressed 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_NV_texture_rectangle_compressed 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci James Helferty, NVIDIA Corporation (jhelferty 'at' nvidia.com) 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciContributors 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci Pat Brown 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciStatus 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci Complete 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciVersion 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci Last Modified: Jun 21, 2017 245bd8deadSopenharmony_ci Revision: 1 255bd8deadSopenharmony_ci 265bd8deadSopenharmony_ciNumber 275bd8deadSopenharmony_ci 285bd8deadSopenharmony_ci OpenGL Extension #509 295bd8deadSopenharmony_ci 305bd8deadSopenharmony_ciDependencies 315bd8deadSopenharmony_ci 325bd8deadSopenharmony_ci This extension is written against the OpenGL 4.5 specification (Core 335bd8deadSopenharmony_ci Profile), dated October 24, 2016 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ci OpenGL 1.3 or ARB_texture_compression is required. 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci OpenGL 3.1, NV_texture_rectangle, EXT_texture_rectangle or 385bd8deadSopenharmony_ci ARB_texture_rectangle is required. 395bd8deadSopenharmony_ci 405bd8deadSopenharmony_ciOverview 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ci This extension allows applications to use compressed texture formats 435bd8deadSopenharmony_ci with the TEXTURE_RECTANGLE texture target, removing an old limitation 445bd8deadSopenharmony_ci that prohibited such usage globally for rectangle textures. 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ciNew Procedures and Functions 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci None 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ciNew Tokens 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci None 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ciModifications to the OpenGL 4.5 Specification (Core Profile) 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci Remove the following from Section 8.7 (Compressed Texture Images): 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ci An INVALID_ENUM error is generated if the target parameter to any of 595bd8deadSopenharmony_ci the CompressedTexImagenD commands is TEXTURE_RECTANGLE or PROXY_- 605bd8deadSopenharmony_ci TEXTURE_RECTANGLE. 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci Remove "or target is TEXTURE_RECTANGLE" from the following error in Section 635bd8deadSopenharmony_ci 8.7 (Compressed Texture Images): 645bd8deadSopenharmony_ci 655bd8deadSopenharmony_ci An INVALID_OPERATION error is generated by CompressedTexImage2D if 665bd8deadSopenharmony_ci internalformat is one of the EAC, ETC2, or RGTC formats and either 675bd8deadSopenharmony_ci border is non-zero, or target is TEXTURE_RECTANGLE. 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ci Remove the following from Section 8.7 (Compressed Texture Images): 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ci An INVALID_ENUM error is generated by CompressedTexSubImage*D if target 725bd8deadSopenharmony_ci is TEXTURE_RECTANGLE or PROXY_TEXTURE_RECTANGLE. 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci An INVALID_OPERATION error is generated by CompressedTextureSubImage*D 755bd8deadSopenharmony_ci if the effective target is TEXTURE_RECTANGLE. 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ci An INVALID_ENUM error is generated by CompressedTex*SubImage1D if the 785bd8deadSopenharmony_ci internal format of the texture is one of the specific compressed 795bd8deadSopenharmony_ci formats. 805bd8deadSopenharmony_ci 815bd8deadSopenharmony_ciIssues 825bd8deadSopenharmony_ci 835bd8deadSopenharmony_ci (1) What is the purpose of this extension? 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ci RESOLVED: When the original NV_texture_rectangle extension was first 865bd8deadSopenharmony_ci published, then-current GPUs were incapable of supporting compressed 875bd8deadSopenharmony_ci textures with the TEXTURE_RECTANGLE_NV target. The rectangle texture 885bd8deadSopenharmony_ci support in all current NVIDIA GPUs has no such limitation, and removing 895bd8deadSopenharmony_ci this limitation allows applications to access compressed textures with 905bd8deadSopenharmony_ci non-normalized texture coordinates. 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ciRevision History 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci Revision 1 955bd8deadSopenharmony_ci - Initial revision 96