Fix MSAA on windows
commit02a2e2d381ed5089d7ab613aec9960616739dfe8
authorhendrikw <hendrikw@chromium.org>
Wed, 25 Feb 2015 02:56:09 +0000 (24 18:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 02:57:15 +0000 (25 02:57 +0000)
treebf83e66b3c06559a015306a5523b8ff328e036d6
parent98ac98f2e5ab1766c9850b5d9a424f47bdf10205
Fix MSAA on windows

MSAA would brake on windows because skia creates a BGRA8 internal format render
buffer, which we didn't support on windows.

We were turning on BGRA8_EXT for render buffers when we had
https://www.opengl.org/registry/specs/EXT/bgra.txt, this is a desktop spec that doesn't mention BGRA8_EXT
for render buffers, but we're assuming that it should support it.

I've added the condition that BGRA8 is supported for ANGLE as well as GL_EXT_bgra, and a couple test
to confirm this.

BUG=460567

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

Cr-Commit-Position: refs/heads/master@{#317958}
gpu/command_buffer/service/feature_info.cc
gpu/command_buffer/service/feature_info_unittest.cc