Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Issue 1605323004: Check if internal_format is valid for GenerateMipmap(). (Closed)

Created:
4 years, 11 months ago by Zhenyao Mo
Modified:
4 years, 11 months ago
Reviewers:
piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, Ken Russell (switch to Gerrit), bajones, vmiura, qiankun
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check if internal_format is valid for GenerateMipmap(). BUG=429053 TEST=gpu_unittests,webgl2_conformance R=piman@chromium.org Committed: https://crrev.com/33040da405658793aa7b248e8ea6e292fad46193 Cr-Commit-Position: refs/heads/master@{#370562}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -31 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 chunk +68 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_autogen.h View 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 2 chunks +76 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_autogen.h View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 3 chunks +34 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 2 chunks +2 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 5 chunks +25 lines, -16 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 11 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Zhenyao Mo
piman: PTAL Note that I only enable the affected test on Linux. That's because I ...
4 years, 11 months ago (2016-01-20 22:22:38 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605323004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605323004/1
4 years, 11 months ago (2016-01-20 22:25:21 UTC) #3
piman
lgtm https://codereview.chromium.org/1605323004/diff/1/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1605323004/diff/1/gpu/command_buffer/service/texture_manager.cc#newcode599 gpu/command_buffer/service/texture_manager.cc:599: if (feature_info->IsES3Enabled()) { nit: I think you should ...
4 years, 11 months ago (2016-01-20 23:03:51 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/1605323004/diff/1/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1605323004/diff/1/gpu/command_buffer/service/texture_manager.cc#newcode599 gpu/command_buffer/service/texture_manager.cc:599: if (feature_info->IsES3Enabled()) { On 2016/01/20 23:03:51, piman (Slow to ...
4 years, 11 months ago (2016-01-20 23:25:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605323004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605323004/20001
4 years, 11 months ago (2016-01-20 23:27:25 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-21 02:13:48 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/33040da405658793aa7b248e8ea6e292fad46193 Cr-Commit-Position: refs/heads/master@{#370562}
4 years, 11 months ago (2016-01-21 02:15:00 UTC) #11
alancutter (OOO until 2018)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1619453002/ by alancutter@chromium.org. ...
4 years, 11 months ago (2016-01-21 04:04:40 UTC) #12
Zhenyao Mo
4 years, 11 months ago (2016-01-21 22:02:38 UTC) #13
Message was sent while issue was closed.
On 2016/01/21 04:04:40, alancutter wrote:
> A revert of this CL (patchset #2 id:20001) has been created in
> https://codereview.chromium.org/1619453002/ by mailto:alancutter@chromium.org.
> 
> The reason for reverting is: Broke the following webkit_tests on all
platforms:
> virtual/gpu/fast/canvas/canvas-imageSmoothingQuality.html
> virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-pixel.html.

After some digging, it is the BGRA (!) format that I didn't include in the
texture_unsized_internal_format validator.

Powered by Google App Engine
This is Rietveld 408576698