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

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

Issue 1068663002: gpu: More specific internalformat requirements for CreateImageCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 2974e43bd32b7d01d4384cb62c7011a90d07a660..645a3f42fc1aa3d6e749e5bf1ad7113935f77623 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt
@@ -14,6 +14,8 @@ Dependencies
OpenGL ES 2.0 is required.
+ EXT_texture_format_BGRA8888 affects the definition of this extension.
+
Overview
This extension defines a new resource type that is suitable for
@@ -43,7 +45,7 @@ New Procedures and Functions
INVALID_VALUE is generated if <width> or <height> is nonpositive.
INVALID_ENUM is generated if <internalformat> is not one of
- RGB or RGBA.
+ RGB, RGBA or GL_BGRA_EXT.
void DestroyImageCHROMIUM(GLuint image_id)
@@ -51,6 +53,11 @@ New Procedures and Functions
INVALID_OPERATION is generated if <image_id> is not a valid image id.
+Dependencies on EXT_texture_format_BGRA8888
+
+ If EXT_texture_format_BGRA8888 is not supported:
+ * delete any reference to the GL_BGRA_EXT format.
+
Errors
None.
@@ -64,3 +71,4 @@ Revision History
5/9/2013 Documented the extension
4/30/2014 Moved usage flag to creation function.
10/7/2014 Remove map/unmap API.
+ 4/6/2015 Add GL_BGRA_EXT format.
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698