• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    NV_texture_rectangle_compressed
4
5Name Strings
6
7    GL_NV_texture_rectangle_compressed
8
9Contact
10
11    James Helferty, NVIDIA Corporation (jhelferty 'at' nvidia.com)
12
13Contributors
14
15    Pat Brown
16
17Status
18
19    Complete
20
21Version
22
23    Last Modified:      Jun 21, 2017
24    Revision:           1
25
26Number
27
28    OpenGL Extension #509
29
30Dependencies
31
32    This extension is written against the OpenGL 4.5 specification (Core
33    Profile), dated October 24, 2016
34
35    OpenGL 1.3 or ARB_texture_compression is required.
36
37    OpenGL 3.1, NV_texture_rectangle, EXT_texture_rectangle or
38    ARB_texture_rectangle is required.
39
40Overview
41
42    This extension allows applications to use compressed texture formats
43    with the TEXTURE_RECTANGLE texture target, removing an old limitation
44    that prohibited such usage globally for rectangle textures.
45
46New Procedures and Functions
47
48    None
49
50New Tokens
51
52    None
53
54Modifications to the OpenGL 4.5 Specification (Core Profile)
55
56    Remove the following from Section 8.7 (Compressed Texture Images):
57
58        An INVALID_ENUM error is generated if the target parameter to any of
59        the CompressedTexImagenD commands is TEXTURE_RECTANGLE or PROXY_-
60        TEXTURE_RECTANGLE.
61
62    Remove "or target is TEXTURE_RECTANGLE" from the following error in Section
63    8.7 (Compressed Texture Images):
64
65        An INVALID_OPERATION error is generated by CompressedTexImage2D if
66        internalformat is one of the EAC, ETC2, or RGTC formats and either
67        border is non-zero, or target is TEXTURE_RECTANGLE.
68
69    Remove the following from Section 8.7 (Compressed Texture Images):
70
71        An INVALID_ENUM error is generated by CompressedTexSubImage*D if target
72        is TEXTURE_RECTANGLE or PROXY_TEXTURE_RECTANGLE.
73
74        An INVALID_OPERATION error is generated by CompressedTextureSubImage*D
75        if the effective target is TEXTURE_RECTANGLE.
76
77        An INVALID_ENUM error is generated by CompressedTex*SubImage1D if the
78        internal format of the texture is one of the specific compressed
79        formats.
80
81Issues
82
83    (1) What is the purpose of this extension?
84
85    RESOLVED:  When the original NV_texture_rectangle extension was first
86    published, then-current GPUs were incapable of supporting compressed
87    textures with the TEXTURE_RECTANGLE_NV target.  The rectangle texture
88    support in all current NVIDIA GPUs has no such limitation, and removing
89    this limitation allows applications to access compressed textures with
90    non-normalized texture coordinates.
91
92Revision History
93
94    Revision 1
95    - Initial revision
96