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

Issue 1360513002: Cleanup: Pass std::string as const reference from gpu/ (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 3 months ago
Reviewers:
no sievers, 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

Cleanup: Pass std::string as const reference from gpu/ Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=piman@chromium.org,sievers@chromium.org Committed: https://crrev.com/8100dae5e20fc6d8ca2fec9258277f189c434164 Cr-Commit-Position: refs/heads/master@{#350063}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Pass func_name as const char* in GLES2DecoderImpl::ProduceTextureRef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 3 chunks +11 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_blacklist_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/tools/compositor_model_bench/render_tree.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/render_tree.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/shaders.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/shaders.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 20:10:37 UTC) #1
no sievers
https://codereview.chromium.org/1360513002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1360513002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13841 gpu/command_buffer/service/gles2_cmd_decoder.cc:13841: void GLES2DecoderImpl::ProduceTextureRef(const std::string& func_name, hmm that doesn't compile does ...
5 years, 3 months ago (2015-09-21 20:03:06 UTC) #2
ki.stfu
https://codereview.chromium.org/1360513002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1360513002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13841 gpu/command_buffer/service/gles2_cmd_decoder.cc:13841: void GLES2DecoderImpl::ProduceTextureRef(const std::string& func_name, On 2015/09/21 20:03:06, sievers wrote: ...
5 years, 3 months ago (2015-09-21 21:27:15 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1360513002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1360513002/20001
5 years, 3 months ago (2015-09-21 21:29:41 UTC) #5
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-21 21:29:43 UTC) #7
no sievers
lgtm
5 years, 3 months ago (2015-09-21 21:50:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1360513002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1360513002/20001
5 years, 3 months ago (2015-09-21 22:22:56 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-21 23:40:12 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 23:42:37 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8100dae5e20fc6d8ca2fec9258277f189c434164
Cr-Commit-Position: refs/heads/master@{#350063}

Powered by Google App Engine
This is Rietveld 408576698