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

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

Issue 139013008: Implement support for rendering to 32-bit float textures on ES3 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make TexSubImage validation agree with TexImage validation Created 6 years, 10 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_color_buffer_float_rgb.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float_rgb.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float_rgb.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f220088cc00a8091c49c3cc716c2229d4dd534f
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float_rgb.txt
@@ -0,0 +1,64 @@
+Name
+
+ CHROMIUM_color_buffer_float_rgb
+
+Name Strings
+
+ GL_CHROMIUM_color_buffer_float_rgb
+
+Version
+
+ Last Modifed Date: February 7, 2014
+
+Dependencies
+
+ This extension is written against the OpenGL ES 2.0 specification.
+
+ OpenGL ES 2.0 is required.
+
+ OES_texture_float is required.
+
+Overview
+
+ This extension implements a subset of ARB_color_buffer_float on top of
+ OpenGL ES 2.0.
+
+ This extension enables rendering to floating point RGB textures. When
+ this extension is enabled:
+
+ * The 32-bit floating point type GL_RGB32F becomes available as a
+ color-renderable internal format. Textures created with type = FLOAT,
+ and internal format GL_RGB32F, can be attached to framebuffer object
+ color attachments for rendering.
+
+ * GL_RGB / GL_RGB32F becomes an allowable format / internalformat parameter
+ pair for TexImage2D. The restriction in section 3.7.1 of the OpenGL ES
+ 2.0 spec that the internalformat parameter and format parameter of
+ TexImage2D must match is lifted for this case.
+
+ Floating point RGB textures may still be created also with the unsized
+ GL_RGB internal format, but whether such textures are renderable is not
+ guaranteed.
+
+New Tokens
+
+ Accepted by the <internalformat> parameter of TexImage2D:
+
+ GL_RGB32F 0x8815
+
+New Procedures and Functions
+
+ None.
+
+Errors
+
+ None.
+
+New State
+
+ None.
+
+Revision History
+
+ 2/7/2014 Documented the extension
+

Powered by Google App Engine
This is Rietveld 408576698