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

Issue 1678623002: Switch cc::RenderPassId and cc::DrawQuad::Resources to use uint32_t instead of size_t. (Closed)

Created:
4 years, 10 months ago by jam
Modified:
4 years, 10 months ago
Reviewers:
Tom Sepez, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch cc::RenderPassId and cc::DrawQuad::Resources to use uint32_t instead of size_t. This is because size_t's size depends on the architecture and we send these structs over IPC. We need IPCs to match as we're now going to support 32 and 64 bit processes communicating on Android. This is split off from https://codereview.chromium.org/1619363002/. BUG=581409 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d2b0dced3c3f6875c3f35d7ebe2d5c448909b9d7 Cr-Commit-Position: refs/heads/master@{#374192}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Total comments: 2

Patch Set 3 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -16 lines) Patch
M cc/quads/draw_quad.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/render_pass_id.h View 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 8 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
jam
Tom: cc_messages.cc Adrienne: rest
4 years, 10 months ago (2016-02-06 01:06:58 UTC) #3
Tom Sepez
https://codereview.chromium.org/1678623002/diff/1/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/1678623002/diff/1/content/common/cc_messages.cc#newcode190 content/common/cc_messages.cc:190: for (std::size_t i = 0; i < p.size(); ++i) ...
4 years, 10 months ago (2016-02-08 17:32:09 UTC) #4
jam
https://codereview.chromium.org/1678623002/diff/1/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/1678623002/diff/1/content/common/cc_messages.cc#newcode190 content/common/cc_messages.cc:190: for (std::size_t i = 0; i < p.size(); ++i) ...
4 years, 10 months ago (2016-02-08 17:49:53 UTC) #5
Tom Sepez
lgtm
4 years, 10 months ago (2016-02-08 18:05:33 UTC) #6
enne (OOO)
https://codereview.chromium.org/1678623002/diff/20001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/1678623002/diff/20001/content/common/cc_messages.cc#newcode683 content/common/cc_messages.cc:683: WriteParam(m, static_cast<uint32_t>(p.render_pass_list.size())); Should these be checked_cast too?
4 years, 10 months ago (2016-02-08 18:39:26 UTC) #7
jam
https://codereview.chromium.org/1678623002/diff/20001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/1678623002/diff/20001/content/common/cc_messages.cc#newcode683 content/common/cc_messages.cc:683: WriteParam(m, static_cast<uint32_t>(p.render_pass_list.size())); On 2016/02/08 18:39:26, enne wrote: > Should ...
4 years, 10 months ago (2016-02-08 18:43:44 UTC) #8
enne (OOO)
lgtm
4 years, 10 months ago (2016-02-08 18:45:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678623002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678623002/40001
4 years, 10 months ago (2016-02-08 19:10:09 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-08 21:52:49 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-08 21:53:49 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d2b0dced3c3f6875c3f35d7ebe2d5c448909b9d7
Cr-Commit-Position: refs/heads/master@{#374192}

Powered by Google App Engine
This is Rietveld 408576698