gpu: Added the feature flag for GL_EXT_texture_rg to FeatureInfo
commit83f2fb58e46d0dfcb264a5859cd59ddd714a67d7
authorhendrikw <hendrikw@chromium.org>
Tue, 2 Dec 2014 03:30:40 +0000 (1 19:30 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Dec 2014 03:31:22 +0000 (2 03:31 +0000)
tree9f9c0b5193ade694333975bf6f603e4f9f571e2e
parent7b15ac05fa1e7be70ab1a8978d1c18b74610a677
gpu: Added the feature flag for GL_EXT_texture_rg to FeatureInfo

* GL_EXT_texture_rg & GL_ARB_texture_rg both add the extension GL_EXT_texture_rg
* validators for GL_RED_EXT and GL_RG_EXT added for textures and read pixels
* validators for GL_R8_EXT and GL_RG8_EXT added for render buffer
* format validators added for unsigned byte, float (if supported) and half float
  (if supported) added
* unit tests for EXT and ARB + validators
* unit test to confirm that the extension is available on actual hardware

BUG=435379

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

Cr-Commit-Position: refs/heads/master@{#306337}
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/test_helper.cc
ui/gl/gl_bindings.h