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

Issue 295803002: Moves responsibility for shader resource string generation to ANGLE. (Closed)

Created:
6 years, 7 months ago by Shannon Woods
Modified:
6 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Moves responsibility for shader resource string generation to ANGLE. BUG=374942 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271948

Patch Set 1 #

Patch Set 2 : incorporate changes from landed ANGLE patch #

Total comments: 8

Patch Set 3 : Add DCHECK for string length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -10 lines) Patch
M gpu/command_buffer/service/mocks.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/program_cache.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/shader_translator.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/shader_translator.cc View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M gpu/command_buffer/service/shader_translator_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Shannon Woods
This review is pending the following ANGLE CL: https://chromium-review.googlesource.com/#/c/200171 The ANGLE CL adds a function ...
6 years, 7 months ago (2014-05-19 21:41:33 UTC) #1
Shannon Woods
CL rebased to reflect landed ANGLE patch. Also fixed a preexisting typo. Verified that ShaderTranslatorTest.OptionsString ...
6 years, 7 months ago (2014-05-20 21:29:34 UTC) #2
Shannon Woods
On 2014/05/20 21:29:34, Shannon Woods wrote: > CL rebased to reflect landed ANGLE patch. Also ...
6 years, 7 months ago (2014-05-20 21:31:02 UTC) #3
Zhenyao Mo
https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode207 gpu/command_buffer/service/shader_translator.cc:207: DCHECK(compiler_ != NULL); I think returning "None" instead of ...
6 years, 7 months ago (2014-05-20 21:48:55 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode219 gpu/command_buffer/service/shader_translator.cc:219: #else On 2014/05/20 21:48:55, Zhenyao Mo wrote: > this ...
6 years, 7 months ago (2014-05-20 21:50:55 UTC) #5
Ken Russell (switch to Gerrit)
This looks good overall. I defer to Mo's review. https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode207 gpu/command_buffer/service/shader_translator.cc:207: ...
6 years, 7 months ago (2014-05-20 21:58:00 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode207 gpu/command_buffer/service/shader_translator.cc:207: DCHECK(compiler_ != NULL); On 2014/05/20 21:58:00, Ken Russell wrote: ...
6 years, 7 months ago (2014-05-20 22:22:00 UTC) #7
Shannon Woods
https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode207 gpu/command_buffer/service/shader_translator.cc:207: DCHECK(compiler_ != NULL); On 2014/05/20 22:22:01, Zhenyao Mo wrote: ...
6 years, 7 months ago (2014-05-20 22:24:29 UTC) #8
Zhenyao Mo
On 2014/05/20 22:24:29, Shannon Woods wrote: > https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc > File gpu/command_buffer/service/shader_translator.cc (right): > > https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode207 ...
6 years, 7 months ago (2014-05-20 22:27:17 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc File gpu/command_buffer/service/shader_translator.cc (right): https://codereview.chromium.org/295803002/diff/20001/gpu/command_buffer/service/shader_translator.cc#newcode212 gpu/command_buffer/service/shader_translator.cc:212: scoped_ptr<char[]> resource_str(new char[resource_len]); On 2014/05/20 21:48:55, Zhenyao Mo wrote: ...
6 years, 7 months ago (2014-05-20 23:15:23 UTC) #10
Shannon Woods
On 2014/05/20 22:27:17, Zhenyao Mo wrote: > On 2014/05/20 22:24:29, Shannon Woods wrote: > > ...
6 years, 7 months ago (2014-05-20 23:40:56 UTC) #11
Zhenyao Mo
LGTM
6 years, 7 months ago (2014-05-20 23:42:25 UTC) #12
Shannon Woods
The CQ bit was checked by shannonwoods@chromium.org
6 years, 7 months ago (2014-05-20 23:44:41 UTC) #13
Shannon Woods
The CQ bit was unchecked by shannonwoods@chromium.org
6 years, 7 months ago (2014-05-20 23:44:43 UTC) #14
Shannon Woods
The CQ bit was checked by shannonwoods@chromium.org
6 years, 7 months ago (2014-05-20 23:47:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shannonwoods@chromium.org/295803002/40001
6 years, 7 months ago (2014-05-20 23:49:22 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 07:55:52 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 20:05:44 UTC) #18
Message was sent while issue was closed.
Change committed as 271948

Powered by Google App Engine
This is Rietveld 408576698