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

Issue 398533002: Make DrawQuad constructors public, rm DQ::Create() function (Closed)

Created:
6 years, 5 months ago by weiliangc
Modified:
6 years, 5 months ago
Reviewers:
danakj, jamesr, kenrb
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, cc-bugs_chromium.org, ben+mojo_chromium.org, darin (slow to review), enne (OOO), piman, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make DrawQuad constructors public, rm DQ::Create() function In order to let RenderPass control allocation of DrawQuads, public DQ constructors, and make all use of DQ::Create function to make_scoped_ptr of public constructors. Similar to 271683004, and follow 380893004. BUG=344962 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283389

Patch Set 1 #

Patch Set 2 : call RenderPass function in mojo #

Total comments: 4

Patch Set 3 : get rid of make_scoped_ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -92 lines) Patch
M cc/quads/checkerboard_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/checkerboard_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/debug_border_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/debug_border_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/io_surface_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/io_surface_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/picture_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/picture_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/render_pass.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/render_pass_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/render_pass_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/quads/solid_color_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/solid_color_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/stream_video_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/stream_video_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/surface_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/surface_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/texture_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/texture_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/tile_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/tile_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.h View 2 chunks +1 line, -2 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/surfaces_app/child_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/examples/surfaces_app/embedder.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M mojo/services/public/cpp/surfaces/tests/surface_unittest.cc View 1 2 6 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
weiliangc
cc: danakj mojo: jamesr cc_messages: kenrb
6 years, 5 months ago (2014-07-15 18:09:56 UTC) #1
jamesr
lgtm https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/tests/surface_unittest.cc File mojo/services/public/cpp/surfaces/tests/surface_unittest.cc (right): https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/tests/surface_unittest.cc#newcode100 mojo/services/public/cpp/surfaces/tests/surface_unittest.cc:100: scoped_ptr<cc::SurfaceDrawQuad> surface_quad = you can simplify this and ...
6 years, 5 months ago (2014-07-15 18:14:47 UTC) #2
danakj
LGTM https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc File mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc (right): https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc#newcode112 mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc:112: scoped_ptr<cc::DrawQuad> ConvertTo(const surfaces::QuadPtr& input, In the near future ...
6 years, 5 months ago (2014-07-15 18:15:00 UTC) #3
weiliangc
Get rid of make_scoped_ptr. https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc File mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc (right): https://codereview.chromium.org/398533002/diff/20001/mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc#newcode112 mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc:112: scoped_ptr<cc::DrawQuad> ConvertTo(const surfaces::QuadPtr& input, On ...
6 years, 5 months ago (2014-07-15 18:28:12 UTC) #4
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-15 18:29:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/398533002/40001
6 years, 5 months ago (2014-07-15 18:33:04 UTC) #6
kenrb
ipc lgtm
6 years, 5 months ago (2014-07-15 19:10:30 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 03:02:59 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 03:18:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/39301)
6 years, 5 months ago (2014-07-16 03:18:19 UTC) #10
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-16 06:02:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/398533002/40001
6 years, 5 months ago (2014-07-16 06:07:42 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 07:51:57 UTC) #13
Message was sent while issue was closed.
Change committed as 283389

Powered by Google App Engine
This is Rietveld 408576698