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

Issue 448303002: Use custom ListContainer to allocate DrawQuads (Closed)

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

Description

Use custom ListContainer to allocate DrawQuads In RenderPass use ListContainer for generating DrawQuads and acting as QuadList. BUG=344962 Committed: https://crrev.com/032e929d161f8e466a55913deb748f0975c1f7de Cr-Commit-Position: refs/heads/master@{#296855}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : use largest quad type #

Patch Set 4 : rebase #

Patch Set 5 : fix rebase #

Total comments: 1

Patch Set 6 : rebase #

Patch Set 7 : fix win trybot compile error #

Total comments: 10

Patch Set 8 : add support at(index) #

Patch Set 9 : address trivial rename review comments mojo use template function instead of static cast #

Patch Set 10 : use at() for cc message unittest #

Total comments: 2

Patch Set 11 : rename at() to ElementAt() #

Total comments: 2

Patch Set 12 : slim down unittest #

Patch Set 13 : rebase #

Patch Set 14 : rebase #

Patch Set 15 : change header files to try fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+522 lines, -323 lines) Patch
M cc/layers/delegated_renderer_layer_impl.cc View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 20 chunks +49 lines, -39 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 3 4 5 2 chunks +8 lines, -6 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +10 lines, -10 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +8 lines, -7 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 1 2 3 4 5 3 chunks +13 lines, -7 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 2 3 4 5 4 chunks +16 lines, -16 lines 0 comments Download
M cc/output/delegating_renderer.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -3 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 2 chunks +8 lines, -7 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/list_container.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -3 lines 0 comments Download
M cc/quads/list_container.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +32 lines, -0 lines 0 comments Download
M cc/quads/list_container_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +59 lines, -0 lines 0 comments Download
M cc/quads/render_pass.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +10 lines, -11 lines 0 comments Download
M cc/quads/render_pass.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +23 lines, -12 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 1 chunk +7 lines, -6 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 4 5 4 chunks +9 lines, -6 lines 0 comments Download
M cc/surfaces/surface_aggregator_test_helpers.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M cc/surfaces/surface_aggregator_test_helpers.cc View 1 2 3 4 5 2 chunks +9 lines, -5 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +30 lines, -19 lines 0 comments Download
M cc/test/fake_delegated_renderer_layer_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M cc/test/layer_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +12 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +7 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 chunks +64 lines, -51 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +20 lines, -20 lines 0 comments Download
M content/common/cc_messages.cc View 1 5 chunks +28 lines, -24 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -12 lines 0 comments Download
M mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc View 1 2 3 4 5 4 chunks +8 lines, -3 lines 0 comments Download
M mojo/services/public/cpp/surfaces/tests/surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 37 (11 generated)
weiliangc
danakj: cc kenrb: cc_messages jamesr: mojo Overall performance gain in Android, mostly noise on linux. ...
6 years, 4 months ago (2014-08-20 23:30:19 UTC) #1
jamesr
lgtm
6 years, 4 months ago (2014-08-20 23:34:13 UTC) #2
jamesr
(to be clear I'm removing the mojo/ bits, not the rest (unless you want me ...
6 years, 3 months ago (2014-09-15 21:48:42 UTC) #3
weiliangc
danakj@ has been reviewing the CL this is depended on. I'll need to update this ...
6 years, 3 months ago (2014-09-15 22:18:11 UTC) #4
weiliangc
Rebased to committed ListContianer. PTAL
6 years, 2 months ago (2014-09-23 16:38:42 UTC) #5
danakj
https://codereview.chromium.org/448303002/diff/120001/cc/layers/delegated_renderer_layer_impl_unittest.cc File cc/layers/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/448303002/diff/120001/cc/layers/delegated_renderer_layer_impl_unittest.cc#newcode479 cc/layers/delegated_renderer_layer_impl_unittest.cc:479: EXPECT_TRANSFORMATION_MATRIX_EQ(gfx::Transform(), iter->quadTransform()); WDYT of adding ElementAt(size_t pos) to get ...
6 years, 2 months ago (2014-09-23 17:59:38 UTC) #6
kenrb
ipc lgtm
6 years, 2 months ago (2014-09-23 19:29:08 UTC) #7
weiliangc
https://codereview.chromium.org/448303002/diff/120001/cc/layers/delegated_renderer_layer_impl_unittest.cc File cc/layers/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/448303002/diff/120001/cc/layers/delegated_renderer_layer_impl_unittest.cc#newcode479 cc/layers/delegated_renderer_layer_impl_unittest.cc:479: EXPECT_TRANSFORMATION_MATRIX_EQ(gfx::Transform(), iter->quadTransform()); On 2014/09/23 17:59:38, danakj wrote: > WDYT ...
6 years, 2 months ago (2014-09-24 20:14:35 UTC) #8
danakj
https://codereview.chromium.org/448303002/diff/180001/cc/quads/list_container.h File cc/quads/list_container.h (right): https://codereview.chromium.org/448303002/diff/180001/cc/quads/list_container.h#newcode149 cc/quads/list_container.h:149: BaseElementType* at(size_t index); This is an O(1) thing on ...
6 years, 2 months ago (2014-09-24 20:17:25 UTC) #9
weiliangc
https://codereview.chromium.org/448303002/diff/180001/cc/quads/list_container.h File cc/quads/list_container.h (right): https://codereview.chromium.org/448303002/diff/180001/cc/quads/list_container.h#newcode149 cc/quads/list_container.h:149: BaseElementType* at(size_t index); On 2014/09/24 20:17:25, danakj wrote: > ...
6 years, 2 months ago (2014-09-24 20:26:31 UTC) #10
danakj
LGTM w/ test quibbles https://codereview.chromium.org/448303002/diff/200001/cc/quads/list_container_unittest.cc File cc/quads/list_container_unittest.cc (right): https://codereview.chromium.org/448303002/diff/200001/cc/quads/list_container_unittest.cc#newcode485 cc/quads/list_container_unittest.cc:485: TEST(ListContainerTest, SimpleIterationWithIndexSimpleDrawQuad) { This test ...
6 years, 2 months ago (2014-09-24 23:55:57 UTC) #11
weiliangc
On 2014/09/24 23:55:57, danakj wrote: > LGTM w/ test quibbles > > https://codereview.chromium.org/448303002/diff/200001/cc/quads/list_container_unittest.cc > File ...
6 years, 2 months ago (2014-09-25 15:06:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/220001
6 years, 2 months ago (2014-09-25 15:07:06 UTC) #14
danakj
LGTM
6 years, 2 months ago (2014-09-25 15:14:31 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/12415)
6 years, 2 months ago (2014-09-25 15:30:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/220001
6 years, 2 months ago (2014-09-25 15:43:40 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/18825) android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/12427) mac_chromium_compile_dbg ...
6 years, 2 months ago (2014-09-25 16:06:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/240001
6 years, 2 months ago (2014-09-25 17:43:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/7226) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/19045)
6 years, 2 months ago (2014-09-25 18:07:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/240001
6 years, 2 months ago (2014-09-25 18:53:15 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/12511)
6 years, 2 months ago (2014-09-25 19:22:15 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/260001
6 years, 2 months ago (2014-09-25 20:41:38 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/12566) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/19121) mac_chromium_rel_swarming ...
6 years, 2 months ago (2014-09-25 21:09:17 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/448303002/280001
6 years, 2 months ago (2014-09-25 23:42:05 UTC) #35
commit-bot: I haz the power
Committed patchset #15 (id:280001) as 6a4640bacb7e3275a89525771d0aa8be80919eb6
6 years, 2 months ago (2014-09-26 01:55:09 UTC) #36
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 01:55:43 UTC) #37
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/032e929d161f8e466a55913deb748f0975c1f7de
Cr-Commit-Position: refs/heads/master@{#296855}

Powered by Google App Engine
This is Rietveld 408576698