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

Issue 380893004: Move Copy method from DrawQuad to RenderPass (Closed)

Created:
6 years, 5 months ago by weiliangc
Modified:
6 years, 5 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, Ian Vollick, enne (OOO), piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@moreRP4DQ
Project:
chromium
Visibility:
Public.

Description

Move Copy method from DrawQuad to RenderPass In transition to let RenderPass take responsibility to allocate DrawQuads, Copy method from DQ is moved to RP. In drawquad_unittest, no RenderPass is present, thus it takes advantage of default copy constructor. Follow 368403003. BUG=344962 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282640

Patch Set 1 #

Total comments: 1

Patch Set 2 : add RP to DQ_unittests to test Copy #

Total comments: 6

Patch Set 3 : review comments #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -361 lines) Patch
M cc/layers/delegated_renderer_layer_impl.cc View 1 2 3 2 chunks +7 lines, -8 lines 0 comments Download
M cc/quads/draw_quad.h View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/quads/draw_quad.cc View 2 chunks +0 lines, -49 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 1 2 19 chunks +341 lines, -275 lines 0 comments Download
M cc/quads/render_pass.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M cc/quads/render_pass_draw_quad.h View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/render_pass_draw_quad.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
weiliangc
6 years, 5 months ago (2014-07-09 22:08:48 UTC) #1
jamesr
(aside: the TEST= line is supposed to be instructions for manual QA steps only. If ...
6 years, 5 months ago (2014-07-09 22:18:18 UTC) #2
weiliangc
On 2014/07/09 22:18:18, jamesr wrote: > (aside: the TEST= line is supposed to be instructions ...
6 years, 5 months ago (2014-07-09 22:21:51 UTC) #3
danakj
https://codereview.chromium.org/380893004/diff/1/cc/quads/draw_quad_unittest.cc File cc/quads/draw_quad_unittest.cc (right): https://codereview.chromium.org/380893004/diff/1/cc/quads/draw_quad_unittest.cc#newcode108 cc/quads/draw_quad_unittest.cc:108: scoped_ptr<Type> copy_new(new Type(*quad_new)); \ This was meant to test ...
6 years, 5 months ago (2014-07-09 22:36:17 UTC) #4
weiliangc
On 2014/07/09 22:36:17, danakj wrote: > https://codereview.chromium.org/380893004/diff/1/cc/quads/draw_quad_unittest.cc > File cc/quads/draw_quad_unittest.cc (right): > > https://codereview.chromium.org/380893004/diff/1/cc/quads/draw_quad_unittest.cc#newcode108 > ...
6 years, 5 months ago (2014-07-10 19:29:21 UTC) #5
danakj
https://codereview.chromium.org/380893004/diff/20001/cc/quads/draw_quad_unittest.cc File cc/quads/draw_quad_unittest.cc (right): https://codereview.chromium.org/380893004/diff/20001/cc/quads/draw_quad_unittest.cc#newcode121 cc/quads/draw_quad_unittest.cc:121: #define SETUP_AND_COPY_QUAD_NEW_1(Type, quad, a) \ let's rename this to ...
6 years, 5 months ago (2014-07-10 19:53:25 UTC) #6
weiliangc
https://codereview.chromium.org/380893004/diff/20001/cc/quads/draw_quad_unittest.cc File cc/quads/draw_quad_unittest.cc (right): https://codereview.chromium.org/380893004/diff/20001/cc/quads/draw_quad_unittest.cc#newcode121 cc/quads/draw_quad_unittest.cc:121: #define SETUP_AND_COPY_QUAD_NEW_1(Type, quad, a) \ On 2014/07/10 19:53:25, danakj ...
6 years, 5 months ago (2014-07-11 15:59:12 UTC) #7
danakj
LGTM
6 years, 5 months ago (2014-07-11 16:13:31 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-11 16:13:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/380893004/60001
6 years, 5 months ago (2014-07-11 16:14:33 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 17:24:57 UTC) #11
Message was sent while issue was closed.
Change committed as 282640

Powered by Google App Engine
This is Rietveld 408576698