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

Issue 1308313008: Fix ReadPixels implementation specific read format/type on desktop GL. (Closed)

Created:
5 years, 4 months ago by Zhenyao Mo
Modified:
5 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org, no sievers, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@clear
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ReadPixels implementation specific read format/type on desktop GL. BUG=429053 TEST=conformance2/reading/read-pixels-from-fbo-test.html R=kbr@chromium.org,bajones@chromium.org Committed: https://crrev.com/b3ccf244d9dab03ae656e3c8a825ad0caffa3981 Cr-Commit-Position: refs/heads/master@{#345805}

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -48 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 2 chunks +9 lines, -12 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 4 1 chunk +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 4 2 chunks +76 lines, -12 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 6 chunks +15 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 3 4 3 chunks +4 lines, -16 lines 0 comments Download

Messages

Total messages: 41 (15 generated)
Zhenyao Mo
kbr, bajones: PTAL Others: FYI
5 years, 4 months ago (2015-08-26 00:42:03 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/1308313008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313008/1
5 years, 4 months ago (2015-08-26 00:42:47 UTC) #3
Ken Russell (switch to Gerrit)
Very very nice. LGTM overall. Couple of questions. https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#oldcode1513 gpu/command_buffer/build_gles2_cmd_buffer.py:1513: 'deprecated_es3': ...
5 years, 4 months ago (2015-08-26 01:00:44 UTC) #4
Ken Russell (switch to Gerrit)
+sievers
5 years, 4 months ago (2015-08-26 01:01:17 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#oldcode1513 gpu/command_buffer/build_gles2_cmd_buffer.py:1513: 'deprecated_es3': [ On 2015/08/26 01:00:44, Ken Russell wrote: > ...
5 years, 4 months ago (2015-08-26 01:11:05 UTC) #7
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1518 gpu/command_buffer/build_gles2_cmd_buffer.py:1518: 'GL_LUMINANCE_ALPHA', On 2015/08/26 01:11:04, Zhenyao Mo wrote: > On ...
5 years, 4 months ago (2015-08-26 01:53:33 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-26 02:01:52 UTC) #10
Zhenyao Mo
Revised. bajones: can you also take a look? https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/1308313008/diff/1/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode841 gpu/command_buffer/common/gles2_cmd_utils.cc:841: case ...
5 years, 3 months ago (2015-08-26 21:21:25 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313008/40001
5 years, 3 months ago (2015-08-26 21:24:10 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-26 23:34:03 UTC) #17
bajones
https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8783 gpu/command_buffer/service/gles2_cmd_decoder.cc:8783: accepted_types.push_back(GL_UNSIGNED_INT_2_10_10_10_REV); Don't we need a break right here?
5 years, 3 months ago (2015-08-26 23:39:49 UTC) #18
Zhenyao Mo
https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8783 gpu/command_buffer/service/gles2_cmd_decoder.cc:8783: accepted_types.push_back(GL_UNSIGNED_INT_2_10_10_10_REV); On 2015/08/26 23:39:48, bajones wrote: > Don't we ...
5 years, 3 months ago (2015-08-26 23:43:20 UTC) #19
bajones
On 2015/08/26 23:43:20, Zhenyao Mo wrote: > https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8783 ...
5 years, 3 months ago (2015-08-26 23:46:17 UTC) #20
Zhenyao Mo
https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1308313008/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8783 gpu/command_buffer/service/gles2_cmd_decoder.cc:8783: accepted_types.push_back(GL_UNSIGNED_INT_2_10_10_10_REV); On 2015/08/26 23:43:20, Zhenyao Mo wrote: > On ...
5 years, 3 months ago (2015-08-26 23:48:20 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313008/60001
5 years, 3 months ago (2015-08-26 23:52:34 UTC) #23
Ken Russell (switch to Gerrit)
One more concern. https://codereview.chromium.org/1308313008/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/1308313008/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode891 gpu/command_buffer/common/gles2_cmd_utils.cc:891: return GL_FLOAT; This change may break ...
5 years, 3 months ago (2015-08-26 23:58:36 UTC) #24
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1308313008/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/1308313008/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode891 gpu/command_buffer/common/gles2_cmd_utils.cc:891: return GL_FLOAT; On 2015/08/26 23:58:36, Ken Russell wrote: > ...
5 years, 3 months ago (2015-08-27 00:01:10 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 01:02:25 UTC) #27
Zhenyao Mo
kbr: separate the ES2 and ES3 behaviors. Please take another look.
5 years, 3 months ago (2015-08-27 01:26:05 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313008/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313008/90001
5 years, 3 months ago (2015-08-27 01:29:24 UTC) #31
Ken Russell (switch to Gerrit)
As long as this still passes the oes-texture-float.html test and runs the floating-point readback portions ...
5 years, 3 months ago (2015-08-27 01:45:45 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 02:54:04 UTC) #34
Zhenyao Mo
https://codereview.chromium.org/1308313008/diff/90001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1308313008/diff/90001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8806 gpu/command_buffer/service/gles2_cmd_decoder.cc:8806: } On 2015/08/27 01:45:45, Ken Russell wrote: > I'm ...
5 years, 3 months ago (2015-08-27 03:13:31 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308313008/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308313008/130001
5 years, 3 months ago (2015-08-27 03:13:49 UTC) #39
commit-bot: I haz the power
Committed patchset #5 (id:130001)
5 years, 3 months ago (2015-08-27 05:39:47 UTC) #40
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 05:40:58 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b3ccf244d9dab03ae656e3c8a825ad0caffa3981
Cr-Commit-Position: refs/heads/master@{#345805}

Powered by Google App Engine
This is Rietveld 408576698