Use NV_draw_buffers to implement EXT_draw_buffers
NV_draw_buffers can be used in combination with GLES3.0 to emulate
EXT_draw_buffers. When GLES3.0 and NV_draw_buffers are present, but
native EXT_draw_buffers is not, the extension directive in shaders is
changed in ANGLE to make ESSL 1.00 shaders able to refer to
glFragData[n>0], and DrawBuffersEXT calls are directed to GLES3.0 core
DrawBuffers.
This enables the WEBGL_draw_buffers extension on Tegra K1. Performance
benefits are in the 5-25% range in demos that are able to render both
with and without the WebGL extension.
BUG=421882
TEST=WebGL conformance tests, gpu_unittests
Review URL: https://codereview.chromium.org/
640283003
Cr-Commit-Position: refs/heads/master@{#299272}