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

Issue 1351283003: Allow task pools to reason about transparency. (Closed)

Created:
5 years, 3 months ago by christiank
Modified:
5 years, 3 months ago
Reviewers:
reveman
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow task pools to reason about transparency. This will allow task pools to select different formats depending on if a tile contains transparency or not. BUG=434699 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/f7033f79311149ae641bcaa3986c753f60f1db7e Cr-Commit-Position: refs/heads/master@{#350495}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move memory_efficient_texture_format logic to tile task worker pools #

Patch Set 3 : Add resource format to StagingBuffer #

Total comments: 1

Patch Set 4 : Make StagingBuffer constructor non-explicit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -148 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/raster/bitmap_tile_task_worker_pool.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/raster/bitmap_tile_task_worker_pool.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M cc/raster/gpu_tile_task_worker_pool.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/raster/gpu_tile_task_worker_pool.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.h View 1 2 3 6 chunks +11 lines, -6 lines 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 2 18 chunks +52 lines, -48 lines 0 comments Download
M cc/raster/tile_task_runner.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/raster/tile_task_worker_pool_perftest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/raster/tile_task_worker_pool_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/raster/zero_copy_tile_task_worker_pool.h View 1 4 chunks +8 lines, -4 lines 0 comments Download
M cc/raster/zero_copy_tile_task_worker_pool.cc View 1 2 chunks +17 lines, -9 lines 0 comments Download
M cc/resources/resource_provider.h View 1 4 chunks +0 lines, -6 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 3 chunks +1 line, -5 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 21 chunks +27 lines, -27 lines 0 comments Download
M cc/surfaces/display.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_resource_provider.h View 1 4 chunks +2 lines, -4 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/pixel_test.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M cc/tiles/tile.h View 2 chunks +3 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.h View 2 chunks +4 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.cc View 4 chunks +13 lines, -6 lines 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
christiank
Hi, This CL adds support for selecting different resource formats depending on if a tile ...
5 years, 3 months ago (2015-09-22 12:29:08 UTC) #2
reveman
looks good. just some questions and minor requests. https://codereview.chromium.org/1351283003/diff/1/cc/raster/tile_task_runner.h File cc/raster/tile_task_runner.h (right): https://codereview.chromium.org/1351283003/diff/1/cc/raster/tile_task_runner.h#newcode152 cc/raster/tile_task_runner.h:152: virtual ...
5 years, 3 months ago (2015-09-22 14:18:49 UTC) #3
christiank
https://codereview.chromium.org/1351283003/diff/1/cc/raster/tile_task_runner.h File cc/raster/tile_task_runner.h (right): https://codereview.chromium.org/1351283003/diff/1/cc/raster/tile_task_runner.h#newcode152 cc/raster/tile_task_runner.h:152: virtual ResourceFormat GetResourceFormat(bool must_support_alpha) const = 0; On 2015/09/22 ...
5 years, 3 months ago (2015-09-23 12:29:12 UTC) #4
reveman
lgtm with nit https://codereview.chromium.org/1351283003/diff/40001/cc/raster/one_copy_tile_task_worker_pool.h File cc/raster/one_copy_tile_task_worker_pool.h (right): https://codereview.chromium.org/1351283003/diff/40001/cc/raster/one_copy_tile_task_worker_pool.h#newcode100 cc/raster/one_copy_tile_task_worker_pool.h:100: explicit StagingBuffer(const gfx::Size& size, ResourceFormat format); ...
5 years, 3 months ago (2015-09-23 13:42:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351283003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351283003/60001
5 years, 3 months ago (2015-09-23 14:04:53 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/117215)
5 years, 3 months ago (2015-09-23 14:10:46 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351283003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351283003/60001
5 years, 3 months ago (2015-09-24 06:10:42 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-24 07:28:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351283003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351283003/60001
5 years, 3 months ago (2015-09-24 07:29:25 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-09-24 07:48:18 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 07:49:02 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f7033f79311149ae641bcaa3986c753f60f1db7e
Cr-Commit-Position: refs/heads/master@{#350495}

Powered by Google App Engine
This is Rietveld 408576698