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

Issue 2149523002: Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment (Closed)

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

Description

Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment Due to potential performance issues chrome should just make invalidateFramebuffer call a no-op if the attachment is in DEPTH_STENCIL format and only one part is intended to be invalidated. BUG=628496 TEST=deqp/functional/gles3/fboinvalidate/whole.html?webglVersion=2&quiet=0 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/ce7e217303925cfec9b453ff745e9ebb5f120d95 Cr-Commit-Position: refs/heads/master@{#406821}

Patch Set 1 #

Patch Set 2 : Add depth_cleared_ and stencil_cleared_ for class texture and renderbuffer. #

Total comments: 10

Patch Set 3 : Add depth_cleared_ and stencil_cleared_ for class texture and renderbuffer. #

Patch Set 4 : Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment #

Total comments: 2

Patch Set 5 : Make invalidateFramebuffer no-op for DEPTH_STENCIL attachment #

Total comments: 2

Patch Set 6 : Fix bugs found by Ken #

Total comments: 5

Patch Set 7 : Use full email address in TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -13 lines) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 2 3 4 5 6 3 chunks +16 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 chunks +47 lines, -12 lines 0 comments Download

Messages

Total messages: 92 (43 generated)
Jiawei
PTAL. Thanks!
4 years, 5 months ago (2016-07-14 05:11:27 UTC) #4
qiankun
Please format description by "edit issue" on top-left. Current implementation can fix bugs in InvalidateFramebuffer ...
4 years, 5 months ago (2016-07-14 06:48:22 UTC) #5
qiankun
jiawei: please fix the try-bot failure. kbr, zmo: can you give a glance at this ...
4 years, 5 months ago (2016-07-14 14:35:33 UTC) #7
Zhenyao Mo
First, let me clarify this is a bug when we initialize uninitialized DEPTH_STENCIL resources? In ...
4 years, 5 months ago (2016-07-14 22:48:14 UTC) #8
Ken Russell (switch to Gerrit)
On 2016/07/14 22:48:14, Zhenyao Mo wrote: > First, let me clarify this is a bug ...
4 years, 5 months ago (2016-07-15 01:01:11 UTC) #9
Jiawei
On 2016/07/15 01:01:11, Ken Russell wrote: > On 2016/07/14 22:48:14, Zhenyao Mo wrote: > > ...
4 years, 5 months ago (2016-07-15 01:12:18 UTC) #10
Jiawei
On 2016/07/14 22:48:14, Zhenyao Mo wrote: > First, let me clarify this is a bug ...
4 years, 5 months ago (2016-07-15 01:20:26 UTC) #13
Zhenyao Mo
On 2016/07/15 01:20:26, Jiawei wrote: > On 2016/07/14 22:48:14, Zhenyao Mo wrote: > > First, ...
4 years, 5 months ago (2016-07-15 01:26:25 UTC) #14
Zhenyao Mo
On 2016/07/15 01:12:18, Jiawei wrote: > On 2016/07/15 01:01:11, Ken Russell wrote: > > On ...
4 years, 5 months ago (2016-07-15 01:39:06 UTC) #15
Jiawei
On 2016/07/15 01:26:25, Zhenyao Mo wrote: > On 2016/07/15 01:20:26, Jiawei wrote: > > On ...
4 years, 5 months ago (2016-07-15 01:45:23 UTC) #16
Zhenyao Mo
On 2016/07/15 01:45:23, Jiawei wrote: > On 2016/07/15 01:26:25, Zhenyao Mo wrote: > > On ...
4 years, 5 months ago (2016-07-15 01:51:43 UTC) #17
Jiawei
On 2016/07/15 01:51:43, Zhenyao Mo wrote: > On 2016/07/15 01:45:23, Jiawei wrote: > > On ...
4 years, 5 months ago (2016-07-15 02:00:29 UTC) #18
Ken Russell (switch to Gerrit)
On 2016/07/15 01:51:43, Zhenyao Mo wrote: > On 2016/07/15 01:45:23, Jiawei wrote: > > On ...
4 years, 5 months ago (2016-07-15 02:02:00 UTC) #19
Ken Russell (switch to Gerrit)
On 2016/07/15 02:00:29, Jiawei wrote: > But besides fboinvalidate case, I still think it unacceptable ...
4 years, 5 months ago (2016-07-15 02:04:03 UTC) #20
yunchao
On 2016/07/15 02:02:00, Ken Russell wrote: > On 2016/07/15 01:51:43, Zhenyao Mo wrote: > > ...
4 years, 5 months ago (2016-07-15 02:07:02 UTC) #21
Zhenyao Mo
On 2016/07/15 02:04:03, Ken Russell wrote: > On 2016/07/15 02:00:29, Jiawei wrote: > > But ...
4 years, 5 months ago (2016-07-15 02:15:12 UTC) #22
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 02:30:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/60001
4 years, 5 months ago (2016-07-18 00:26:26 UTC) #35
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 00:26:28 UTC) #36
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-18 00:26:31 UTC) #38
qiankun
Hi Ken & Mo, Could you help to review it now? It only deals with ...
4 years, 5 months ago (2016-07-18 04:50:09 UTC) #44
Zhenyao Mo
On 2016/07/18 04:50:09, qiankun wrote: > Hi Ken & Mo, > Could you help to ...
4 years, 5 months ago (2016-07-18 05:48:07 UTC) #50
qiankun
On 2016/07/18 05:48:07, Zhenyao Mo wrote: > On 2016/07/18 04:50:09, qiankun wrote: > > Hi ...
4 years, 5 months ago (2016-07-18 07:33:58 UTC) #51
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2149523002/diff/80001/gpu/command_buffer/service/framebuffer_manager.cc File gpu/command_buffer/service/framebuffer_manager.cc (right): https://codereview.chromium.org/2149523002/diff/80001/gpu/command_buffer/service/framebuffer_manager.cc#newcode538 gpu/command_buffer/service/framebuffer_manager.cc:538: // TODO: when the texture or the renderbuffer in ...
4 years, 5 months ago (2016-07-18 18:34:20 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/80001
4 years, 5 months ago (2016-07-19 02:19:55 UTC) #54
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 02:19:58 UTC) #55
Zhenyao Mo
Sorry I unchecked commit button. Please address kbr's comments first.
4 years, 5 months ago (2016-07-19 02:58:19 UTC) #57
Jiawei
On 2016/07/19 02:58:19, Zhenyao Mo wrote: > Sorry I unchecked commit button. Please address kbr's ...
4 years, 5 months ago (2016-07-19 03:08:13 UTC) #58
Jiawei
On 2016/07/18 18:34:20, Ken Russell wrote: > https://codereview.chromium.org/2149523002/diff/80001/gpu/command_buffer/service/framebuffer_manager.cc > File gpu/command_buffer/service/framebuffer_manager.cc (right): > > https://codereview.chromium.org/2149523002/diff/80001/gpu/command_buffer/service/framebuffer_manager.cc#newcode538 ...
4 years, 5 months ago (2016-07-19 11:46:16 UTC) #59
Zhenyao Mo
On 2016/07/19 11:46:16, Jiawei wrote: > On 2016/07/18 18:34:20, Ken Russell wrote: > > > ...
4 years, 5 months ago (2016-07-19 16:35:48 UTC) #60
Zhenyao Mo
jiawei, per offline discussion with kbr, please fix the bug and get the conformance test ...
4 years, 5 months ago (2016-07-19 20:48:19 UTC) #61
Jiawei
On 2016/07/19 20:48:19, Zhenyao Mo wrote: > jiawei, per offline discussion with kbr, please fix ...
4 years, 5 months ago (2016-07-20 08:08:32 UTC) #63
Zhenyao Mo
lgtm Please wait and let kbr take another look
4 years, 5 months ago (2016-07-20 13:59:35 UTC) #64
qiankun
https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7040 gpu/command_buffer/service/gles2_cmd_decoder.cc:7040: framebuffer->AttachRenderbuffer(attachment, renderbuffer); If attachment is GL_DEPTH_STENCIL_ATTACHMENT, framebuffer will attach ...
4 years, 5 months ago (2016-07-20 18:54:57 UTC) #65
Zhenyao Mo
https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7040 gpu/command_buffer/service/gles2_cmd_decoder.cc:7040: framebuffer->AttachRenderbuffer(attachment, renderbuffer); On 2016/07/20 18:54:57, qiankun wrote: > If ...
4 years, 5 months ago (2016-07-20 19:08:20 UTC) #66
Zhenyao Mo
https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7040 gpu/command_buffer/service/gles2_cmd_decoder.cc:7040: framebuffer->AttachRenderbuffer(attachment, renderbuffer); On 2016/07/20 19:08:20, Zhenyao Mo wrote: > ...
4 years, 5 months ago (2016-07-20 19:09:51 UTC) #67
qiankun
On 2016/07/20 19:09:51, Zhenyao Mo wrote: > https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7040 ...
4 years, 5 months ago (2016-07-20 19:13:43 UTC) #68
Zhenyao Mo
https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7040 gpu/command_buffer/service/gles2_cmd_decoder.cc:7040: framebuffer->AttachRenderbuffer(attachment, renderbuffer); On 2016/07/20 19:09:51, Zhenyao Mo wrote: > ...
4 years, 5 months ago (2016-07-20 19:23:54 UTC) #69
Ken Russell (switch to Gerrit)
Sorry for the delay re-reviewing -- LGTM. https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/framebuffer_manager.cc File gpu/command_buffer/service/framebuffer_manager.cc (right): https://codereview.chromium.org/2149523002/diff/100001/gpu/command_buffer/service/framebuffer_manager.cc#newcode574 gpu/command_buffer/service/framebuffer_manager.cc:574: // TODO(Jiawei): ...
4 years, 5 months ago (2016-07-20 23:36:06 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/120001
4 years, 5 months ago (2016-07-21 08:34:50 UTC) #73
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 08:34:53 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/120001
4 years, 5 months ago (2016-07-21 09:01:35 UTC) #77
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 09:01:39 UTC) #78
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 09:31:32 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/120001
4 years, 5 months ago (2016-07-21 11:23:30 UTC) #83
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 11:23:34 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149523002/120001
4 years, 5 months ago (2016-07-21 11:30:42 UTC) #88
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-21 12:02:32 UTC) #90
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 12:04:46 UTC) #92
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ce7e217303925cfec9b453ff745e9ebb5f120d95
Cr-Commit-Position: refs/heads/master@{#406821}

Powered by Google App Engine
This is Rietveld 408576698