commit | 73ac8f4a66c057b6b22a1c2c6e042c77ef39450d | [log] [tgz] |
---|---|---|
author | Zhenyao Mo <zmo@chromium.org> | Wed Sep 27 03:17:24 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 27 03:17:24 2017 |
tree | be862f75de3a1debb2f0a997323374b73cb09d47 | |
parent | fc1d6d7b0604736c15b8178583856047b37f7a07 [diff] |
Handle invalid format/type in texture uploading when FlipY/PremultiplyAlpha is set. Currently if uploading from ArrayBuffer, NOTREACHED() will be hit in such situations and in Release build, after hitting NOTREACHED() statement, unintended code path is taken. BUG=765469 TEST=webgl_conformance R=kbr@chromium.org Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Change-Id: Icf1ab03723b6c13595bd6c4dbc4e5fa40fdf9d96 Reviewed-on: https://chromium-review.googlesource.com/685487 Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#504568}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .