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

Issue 998423005: Updated shader program caching to account for transform feedback varyings (Closed)

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

Description

Updated shader program caching to account for transform feedback varyings BUG=429053 Committed: https://crrev.com/63ead731bc142b8c0f202e07bc2879fcc2984fb9 Cr-Commit-Position: refs/heads/master@{#320607}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed zmo@'s feedback #

Total comments: 6

Patch Set 3 : Addressed piman@'s feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -68 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.h View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.cc View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache_unittest.cc View 1 2 24 chunks +84 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/mocks.h View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/program_cache.h View 1 2 5 chunks +13 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/program_cache.cc View 1 2 6 chunks +38 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/program_cache_unittest.cc View 1 2 9 chunks +76 lines, -29 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 2 chunks +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 2 5 chunks +19 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 2 4 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
bajones
PTAL. Transform feedback varyings must be taken into account for program binary caching since they ...
5 years, 9 months ago (2015-03-12 23:18:22 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/998423005/diff/1/gpu/command_buffer/service/program_cache.cc File gpu/command_buffer/service/program_cache.cc (right): https://codereview.chromium.org/998423005/diff/1/gpu/command_buffer/service/program_cache.cc#newcode99 gpu/command_buffer/service/program_cache.cc:99: size_t CalculateVaryingsSize(const std::vector<std::string>* varyings) { nit: a line before ...
5 years, 9 months ago (2015-03-12 23:50:58 UTC) #3
bajones
Thanks for the feedback, zmo@! Addressed everything in the latest patch.
5 years, 9 months ago (2015-03-13 17:55:05 UTC) #4
Zhenyao Mo
LGTM https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc File gpu/command_buffer/service/program_cache.cc (right): https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc#newcode150 gpu/command_buffer/service/program_cache.cc:150: const size_t name_size = it->length(); you could just ...
5 years, 9 months ago (2015-03-13 18:01:42 UTC) #5
Zhenyao Mo
On 2015/03/13 18:01:42, Zhenyao Mo wrote: > LGTM > > https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc > File gpu/command_buffer/service/program_cache.cc (right): ...
5 years, 9 months ago (2015-03-13 18:02:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/998423005/20001
5 years, 9 months ago (2015-03-13 18:21:15 UTC) #8
piman
https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc File gpu/command_buffer/service/program_cache.cc (right): https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc#newcode100 gpu/command_buffer/service/program_cache.cc:100: if (!varyings) { It's never NULL in production. Remove ...
5 years, 9 months ago (2015-03-13 18:32:10 UTC) #9
bajones
On 2015/03/13 at 18:32:10, piman wrote: > https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc > File gpu/command_buffer/service/program_cache.cc (right): > > https://codereview.chromium.org/998423005/diff/20001/gpu/command_buffer/service/program_cache.cc#newcode100 ...
5 years, 9 months ago (2015-03-13 21:51:51 UTC) #11
piman
LGTM, thanks!
5 years, 9 months ago (2015-03-13 22:31:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/998423005/40001
5 years, 9 months ago (2015-03-13 22:38:04 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-14 00:12:56 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-14 00:14:03 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/63ead731bc142b8c0f202e07bc2879fcc2984fb9
Cr-Commit-Position: refs/heads/master@{#320607}

Powered by Google App Engine
This is Rietveld 408576698