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

Issue 2019453003: command_buffer: MAX/BASE_LEVEL fixes for GetTexParameter (Closed)

Created:
4 years, 6 months ago by Corentin Wallez
Modified:
4 years, 6 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

command_buffer: MAX/BASE_LEVEL fixes for GetTexParameter This fixes two bugs for GetTexParameter: - It seems the OSX OpenGL driver stores the levels on int16_t causing the large values used by some tests to overflow and return as negative numbers. This is fixed by getting the values from the command buffer state tracking. - This exposed a bug in the state tracking where the base / max levels weren't rounded correctly when specified as floats. BUG=483282 BUG=610153 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/6c2262abe85a3b1f03bf849ca670be2e505d34ec Cr-Commit-Position: refs/heads/master@{#396864}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Register a driver bug workaround #

Patch Set 3 : Fix JSON typos #

Total comments: 4

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -4 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/service/gles2_cmd_decoder.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Corentin Wallez
PTAL, fixes one expectation on OSX.
4 years, 6 months ago (2016-05-27 19:07:28 UTC) #3
Zhenyao Mo
Mostly looks good with one request. Also, could you please use the BUG id 610153? ...
4 years, 6 months ago (2016-05-27 22:33:44 UTC) #4
Corentin Wallez
On 2016/05/27 at 22:33:44, zmo wrote: > Mostly looks good with one request. > > ...
4 years, 6 months ago (2016-05-30 20:32:10 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/2019453003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2019453003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9284 gpu/command_buffer/service/gles2_cmd_decoder.cc:9284: return; "return" inside the if statement, and "break" here ...
4 years, 6 months ago (2016-05-31 01:42:48 UTC) #7
Corentin Wallez
On 2016/05/31 at 01:42:48, zmo wrote: > https://codereview.chromium.org/2019453003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/2019453003/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9284 ...
4 years, 6 months ago (2016-05-31 13:54:27 UTC) #8
Zhenyao Mo
lgtm
4 years, 6 months ago (2016-05-31 15:43:31 UTC) #9
Corentin Wallez
On 2016/05/31 at 15:43:31, zmo wrote: > lgtm thanks
4 years, 6 months ago (2016-05-31 15:45:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019453003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019453003/60001
4 years, 6 months ago (2016-05-31 15:45:35 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-31 18:12:46 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 18:13:59 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6c2262abe85a3b1f03bf849ca670be2e505d34ec
Cr-Commit-Position: refs/heads/master@{#396864}

Powered by Google App Engine
This is Rietveld 408576698