summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Leech <devrel@oddhack.org>2017-06-21 21:36:31 -0700
committerGitHub <noreply@github.com>2017-06-21 21:36:31 -0700
commit5b8692cb344671a5f25153c425a307cc54354cd3 (patch)
tree9031f53ac3da7b3f229e0ead1459281a91f7b5c7
parent76bbd9f0262d4a81d56d3b336dc9737d01ac6f07 (diff)
parent9095b3463e3b72b7123a030c28b4c29eed0c560b (diff)
downloadopengl-registry-5b8692cb344671a5f25153c425a307cc54354cd3.zip
opengl-registry-5b8692cb344671a5f25153c425a307cc54354cd3.tar.xz
Merge pull request #72 from jhelferty-nv/master
Add NV_texture_rectangle_compressed
-rw-r--r--extensions/NV/NV_texture_rectangle_compressed.txt95
-rw-r--r--extensions/glext.php2
2 files changed, 97 insertions, 0 deletions
diff --git a/extensions/NV/NV_texture_rectangle_compressed.txt b/extensions/NV/NV_texture_rectangle_compressed.txt
new file mode 100644
index 0000000..c6e3332
--- /dev/null
+++ b/extensions/NV/NV_texture_rectangle_compressed.txt
@@ -0,0 +1,95 @@
+Name
+
+ NV_texture_rectangle_compressed
+
+Name Strings
+
+ GL_NV_texture_rectangle_compressed
+
+Contact
+
+ James Helferty, NVIDIA Corporation (jhelferty 'at' nvidia.com)
+
+Contributors
+
+ Pat Brown
+
+Status
+
+ Complete
+
+Version
+
+ Last Modified: Jun 21, 2017
+ Revision: 1
+
+Number
+
+ OpenGL Extension #509
+
+Dependencies
+
+ This extension is written against the OpenGL 4.5 specification (Core
+ Profile), dated October 24, 2016
+
+ OpenGL 1.3 or ARB_texture_compression is required.
+
+ OpenGL 3.1, NV_texture_rectangle, EXT_texture_rectangle or
+ ARB_texture_rectangle is required.
+
+Overview
+
+ This extension allows applications to use compressed texture formats
+ with the TEXTURE_RECTANGLE texture target, removing an old limitation
+ that prohibited such usage globally for rectangle textures.
+
+New Procedures and Functions
+
+ None
+
+New Tokens
+
+ None
+
+Modifications to the OpenGL 4.5 Specification (Core Profile)
+
+ Remove the following from Section 8.7 (Compressed Texture Images):
+
+ An INVALID_ENUM error is generated if the target parameter to any of
+ the CompressedTexImagenD commands is TEXTURE_RECTANGLE or PROXY_-
+ TEXTURE_RECTANGLE.
+
+ Remove "or target is TEXTURE_RECTANGLE" from the following error in Section
+ 8.7 (Compressed Texture Images):
+
+ An INVALID_OPERATION error is generated by CompressedTexImage2D if
+ internalformat is one of the EAC, ETC2, or RGTC formats and either
+ border is non-zero, or target is TEXTURE_RECTANGLE.
+
+ Remove the following from Section 8.7 (Compressed Texture Images):
+
+ An INVALID_ENUM error is generated by CompressedTexSubImage*D if target
+ is TEXTURE_RECTANGLE or PROXY_TEXTURE_RECTANGLE.
+
+ An INVALID_OPERATION error is generated by CompressedTextureSubImage*D
+ if the effective target is TEXTURE_RECTANGLE.
+
+ An INVALID_ENUM error is generated by CompressedTex*SubImage1D if the
+ internal format of the texture is one of the specific compressed
+ formats.
+
+Issues
+
+ (1) What is the purpose of this extension?
+
+ RESOLVED: When the original NV_texture_rectangle extension was first
+ published, then-current GPUs were incapable of supporting compressed
+ textures with the TEXTURE_RECTANGLE_NV target. The rectangle texture
+ support in all current NVIDIA GPUs has no such limitation, and removing
+ this limitation allows applications to access compressed textures with
+ non-normalized texture coordinates.
+
+Revision History
+
+ Revision 1
+ - Initial revision
diff --git a/extensions/glext.php b/extensions/glext.php
index 342d2cc..337764f 100644
--- a/extensions/glext.php
+++ b/extensions/glext.php
@@ -953,4 +953,6 @@
</li>
<li value=508><a href="extensions/EXT/EXT_external_buffer.txt">GL_EXT_external_buffer</a>
</li>
+<li value=509><a href="extensions/NV/NV_texture_rectangle_compressed.txt">GL_NV_texture_rectangle_compressed</a>
+</li>
</ol>