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

Issue 1508953002: Implement helper functionalities for computing image size with ES3 settings. (Closed)

Created:
5 years ago by Zhenyao Mo
Modified:
5 years ago
CC:
chromium-reviews, piman+watch_chromium.org, yunchao, Ken Russell (switch to Gerrit), bajones, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement helper functionalities for computing image size with ES3 settings. This will be used in ReadPixels, Tex{Sub}Image* in followup CLs. BUG=429053, 563714 TEST=gpu_unittests R=piman@chromium.org Committed: https://crrev.com/e0b58d1f24bce6a6f19dcbe5e857e3731d0631ca Cr-Commit-Position: refs/heads/master@{#364095}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 4

Patch Set 3 : working #

Patch Set 4 : fix #

Patch Set 5 : more tests #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -42 lines) Patch
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 2 3 4 5 3 chunks +37 lines, -6 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 4 5 1 chunk +122 lines, -36 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_unittest.cc View 1 2 3 4 1 chunk +117 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
Zhenyao Mo
piman: PTAL yunchao: FYI (This will unblock https://codereview.chromium.org/1320093002/)
5 years ago (2015-12-07 22:49:20 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/1508953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1508953002/1
5 years ago (2015-12-07 22:51:54 UTC) #4
piman
https://codereview.chromium.org/1508953002/diff/20001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/1508953002/diff/20001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode574 gpu/command_buffer/common/gles2_cmd_utils.cc:574: int actual_width = params.row_length > 0 ? params.row_length : ...
5 years ago (2015-12-08 00:06:11 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/89580)
5 years ago (2015-12-08 00:52:29 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/1508953002/diff/20001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/1508953002/diff/20001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode574 gpu/command_buffer/common/gles2_cmd_utils.cc:574: int actual_width = params.row_length > 0 ? params.row_length : ...
5 years ago (2015-12-08 23:39:18 UTC) #10
Zhenyao Mo
Revised. Please take another look.
5 years ago (2015-12-08 23:40:58 UTC) #12
Ken Russell (switch to Gerrit)
This is a great upgrade; not an owner, but a couple of suggestions. https://codereview.chromium.org/1508953002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.h File ...
5 years ago (2015-12-09 00:05:50 UTC) #14
Zhenyao Mo
All revised. Added a bunch more tests. I think this version should be good. Please ...
5 years ago (2015-12-09 00:27:57 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1508953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1508953002/140001
5 years ago (2015-12-09 00:31:17 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-09 01:57:51 UTC) #19
piman
LGTM. I think it would read better with CheckedNumerics rather than the SafeMultiply/Add, but this ...
5 years ago (2015-12-09 02:08:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1508953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1508953002/140001
5 years ago (2015-12-09 17:07:25 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years ago (2015-12-09 17:16:11 UTC) #24
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e0b58d1f24bce6a6f19dcbe5e857e3731d0631ca Cr-Commit-Position: refs/heads/master@{#364095}
5 years ago (2015-12-09 17:17:42 UTC) #26
Zhenyao Mo
5 years ago (2015-12-09 19:08:54 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:140001) has been created in
https://codereview.chromium.org/1511773006/ by zmo@chromium.org.

The reason for reverting is: Jamie thinks this caused the
GLES2ConformTest.GL2FixedTests_divide_by_zero_input_run test to fail on FYI
waterfall.

Powered by Google App Engine
This is Rietveld 408576698