• Olli Etuaho's avatar
    Only enable ANGLE_multiview extension on request · c09f5e83
    Olli Etuaho authored
    The ANGLE_multiview extension was erroneously enabled by default if
    available in the GPU passthrough command buffer. This was visible as
    the GL_OVR_multiview preprocessor macro being defined in shaders even
    if the WEBGL_multiview extension was not enabled.
    
    This is now fixed so that the extension is only enabled when
    requested.
    
    BUG=864524
    TEST=WebGL conformance tests
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Ie6e684fb91af4bb50aac7027ee9f85cd4420fe37
    Reviewed-on: https://chromium-review.googlesource.com/1158569Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Cr-Commit-Position: refs/heads/master@{#580107}
    c09f5e83
gles2_cmd_decoder_passthrough.cc 81 KB