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

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)

Created:
3 years, 7 months ago by Khushal
Modified:
3 years, 7 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Keep PaintImage in DrawImage. Currently we only store the SkImage in DrawImage during discardable meta-data generation. This change extends that to store PaintImage so it can be used by the checker-imaging system during raster. It also updates checker-imaging to not checker on static and partially loaded images. BUG=722570 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2857923004 Cr-Commit-Position: refs/heads/master@{#472379} Committed: https://chromium.googlesource.com/chromium/src/+/d5e13bff12f02c4dc487d87451b329754ce1c1cc

Patch Set 1 #

Patch Set 2 : dependent branch #

Total comments: 1

Patch Set 3 : rebased #

Total comments: 14

Patch Set 4 : addressed comments. #

Total comments: 12

Patch Set 5 : moar comments #

Patch Set 6 : rebase #

Patch Set 7 : perftest #

Patch Set 8 : .. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+714 lines, -603 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/paint/discardable_image_map.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/paint/discardable_image_map.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/paint/discardable_image_map_unittest.cc View 1 2 3 4 5 25 chunks +69 lines, -72 lines 0 comments Download
M cc/paint/discardable_image_store.h View 1 2 3 3 chunks +7 lines, -13 lines 0 comments Download
M cc/paint/discardable_image_store.cc View 1 2 3 4 3 chunks +17 lines, -13 lines 0 comments Download
M cc/paint/display_item_list.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/paint/display_item_list.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/paint/draw_image.h View 1 2 4 chunks +7 lines, -5 lines 0 comments Download
M cc/paint/draw_image.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M cc/paint/image_id.h View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M cc/paint/paint_image.h View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M cc/paint/paint_image.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/raster/image_hijack_canvas.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/raster/image_hijack_canvas.cc View 1 2 3 4 4 chunks +8 lines, -5 lines 0 comments Download
M cc/raster/image_hijack_canvas_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/raster/raster_source.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/raster/raster_source.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_content_layer_client.h View 1 2 3 chunks +11 lines, -4 lines 0 comments Download
M cc/test/fake_content_layer_client.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M cc/test/fake_recording_source.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M cc/tiles/checker_image_tracker.h View 1 2 3 4 5 5 chunks +10 lines, -9 lines 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 2 3 4 5 6 chunks +30 lines, -22 lines 0 comments Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 2 3 4 5 16 chunks +89 lines, -58 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache_unittest.cc View 1 2 56 chunks +177 lines, -150 lines 0 comments Download
M cc/tiles/image_controller.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
M cc/tiles/software_image_decode_cache.h View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M cc/tiles/software_image_decode_cache.cc View 1 2 3 4 3 chunks +14 lines, -12 lines 0 comments Download
M cc/tiles/software_image_decode_cache_perftest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M cc/tiles/software_image_decode_cache_unittest.cc View 1 2 62 chunks +199 lines, -181 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 2 3 4 5 2 chunks +5 lines, -6 lines 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 4 5 5 chunks +10 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (19 generated)
Khushal
3 years, 7 months ago (2017-05-03 22:41:03 UTC) #3
vmpstr
This looks good. I have a patch that is out for review that adds an ...
3 years, 7 months ago (2017-05-09 22:42:54 UTC) #8
Khushal
On 2017/05/09 22:42:54, vmpstr wrote: > This looks good. I have a patch that is ...
3 years, 7 months ago (2017-05-09 22:59:30 UTC) #9
vmpstr
https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h File cc/paint/image_id.h (right): https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h#newcode16 cc/paint/image_id.h:16: using ImageId = PaintImage::Id; I just want to use ...
3 years, 7 months ago (2017-05-12 22:15:42 UTC) #10
Khushal
https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h File cc/paint/image_id.h (right): https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h#newcode16 cc/paint/image_id.h:16: using ImageId = PaintImage::Id; On 2017/05/12 22:15:42, vmpstr wrote: ...
3 years, 7 months ago (2017-05-13 02:45:50 UTC) #11
vmpstr
https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h File cc/paint/image_id.h (right): https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h#newcode16 cc/paint/image_id.h:16: using ImageId = PaintImage::Id; On 2017/05/13 02:45:50, Khushal wrote: ...
3 years, 7 months ago (2017-05-15 15:02:55 UTC) #12
Khushal
https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h File cc/paint/image_id.h (right): https://codereview.chromium.org/2857923004/diff/40001/cc/paint/image_id.h#newcode16 cc/paint/image_id.h:16: using ImageId = PaintImage::Id; On 2017/05/15 15:02:55, vmpstr wrote: ...
3 years, 7 months ago (2017-05-15 21:22:15 UTC) #13
vmpstr
https://codereview.chromium.org/2857923004/diff/60001/cc/paint/discardable_image_store.cc File cc/paint/discardable_image_store.cc (right): https://codereview.chromium.org/2857923004/diff/60001/cc/paint/discardable_image_store.cc#newcode192 cc/paint/discardable_image_store.cc:192: PaintImage paint_image(PaintImage::kWrongStableId, sk_ref_sp(image), Maybe call it kUnknownStableId? If it's ...
3 years, 7 months ago (2017-05-16 17:43:27 UTC) #16
Khushal
https://codereview.chromium.org/2857923004/diff/60001/cc/paint/discardable_image_store.cc File cc/paint/discardable_image_store.cc (right): https://codereview.chromium.org/2857923004/diff/60001/cc/paint/discardable_image_store.cc#newcode192 cc/paint/discardable_image_store.cc:192: PaintImage paint_image(PaintImage::kWrongStableId, sk_ref_sp(image), On 2017/05/16 17:43:27, vmpstr wrote: > ...
3 years, 7 months ago (2017-05-16 21:29:13 UTC) #17
vmpstr
lgtm % perftest fixes
3 years, 7 months ago (2017-05-16 22:47:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2857923004/120001
3 years, 7 months ago (2017-05-16 22:54:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/455395)
3 years, 7 months ago (2017-05-17 00:37:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2857923004/120001
3 years, 7 months ago (2017-05-17 00:40:57 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/372523)
3 years, 7 months ago (2017-05-17 03:54:57 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2857923004/140001
3 years, 7 months ago (2017-05-17 04:28:21 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 08:09:13 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/d5e13bff12f02c4dc487d87451b3...

Powered by Google App Engine
This is Rietveld 408576698