summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-18 11:20:04 +0000
committerbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-18 11:20:04 +0000
commitc01ab130e0a681458e0fee41d6261c7ea37e1743 (patch)
tree823ee340378891a9902a252a3267931b753dacff /gpu/GLES2
parent8be161672d8d89525050cb678ecc4ea554f18c00 (diff)
downloadchromium_src-c01ab130e0a681458e0fee41d6261c7ea37e1743.zip
chromium_src-c01ab130e0a681458e0fee41d6261c7ea37e1743.tar.gz
chromium_src-c01ab130e0a681458e0fee41d6261c7ea37e1743.tar.bz2
Add renderbuffer BGRA8 format extension and support in cmd buffer for desktop GL. This enables development of a canvas2d msaa flag on desktop systems that use BGRA for canvas2d.
BUG=308277 Review URL: https://codereview.chromium.org/27542003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r--gpu/GLES2/extensions/CHROMIUM/CHROMIUM_renderbuffer_format_BGRA8888.txt58
1 files changed, 58 insertions, 0 deletions
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_renderbuffer_format_BGRA8888.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_renderbuffer_format_BGRA8888.txt
new file mode 100644
index 0000000..75a1471
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_renderbuffer_format_BGRA8888.txt
@@ -0,0 +1,58 @@
+Name
+
+ CHROMIUM_renderbuffer_format_BGRA8888
+
+Name Strings
+
+ GL_CHROMIUM_renderbuffer_format_BGRA8888
+
+Version
+
+ Last Modifed Date: Oct 16, 2013
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+ GL_EXT_texture_format_BGRA8888 is required.
+
+Overview
+
+ EXT_texture_format_BGRA8888 adds a BGRA8_EXT as a legal internal texture
+ format. This extension also allows BGRA8_EXT as a renderbuffer internal
+ format. It is particularly useful when ANGLE_framebuffer_multisample or
+ a similar extension is also present as it allows creating a multisampled
+ BGRA8 renderbuffer that can be downsampled into a BGRA8 texture.
+
+New Tokens
+
+ None
+
+Additions to the OpenGL ES 2.0 Specification
+
+ Modifications to Table 4.5 (Renderbuffer image formats)
+
+ Add the following entry:
+ Sized Internal Format Renderable Type R bits G bits B bits A bits D bits S bits
+ ===================== =============== ====== ====== ====== ====== ====== ======
+ BGRA8_EXT color-renderable 8 8 8 8
+
+Interactions with GL_ANGLE_framebuffer_multisample
+
+ If ANGLE_framebuffer_multisample is also present then BGRA8_EXT is a
+ legal parameter to RenderbufferStrorageMultisampleANGLE.
+
+New Procedures and Functions
+
+ None
+
+Errors
+
+ None
+
+New State
+
+ None
+
+Revision History
+
+ 10/16/2013 Initial version