Fix overlays on Mac OS when running on Core Profile.
commit53edb994e7ab4989bcf3aff160d9c88ca013027c
authorkbr <kbr@chromium.org>
Thu, 6 Aug 2015 01:16:29 +0000 (5 18:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 01:17:04 +0000 (6 01:17 +0000)
tree39fe3afdb799d8faae93b0bb152f8ad12bdda93c
parentb1ee16776c38e71dfecf783273bd535bea9b16e8
Fix overlays on Mac OS when running on Core Profile.

The command buffer service must advertise support for
EXT_texture_format_bgra8888 in order for GLImages to work. I scoured
the spec and extensions and it isn't obvious that this format is
supported, but it works and doesn't generate any GL errors (verified
by regenerating the GL bindings with --generate-dchecks).

Also fixed extensions string displayed in about:gpu when running on
core profile on Mac OS.

BUG=516840

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

Cr-Commit-Position: refs/heads/master@{#342039}
gpu/command_buffer/service/feature_info.cc
gpu/command_buffer/service/feature_info_unittest.cc
gpu/command_buffer/service/test_helper.cc
gpu/command_buffer/service/texture_manager_unittest.cc
gpu/config/gpu_info_collector.cc
gpu/config/gpu_info_collector_unittest.cc
ui/gl/gl_api_unittest.cc
ui/gl/gl_context.cc
ui/gl/gl_gl_api_implementation.cc
ui/gl/gl_implementation.cc
ui/gl/gl_implementation.h