Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt

Issue 1128933006: Update GL_CHROMIUM_image with support for compressed formats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Validate format against supported extensions. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
index e0ba0666b51800b71615e21f3321055404539717..7118391a94d94985e654d0630b35b9eb776d408f 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
@@ -8,7 +8,7 @@ Name Strings
Version
- Last Modifed Date: Oct 7, 2014
+ Last Modifed Date: May 13, 2015
Dependencies
@@ -45,8 +45,10 @@ New Procedures and Functions
INVALID_VALUE is generated if <width> or <height> is nonpositive.
- INVALID_ENUM is generated if <internalformat> is not one of
- R8, RGB, RGBA or BGRA_EXT.
+ INVALID_VALUE is generated if <internalformat> is not one of
+ R8, RGB, RGBA, BGRA_EXT, ATC_RGB_AMD, ATC_RGBA_INTERPOLATED_ALPHA_AMD,
+ COMPRESSED_RGB_S3TC_DXT1_EXT, COMPRESSED_RGBA_S3TC_DXT5_EXT or
+ ETC1_RGB8_OES.
void DestroyImageCHROMIUM(GLuint image_id)
@@ -64,6 +66,23 @@ Dependencies on ARB_texture_rg
If ARB_texture_rg is not supported:
* delete any reference to the R8 format.
+Dependencies on AMD_compressed_ATC_texture
+
+ If AMD_compressed_ATC_texture is not supported:
+ * delete any reference to the ATC_RGB_AMD and
+ ATC_RGBA_INTERPOLATED_ALPHA_AMD formats.
+
+Dependencies on EXT_texture_compression_s3tc
+
+ If EXT_texture_compression_s3tc is not supported:
+ * delete any reference to the COMPRESSED_RGB_S3TC_DXT1_EXT and
+ COMPRESSED_RGBA_S3TC_DXT5_EXT formats.
+
+Dependencies on OES_compressed_ETC1_RGB8_texture
+
+ If OES_compressed_ETC1_RGB8_texture is not supported:
+ * delete any reference to the ETC1_RGB8_OES format.
+
Errors
None.
@@ -79,3 +98,4 @@ Revision History
10/7/2014 Remove map/unmap API.
4/6/2015 Add BGRA_EXT format.
2/7/2015 Add R8 format.
+ 5/13/2015 Add compressed formats.
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698