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

Issue 2019293002: Save interface block infomation to program cache. (Closed)

Created:
4 years, 6 months ago by xinghua.cao
Modified:
4 years, 6 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Save interface block infomation to program cache If GPU supports program cache, and command buffer does not save interface block information, it cannot get correct uniform information when update uniforms. BUG=615794 TestCase=deqp/functional/gles3/shaderstatequery.html 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/6b03758cf719953b94bcf9007bb3b7ad909e7c96 Cr-Commit-Position: refs/heads/master@{#397291}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address qiankun's comments #

Total comments: 4

Patch Set 3 : Address zhenyao's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -5 lines) Patch
M gpu/command_buffer/service/disk_cache_proto.proto View 1 chunk +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.h View 4 chunks +12 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.cc View 1 2 11 chunks +77 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
xinghua.cao
https://codereview.chromium.org/2019293002/diff/1/gpu/command_buffer/service/disk_cache_proto.proto File gpu/command_buffer/service/disk_cache_proto.proto (right): https://codereview.chromium.org/2019293002/diff/1/gpu/command_buffer/service/disk_cache_proto.proto#newcode44 gpu/command_buffer/service/disk_cache_proto.proto:44: optional uint32 array_size = 4; variable 'layout' type is ...
4 years, 6 months ago (2016-05-30 09:55:46 UTC) #4
qiankun
I roughly reviewed this CL and L-G-T-M. Just a few comments. But I am not ...
4 years, 6 months ago (2016-05-30 12:42:11 UTC) #5
xinghua.cao
zhenyao, please help to review it about uniforms, thank you. https://codereview.chromium.org/2019293002/diff/1/gpu/command_buffer/service/disk_cache_proto.proto File gpu/command_buffer/service/disk_cache_proto.proto (right): https://codereview.chromium.org/2019293002/diff/1/gpu/command_buffer/service/disk_cache_proto.proto#newcode44 ...
4 years, 6 months ago (2016-05-31 06:09:10 UTC) #7
Zhenyao Mo
Mostly looks good. https://codereview.chromium.org/2019293002/diff/20001/gpu/command_buffer/service/memory_program_cache.cc File gpu/command_buffer/service/memory_program_cache.cc (right): https://codereview.chromium.org/2019293002/diff/20001/gpu/command_buffer/service/memory_program_cache.cc#newcode181 gpu/command_buffer/service/memory_program_cache.cc:181: interface_block.layout = (sh::BlockLayoutType) proto.layout(); This is ...
4 years, 6 months ago (2016-05-31 16:31:00 UTC) #8
Ken Russell (switch to Gerrit)
I defer review of the code to zmo@, but could you please edit the description ...
4 years, 6 months ago (2016-06-01 00:14:24 UTC) #9
xinghua.cao
https://codereview.chromium.org/2019293002/diff/20001/gpu/command_buffer/service/memory_program_cache.cc File gpu/command_buffer/service/memory_program_cache.cc (right): https://codereview.chromium.org/2019293002/diff/20001/gpu/command_buffer/service/memory_program_cache.cc#newcode181 gpu/command_buffer/service/memory_program_cache.cc:181: interface_block.layout = (sh::BlockLayoutType) proto.layout(); On 2016/05/31 16:31:00, Zhenyao Mo ...
4 years, 6 months ago (2016-06-01 03:10:59 UTC) #15
Zhenyao Mo
lgtm
4 years, 6 months ago (2016-06-01 15:13:20 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019293002/40001
4 years, 6 months ago (2016-06-01 15:13:56 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 16:41:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019293002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019293002/40001
4 years, 6 months ago (2016-06-02 01:06:39 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-02 01:46:30 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 01:47:49 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b03758cf719953b94bcf9007bb3b7ad909e7c96
Cr-Commit-Position: refs/heads/master@{#397291}

Powered by Google App Engine
This is Rietveld 408576698