Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float.txt |
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8e5ddd834f0de6608783a42f241c86ba4008110c |
--- /dev/null |
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float.txt |
@@ -0,0 +1,65 @@ |
+Name |
+ |
+ CHROMIUM_color_buffer_float |
+ |
+Name Strings |
+ |
+ GL_CHROMIUM_color_buffer_float |
+ |
+Version |
+ |
+ Last Modifed Date: February 6, 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 EXT_color_buffer_float on top of |
+ OpenGL ES 2.0. |
+ |
+ This extension enables rendering to floating point RGB(A) textures. When |
+ this extension is enabled: |
+ |
+ * The 32-bit floating point types GL_RGB32F and GL_RGBA32F become available |
+ as color-renderable internal formats. Textures created with type = FLOAT, |
+ which will have one of these internal formats, can be attached to |
+ framebuffer object color attachments for rendering. |
+ |
+ * GL_RGBA / GL_RGBA32F and GL_RGB / GL_RGB32F become allowable format / |
+ internalformat parameter pairs 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 these cases. |
+ |
+ Floating point RGB(A) textures may still be created also with unsized |
+ GL_RGB and GL_RGBA internal formats, but such textures will not be |
+ renderable. |
+ |
+New Tokens |
+ |
+ Accepted by the <internalformat> parameter of TexImage2D: |
+ |
+ GL_RGBA32F 0x8814 |
+ GL_RGB32F 0x8815 |
+ |
+New Procedures and Functions |
+ |
+ None. |
+ |
+Errors |
+ |
+ None. |
+ |
+New State |
+ |
+ None. |
+ |
+Revision History |
+ |
+ 2/6/2014 Documented the extension |
+ |