Add CHROMIUM_ycbcr_422_image extension.
commita93c58151c01a8ccc6d98697f04c851f8992ef92
authordcastagna <dcastagna@chromium.org>
Wed, 26 Aug 2015 22:08:34 +0000 (26 15:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 22:09:05 +0000 (26 22:09 +0000)
tree50fe61c94e3480631e4b7f4972de24971c1f3ea1
parentc87708cc6a80da8c8da51e91b23c19deb213f525
Add CHROMIUM_ycbcr_422_image extension.

Add an extension that provides a method for GL to process images that
are defined in '2vuy' video format.

GL_YCRCR_422_CHROMIUM <internalformat> as been added and it is an accepted
value when creating an image if the extension is supported.

This extension maps to GL_APPLE_ycbcr_422 and will allow us to determine if
we can use IOSurfaces with that format.

BUG=524582

Review URL: https://codereview.chromium.org/1305153005

Cr-Commit-Position: refs/heads/master@{#345693}
13 files changed:
gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt [new file with mode: 0644]
gpu/GLES2/gl2extchromium.h
gpu/command_buffer/build_gles2_cmd_buffer.py
gpu/command_buffer/common/capabilities.cc
gpu/command_buffer/common/capabilities.h
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
gpu/command_buffer/service/feature_info.cc
gpu/command_buffer/service/feature_info.h
gpu/command_buffer/service/feature_info_unittest.cc
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
gpu/command_buffer/tests/gl_unittest.cc
ui/gl/gl_bindings.h