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

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_color_buffer_float.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: Check that framebuffers really are supported and add tests 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
« no previous file with comments | « no previous file | gpu/GLES2/gl2extchromium.h » ('j') | gpu/command_buffer/service/feature_info.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « no previous file | gpu/GLES2/gl2extchromium.h » ('j') | gpu/command_buffer/service/feature_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698