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

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed)

Created:
5 years, 7 months ago by danakj
Modified:
5 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, enne (OOO), jbauman+watch_chromium.org, jbroman, kalyank, piman+watch_chromium.org, piman, sadrul, sievers+watch_chromium.org, sky, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Partial tile update for one-copy raster. When a tile on the active tree is invalidated, we record the old tile id with the raster task to playback for the new resource. If possible, we find the resource that was used for the old tile in the staging buffers pool, and reuse it, saving us from having to raster the full tile. Instead we only have to raster the part that has changed. This takes a single tab spinner in the browser ui from .30ms per frame to .08ms per frame, for a 73% reduction in raster time. R=enne, piman@chromium.org, reveman, vmpstr BUG=487387 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e0b5478e9fd582c904d1968726c437fd365ab3ea Cr-Commit-Position: refs/heads/master@{#332069}

Patch Set 1 : monocle: . #

Total comments: 8

Patch Set 2 : monocle: intersect #

Patch Set 3 : monocle: spaces_sorted #

Total comments: 14

Patch Set 4 : monocle: . #

Patch Set 5 : monocle: restorecomment #

Patch Set 6 : monocle: 2rects #

Total comments: 2

Patch Set 7 : monocle: reusewritabletexture #

Patch Set 8 : monocle: fixrecreatetiles #

Patch Set 9 : monocle: startat1 #

Total comments: 8

Patch Set 10 : monocle: bademacs #

Total comments: 18

Patch Set 11 : monocle: vmpfeedbacks #

Patch Set 12 : monocle: vector #

Patch Set 13 : monocle: deque #

Total comments: 2

Patch Set 14 : monocle: testscompile-removeframenames #

Patch Set 15 : monocle: moredescriptivenaming #

Patch Set 16 : monocle: fixstrides #

Patch Set 17 : monocle: fix:PicturePileImplTest.RasterFullContents #

Patch Set 18 : monocle: fixothertests #

Total comments: 2

Patch Set 19 : monocle: nobusy #

Patch Set 20 : monocle: rebase #

Total comments: 5

Patch Set 21 : monocle: perftestscompile #

Patch Set 22 : monocle: rebase #

Patch Set 23 : monocle: . #

Total comments: 2

Patch Set 24 : monocle: unittest #

Patch Set 25 : monocle: . #

Patch Set 26 : monocle: . #

Patch Set 27 : monocle: have_persistent_buffers #

Patch Set 28 : monocle: . #

Patch Set 29 : monocle: movetocompositor #

Patch Set 30 : monocle: rebase #

Patch Set 31 : monocle: testname #

Patch Set 32 : monocle: compositor_util #

Total comments: 1

Patch Set 33 : monocle: switch #

Patch Set 34 : monocle: addsomemorecctests #

Patch Set 35 : monocle: tilemanagerconsistency #

Total comments: 36

Patch Set 36 : monocle: stuff #

Patch Set 37 : monocle: rebase-on-uiimage #

Patch Set 38 : monocle: norenderer #

Patch Set 39 : monocle: perftests #

Patch Set 40 : monocle: slightlylessstruct #

Total comments: 34

Patch Set 41 : monocle: . #

Patch Set 42 : monocle: . #

Patch Set 43 : monocle: . #

Patch Set 44 : monocle: rebase #

Patch Set 45 : monocle: init #

Total comments: 16

Patch Set 46 : monocle: reviewed #

Patch Set 47 : monocle: previousid #

Patch Set 48 : monocle: . #

Patch Set 49 : monocle: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+731 lines, -424 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -0 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M cc/playback/display_list_raster_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -2 lines 0 comments Download
M cc/playback/display_list_raster_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +21 lines, -15 lines 0 comments Download
M cc/playback/picture_pile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M cc/playback/picture_pile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +7 lines, -5 lines 0 comments Download
M cc/playback/picture_pile_impl_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M cc/playback/picture_pile_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 3 chunks +4 lines, -3 lines 0 comments Download
M cc/playback/raster_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M cc/playback/raster_source_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M cc/playback/raster_source_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +27 lines, -7 lines 0 comments Download
M cc/raster/bitmap_tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/raster/bitmap_tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +9 lines, -5 lines 0 comments Download
M cc/raster/gpu_rasterizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M cc/raster/gpu_tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/raster/gpu_tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +8 lines, -3 lines 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 3 chunks +28 lines, -15 lines 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 11 chunks +82 lines, -40 lines 0 comments Download
M cc/raster/pixel_buffer_tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/raster/pixel_buffer_tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +8 lines, -5 lines 0 comments Download
M cc/raster/raster_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +2 lines, -1 line 0 comments Download
M cc/raster/tile_task_runner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/raster/tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +7 lines, -2 lines 0 comments Download
M cc/raster/tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -3 lines 0 comments Download
M cc/raster/tile_task_worker_pool_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +4 lines, -2 lines 0 comments Download
M cc/raster/tile_task_worker_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +8 lines, -5 lines 0 comments Download
M cc/raster/zero_copy_tile_task_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/raster/zero_copy_tile_task_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +9 lines, -6 lines 0 comments Download
M cc/resources/resource_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +11 lines, -3 lines 0 comments Download
M cc/resources/resource_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 6 chunks +31 lines, -9 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 4 chunks +8 lines, -2 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 4 chunks +19 lines, -11 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 25 chunks +79 lines, -204 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +4 lines, -1 line 0 comments Download
A cc/test/data/blue_yellow_partial_flipped.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Binary file 0 comments Download
M cc/test/fake_picture_pile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/fake_picture_pile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +7 lines, -4 lines 0 comments Download
M cc/test/fake_resource_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +8 lines, -5 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +4 lines, -0 lines 0 comments Download
M cc/test/pixel_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +8 lines, -16 lines 0 comments Download
M cc/tiles/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +37 lines, -14 lines 0 comments Download
M cc/tiles/tile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +17 lines, -0 lines 0 comments Download
M cc/tiles/tile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +2 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 9 chunks +27 lines, -13 lines 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +3 lines, -1 line 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 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 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 2 chunks +4 lines, -2 lines 0 comments Download
A cc/trees/layer_tree_host_pixeltest_tiles.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +188 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 84 (11 generated)
danakj
Please be gentle :3 I hope it's not crazy, but it does work.
5 years, 7 months ago (2015-05-14 00:50:55 UTC) #2
vmpstr
Just some partial thoughts. https://codereview.chromium.org/1139063002/diff/20001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/20001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode365 cc/resources/one_copy_tile_task_worker_pool.cc:365: previous_frame_read_lock->GetGpuMemoryBuffer(); This allocates one if ...
5 years, 7 months ago (2015-05-14 17:58:49 UTC) #3
piman
https://codereview.chromium.org/1139063002/diff/60001/cc/resources/display_list_raster_source.cc File cc/resources/display_list_raster_source.cc (right): https://codereview.chromium.org/1139063002/diff/60001/cc/resources/display_list_raster_source.cc#newcode132 cc/resources/display_list_raster_source.cc:132: if (!display_list_rect.IsEmpty()) nit: {} https://codereview.chromium.org/1139063002/diff/60001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/60001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode375 ...
5 years, 7 months ago (2015-05-14 19:50:47 UTC) #4
danakj
https://codereview.chromium.org/1139063002/diff/20001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/20001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode365 cc/resources/one_copy_tile_task_worker_pool.cc:365: previous_frame_read_lock->GetGpuMemoryBuffer(); On 2015/05/14 17:58:49, vmpstr wrote: > This allocates ...
5 years, 7 months ago (2015-05-14 19:59:48 UTC) #5
vmpstr
https://codereview.chromium.org/1139063002/diff/20001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1139063002/diff/20001/cc/resources/picture_layer_tiling.cc#newcode269 cc/resources/picture_layer_tiling.cc:269: std::vector<InvalidTiles> new_tile_keys; On 2015/05/14 19:59:47, danakj wrote: > On ...
5 years, 7 months ago (2015-05-14 20:08:34 UTC) #6
danakj
https://codereview.chromium.org/1139063002/diff/20001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1139063002/diff/20001/cc/resources/picture_layer_tiling.cc#newcode269 cc/resources/picture_layer_tiling.cc:269: std::vector<InvalidTiles> new_tile_keys; On 2015/05/14 20:08:34, vmpstr wrote: > On ...
5 years, 7 months ago (2015-05-14 20:10:18 UTC) #7
danakj
https://codereview.chromium.org/1139063002/diff/20001/cc/resources/tile_task_worker_pool.cc File cc/resources/tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/20001/cc/resources/tile_task_worker_pool.cc#newcode197 cc/resources/tile_task_worker_pool.cc:197: canvas->translate(raster_offset.x(), raster_offset.y()); On 2015/05/14 17:58:49, vmpstr wrote: > It ...
5 years, 7 months ago (2015-05-14 21:19:05 UTC) #8
danakj
https://codereview.chromium.org/1139063002/diff/60001/cc/resources/display_list_raster_source.cc File cc/resources/display_list_raster_source.cc (right): https://codereview.chromium.org/1139063002/diff/60001/cc/resources/display_list_raster_source.cc#newcode132 cc/resources/display_list_raster_source.cc:132: if (!display_list_rect.IsEmpty()) On 2015/05/14 19:50:46, piman (Very slow to ...
5 years, 7 months ago (2015-05-14 22:03:42 UTC) #9
danakj
Updated with reusing buffers better as per piman's idea.
5 years, 7 months ago (2015-05-14 22:25:04 UTC) #10
vmpstr
https://codereview.chromium.org/1139063002/diff/120001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1139063002/diff/120001/cc/resources/picture_layer_tiling.cc#newcode295 cc/resources/picture_layer_tiling.cc:295: RemoveTileData& remove_tile_data = remove_tiles[iter.index()]; At a first glance, this ...
5 years, 7 months ago (2015-05-14 22:28:27 UTC) #11
danakj
https://codereview.chromium.org/1139063002/diff/120001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1139063002/diff/120001/cc/resources/picture_layer_tiling.cc#newcode295 cc/resources/picture_layer_tiling.cc:295: RemoveTileData& remove_tile_data = remove_tiles[iter.index()]; On 2015/05/14 22:28:27, vmpstr wrote: ...
5 years, 7 months ago (2015-05-14 22:35:00 UTC) #12
vmpstr
https://codereview.chromium.org/1139063002/diff/180001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/180001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode379 cc/resources/one_copy_tile_task_worker_pool.cc:379: bool prv = previous_gpu_memory_buffer->Map(&previous_data); nit: s/prv/success/ or something like ...
5 years, 7 months ago (2015-05-14 23:11:46 UTC) #13
piman
On Thu, May 14, 2015 at 3:03 PM, <danakj@chromium.org> wrote: > > > https://codereview.chromium.org/1139063002/diff/60001/cc/resources/display_list_raster_source.cc > ...
5 years, 7 months ago (2015-05-14 23:13:01 UTC) #14
danakj
On Thu, May 14, 2015 at 4:12 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
5 years, 7 months ago (2015-05-14 23:16:11 UTC) #15
vmpstr
On 2015/05/14 23:16:11, danakj wrote: > On Thu, May 14, 2015 at 4:12 PM, Antoine ...
5 years, 7 months ago (2015-05-14 23:18:46 UTC) #16
piman
On Thu, May 14, 2015 at 4:15 PM, Dana Jansens <danakj@chromium.org> wrote: > On Thu, ...
5 years, 7 months ago (2015-05-14 23:22:28 UTC) #17
danakj
https://codereview.chromium.org/1139063002/diff/180001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/180001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode379 cc/resources/one_copy_tile_task_worker_pool.cc:379: bool prv = previous_gpu_memory_buffer->Map(&previous_data); On 2015/05/14 23:11:46, vmpstr wrote: ...
5 years, 7 months ago (2015-05-14 23:22:42 UTC) #18
danakj
On 2015/05/14 23:22:28, piman (Very slow to review) wrote: > On Thu, May 14, 2015 ...
5 years, 7 months ago (2015-05-14 23:28:32 UTC) #19
danakj
On 2015/05/14 23:28:32, danakj wrote: > On 2015/05/14 23:22:28, piman (Very slow to review) wrote: ...
5 years, 7 months ago (2015-05-14 23:32:10 UTC) #20
reveman
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode52 cc/resources/one_copy_tile_task_worker_pool.cc:52: previous_frame_lock_.reset( We need to somehow explicitly allocated a GpuMemoryBuffer ...
5 years, 7 months ago (2015-05-14 23:52:20 UTC) #21
danakj
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode384 cc/resources/one_copy_tile_task_worker_pool.cc:384: if (previous_stride == stride) { On 2015/05/14 23:52:20, reveman ...
5 years, 7 months ago (2015-05-14 23:56:34 UTC) #22
reveman
https://codereview.chromium.org/1139063002/diff/240001/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/1139063002/diff/240001/cc/resources/resource_pool.h#newcode81 cc/resources/resource_pool.h:81: typedef std::deque<PoolResource> ResourceList; It's currently a list as it's ...
5 years, 7 months ago (2015-05-15 00:02:57 UTC) #23
danakj
https://codereview.chromium.org/1139063002/diff/240001/cc/resources/resource_pool.h File cc/resources/resource_pool.h (right): https://codereview.chromium.org/1139063002/diff/240001/cc/resources/resource_pool.h#newcode81 cc/resources/resource_pool.h:81: typedef std::deque<PoolResource> ResourceList; On 2015/05/15 00:02:56, reveman wrote: > ...
5 years, 7 months ago (2015-05-15 00:06:06 UTC) #24
danakj
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode52 cc/resources/one_copy_tile_task_worker_pool.cc:52: previous_frame_lock_.reset( On 2015/05/14 23:52:20, reveman wrote: > We need ...
5 years, 7 months ago (2015-05-15 00:09:59 UTC) #25
reveman
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode385 cc/resources/one_copy_tile_task_worker_pool.cc:385: size_t bytes = static_cast<size_t>(stride) * src->size().height(); On 2015/05/14 23:56:34, ...
5 years, 7 months ago (2015-05-15 00:15:48 UTC) #26
reveman
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode52 cc/resources/one_copy_tile_task_worker_pool.cc:52: previous_frame_lock_.reset( On 2015/05/15 00:09:58, danakj wrote: > On 2015/05/14 ...
5 years, 7 months ago (2015-05-15 00:33:21 UTC) #27
danakj
On Thu, May 14, 2015 at 5:33 PM, <reveman@chromium.org> wrote: > > > https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc > ...
5 years, 7 months ago (2015-05-15 00:38:05 UTC) #28
danakj
https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc File cc/resources/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/190001/cc/resources/one_copy_tile_task_worker_pool.cc#newcode385 cc/resources/one_copy_tile_task_worker_pool.cc:385: size_t bytes = static_cast<size_t>(stride) * src->size().height(); On 2015/05/15 00:15:48, ...
5 years, 7 months ago (2015-05-15 00:40:09 UTC) #29
danakj
OK All existing unit tests pass now. I'd like to add some new ones next.
5 years, 7 months ago (2015-05-15 00:55:00 UTC) #30
danakj
https://codereview.chromium.org/1139063002/diff/320001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1139063002/diff/320001/cc/resources/resource_pool.cc#newcode85 cc/resources/resource_pool.cc:85: scoped_ptr<ScopedResource> ResourcePool::TryAcquireOldBusyResource( I was thinking about it and I ...
5 years, 7 months ago (2015-05-15 03:19:34 UTC) #31
piman
https://codereview.chromium.org/1139063002/diff/320001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1139063002/diff/320001/cc/resources/resource_pool.cc#newcode85 cc/resources/resource_pool.cc:85: scoped_ptr<ScopedResource> ResourcePool::TryAcquireOldBusyResource( On 2015/05/15 03:19:34, danakj wrote: > I ...
5 years, 7 months ago (2015-05-15 03:38:36 UTC) #32
danakj
On 2015/05/15 03:38:36, piman (Very slow to review) wrote: > https://codereview.chromium.org/1139063002/diff/320001/cc/resources/resource_pool.cc > File cc/resources/resource_pool.cc (right): ...
5 years, 7 months ago (2015-05-15 16:52:58 UTC) #33
danakj
Cool, removed 150 loc to drop the busy stuff. On Fri, May 15, 2015 at ...
5 years, 7 months ago (2015-05-15 16:57:00 UTC) #34
danakj
David, the only capability/promise I need from the GpuMemoryBuffer implementation now is that mapping the ...
5 years, 7 months ago (2015-05-15 18:30:04 UTC) #35
vmpstr
This looks pretty good to me, just a couple of comments https://codereview.chromium.org/1139063002/diff/380001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): ...
5 years, 7 months ago (2015-05-15 20:54:22 UTC) #37
danakj
https://codereview.chromium.org/1139063002/diff/380001/cc/resources/picture_pile_impl_unittest.cc File cc/resources/picture_pile_impl_unittest.cc (right): https://codereview.chromium.org/1139063002/diff/380001/cc/resources/picture_pile_impl_unittest.cc#newcode402 cc/resources/picture_pile_impl_unittest.cc:402: // XXX ADD RASTER PARTIAL TILE TESTS HERE XXX ...
5 years, 7 months ago (2015-05-15 21:52:15 UTC) #38
reveman
On 2015/05/15 at 18:30:04, danakj wrote: > David, the only capability/promise I need from the ...
5 years, 7 months ago (2015-05-16 17:00:45 UTC) #39
danakj
OK This is rebased onto the PERSISTENT_MAP GpuMemoryBuffer and makes a request for a persistent ...
5 years, 7 months ago (2015-05-20 22:53:07 UTC) #40
piman
LGTM for content. I don't feel quite knowledgeable enough to vet the rest, but it ...
5 years, 7 months ago (2015-05-20 23:17:14 UTC) #41
reveman
Just a quick comment related to kUseImageTextureTarget. I haven't had a chance to look at ...
5 years, 7 months ago (2015-05-21 19:52:23 UTC) #42
danakj
https://codereview.chromium.org/1139063002/diff/440001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1139063002/diff/440001/content/browser/renderer_host/render_process_host_impl.cc#newcode1145 content/browser/renderer_host/render_process_host_impl.cc:1145: if (IsOneCopyUploadEnabled()) On 2015/05/21 19:52:22, reveman wrote: > Can ...
5 years, 7 months ago (2015-05-21 19:59:30 UTC) #43
reveman
On 2015/05/21 at 19:59:30, danakj wrote: > https://codereview.chromium.org/1139063002/diff/440001/content/browser/renderer_host/render_process_host_impl.cc > File content/browser/renderer_host/render_process_host_impl.cc (right): > > https://codereview.chromium.org/1139063002/diff/440001/content/browser/renderer_host/render_process_host_impl.cc#newcode1145 ...
5 years, 7 months ago (2015-05-21 20:23:23 UTC) #44
danakj
On Thu, May 21, 2015 at 1:23 PM, <reveman@chromium.org> wrote: > On 2015/05/21 at 19:59:30, ...
5 years, 7 months ago (2015-05-21 20:24:52 UTC) #45
danakj
Added a unit test and fixed a few things vlad pointed out.
5 years, 7 months ago (2015-05-21 20:44:44 UTC) #46
reveman
On 2015/05/21 at 20:24:52, danakj wrote: > On Thu, May 21, 2015 at 1:23 PM, ...
5 years, 7 months ago (2015-05-21 20:48:05 UTC) #47
danakj
OK I added a setting and disabled it for the renderer. There's a lot of ...
5 years, 7 months ago (2015-05-21 21:30:10 UTC) #49
reveman
On 2015/05/21 at 21:30:10, danakj wrote: > OK I added a setting and disabled it ...
5 years, 7 months ago (2015-05-22 00:07:30 UTC) #50
danakj
On Thu, May 21, 2015 at 5:07 PM, <reveman@chromium.org> wrote: > On 2015/05/21 at 21:30:10, ...
5 years, 7 months ago (2015-05-22 00:22:57 UTC) #51
danakj
PTAL
5 years, 7 months ago (2015-05-22 00:25:21 UTC) #52
reveman
On 2015/05/22 at 00:22:57, danakj wrote: > On Thu, May 21, 2015 at 5:07 PM, ...
5 years, 7 months ago (2015-05-22 00:31:45 UTC) #53
danakj
On Thu, May 21, 2015 at 5:31 PM, <reveman@chromium.org> wrote: > On 2015/05/22 at 00:22:57, ...
5 years, 7 months ago (2015-05-22 00:47:06 UTC) #54
vmpstr
tiles/playback stuff lgtm https://codereview.chromium.org/1139063002/diff/630001/cc/trees/layer_tree_host_pixeltest_tiles.cc File cc/trees/layer_tree_host_pixeltest_tiles.cc (right): https://codereview.chromium.org/1139063002/diff/630001/cc/trees/layer_tree_host_pixeltest_tiles.cc#newcode72 cc/trees/layer_tree_host_pixeltest_tiles.cc:72: class BlueYellowClient : public ContentLayerClient { ...
5 years, 7 months ago (2015-05-22 01:08:57 UTC) #55
reveman
This is cool. Hope we can make the ResourcePool/TileTaskRunner changes a bit easier to understand ...
5 years, 7 months ago (2015-05-22 17:15:14 UTC) #56
danakj
Will throw up a patch after lunch https://codereview.chromium.org/1139063002/diff/690001/cc/playback/picture_pile_impl.h File cc/playback/picture_pile_impl.h (right): https://codereview.chromium.org/1139063002/diff/690001/cc/playback/picture_pile_impl.h#newcode43 cc/playback/picture_pile_impl.h:43: const gfx::Rect& ...
5 years, 7 months ago (2015-05-26 19:02:53 UTC) #57
reveman
https://codereview.chromium.org/1139063002/diff/690001/cc/playback/picture_pile_impl.h File cc/playback/picture_pile_impl.h (right): https://codereview.chromium.org/1139063002/diff/690001/cc/playback/picture_pile_impl.h#newcode43 cc/playback/picture_pile_impl.h:43: const gfx::Rect& canvas_playback_rect, On 2015/05/26 at 19:02:52, danakj wrote: ...
5 years, 7 months ago (2015-05-26 20:12:37 UTC) #58
danakj
https://codereview.chromium.org/1139063002/diff/690001/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/1139063002/diff/690001/ui/compositor/compositor.cc#newcode147 ui/compositor/compositor.cc:147: if (IsUIOneCopyEnabled()) { On 2015/05/26 20:12:37, reveman wrote: > ...
5 years, 7 months ago (2015-05-26 20:17:37 UTC) #59
reveman
On 2015/05/26 at 20:17:37, danakj wrote: > https://codereview.chromium.org/1139063002/diff/690001/ui/compositor/compositor.cc > File ui/compositor/compositor.cc (right): > > https://codereview.chromium.org/1139063002/diff/690001/ui/compositor/compositor.cc#newcode147 ...
5 years, 7 months ago (2015-05-26 20:29:31 UTC) #60
danakj
PTAL https://codereview.chromium.org/1139063002/diff/690001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1139063002/diff/690001/cc/resources/resource_pool.cc#newcode67 cc/resources/resource_pool.cc:67: if (!id) On 2015/05/26 19:02:52, danakj wrote: > ...
5 years, 7 months ago (2015-05-26 23:37:35 UTC) #61
danakj
I can make this patch a teeny bit smaller by moving the ContextFactory API change ...
5 years, 7 months ago (2015-05-26 23:48:25 UTC) #63
danakj
If we're not turning on the renderer here, I can drop those pieces to another ...
5 years, 7 months ago (2015-05-26 23:57:13 UTC) #64
danakj
Woot ok even smaller. This is just a cc/ change now plus enabling it in ...
5 years, 7 months ago (2015-05-27 00:02:41 UTC) #65
reveman
https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h File cc/playback/raster_source.h (right): https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h#newcode45 cc/playback/raster_source.h:45: const gfx::Rect& canvas_playback_rect, Instead of adding another rect here, ...
5 years, 7 months ago (2015-05-28 05:07:25 UTC) #66
danakj
PTAL https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h File cc/playback/raster_source.h (right): https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h#newcode45 cc/playback/raster_source.h:45: const gfx::Rect& canvas_playback_rect, On 2015/05/28 05:07:24, reveman wrote: ...
5 years, 6 months ago (2015-05-28 18:54:45 UTC) #67
danakj
I got rid of the TileTaskData.
5 years, 6 months ago (2015-05-28 21:29:05 UTC) #68
reveman
https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h File cc/playback/raster_source.h (right): https://codereview.chromium.org/1139063002/diff/790001/cc/playback/raster_source.h#newcode45 cc/playback/raster_source.h:45: const gfx::Rect& canvas_playback_rect, On 2015/05/28 18:54:46, danakj wrote: > ...
5 years, 6 months ago (2015-05-29 14:50:27 UTC) #69
danakj
https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc#newcode44 cc/raster/one_copy_tile_task_worker_pool.cc:44: DCHECK_EQ(resource_format, raster_resource_->format()); On 2015/05/29 14:50:26, reveman wrote: > what ...
5 years, 6 months ago (2015-05-29 17:16:07 UTC) #70
reveman
lgtm https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc#newcode71 cc/raster/one_copy_tile_task_worker_pool.cc:71: resource_pool_->ReleaseResource(raster_resource_.Pass(), id); On 2015/05/29 at 17:16:06, danakj wrote: ...
5 years, 6 months ago (2015-05-29 18:42:43 UTC) #71
danakj
https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1139063002/diff/890001/cc/raster/one_copy_tile_task_worker_pool.cc#newcode71 cc/raster/one_copy_tile_task_worker_pool.cc:71: resource_pool_->ReleaseResource(raster_resource_.Pass(), id); On 2015/05/29 18:42:43, reveman wrote: > On ...
5 years, 6 months ago (2015-05-29 18:59:48 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139063002/930001
5 years, 6 months ago (2015-05-29 19:04:29 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139063002/950001
5 years, 6 months ago (2015-05-29 19:52:01 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139063002/970001
5 years, 6 months ago (2015-05-29 20:56:32 UTC) #82
commit-bot: I haz the power
Committed patchset #49 (id:970001)
5 years, 6 months ago (2015-05-29 22:48:04 UTC) #83
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 22:48:46 UTC) #84
Message was sent while issue was closed.
Patchset 49 (id:??) landed as
https://crrev.com/e0b5478e9fd582c904d1968726c437fd365ab3ea
Cr-Commit-Position: refs/heads/master@{#332069}

Powered by Google App Engine
This is Rietveld 408576698