New issue
Advanced search Search tips

Issue 674357 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocking:
issue 682075



Sign in to add a comment

(Qualcomm) Resizing canvas on WebGL 2 causes INVALID_ENUM

Project Member Reported by kainino@chromium.org, Dec 15 2016

Issue description

Chrome Version: 57.0.2952.0
OS: Android 7.1, Nexus 6P and Google Pixel

WebGL 2 conformance tests which resize the canvas, such as:
https://www.khronos.org/registry/webgl/sdk/tests/conformance/canvas/rapid-resizing.html?webglVersion=2

will fail with GL_INVALID_ENUM, upon context state restoration on trying to restore the framebuffer bindings for GL_{DRAW,READ}_FRAMEBUFFER.

This is due to the gpu driver bug workaround "ES3 MSAA is broken on Qualcomm" which disables GL_CHROMIUM_framebuffer_multisample.

I'm fixing this error (which should allow many, many more tests to pass), but multisampled framebuffers will continue to be disabled in WebGL 2 on Qualcomm. We need to get this fixed on the Qualcomm side so we can remove the workaround on some platforms.

See also:
 Issue 449116 
 Issue 471200 
Issue 612474
 Issue 655432 
 
Description: Show this description
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/99c05525dbe876d59c7997c4821d1f4c4092c548

commit 99c05525dbe876d59c7997c4821d1f4c4092c548
Author: kainino <kainino@chromium.org>
Date: Thu Dec 15 18:48:04 2016

Allow GL_{DRAW,READ}_FRAMEBUFFER on OpenGL ES3 without CHROMIUM_framebuffer_multisample

Even if GL_CHROMIUM_framebuffer_multisample isn't available (such as on Qualcomm), this allows
glBindFramebuffer(GL_{DRAW,READ}_FRAMEBUFFER, ...) on ES3 command buffer
without throwing GL_INVALID_ENUM.

BUG= 674357 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2576273002
Cr-Commit-Position: refs/heads/master@{#438881}

[modify] https://crrev.com/99c05525dbe876d59c7997c4821d1f4c4092c548/gpu/command_buffer/client/gles2_implementation.cc

Status: Fixed (was: Started)
Blocking: 682075
Components: -Internals>GPU>WebGL Blink>WebGL

Sign in to add a comment