commit | 81bf40a0a17d3150fd5890be9921e9926bd8bdf9 | [log] [tgz] |
---|---|---|
author | Kenneth Russell <kbr@chromium.org> | Mon Oct 02 22:24:28 2017 |
committer | Kenneth Russell <kbr@chromium.org> | Mon Oct 02 22:24:28 2017 |
tree | 7b07ac23a9775fb7efb1a2f435fe401331b2578b | |
parent | 4ac23273c5ea12378187c19616e3b1071da8759c [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 TBR=zmo@chromium.org (cherry picked from commit 73ac8f4a66c057b6b22a1c2c6e042c77ef39450d) 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-Original-Commit-Position: refs/heads/master@{#504568} Reviewed-on: https://chromium-review.googlesource.com/696284 Cr-Commit-Position: refs/branch-heads/3202@{#554} Cr-Branched-From: fa6a5d87adff761bc16afc5498c3f5944c1daa68-refs/heads/master@{#499098}
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 .