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

Issue 2927573003: cc: Disallow img.decode images from being checker imaged. (Closed)

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

Description

cc: Disallow img.decode images from being checker imaged. This patch ensures that decodes requested via js decode api don't end up being checker imaged. This is important since the decode api is one of the "opt out" paths of checker imaging. This change also removes the distinction between SYNC_PERMANENT and SYNC_DECODED_ONCE, since it's unclear we need that. R=khushalsagar@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2927573003 Cr-Commit-Position: refs/heads/master@{#477830} Committed: https://chromium.googlesource.com/chromium/src/+/dedd7af3a8d02a8ac218d7ea955a375b1a3473dc

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Patch Set 3 : update #

Patch Set 4 : update #

Patch Set 5 : typo #

Total comments: 2

Patch Set 6 : update #

Patch Set 7 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -16 lines) Patch
M cc/tiles/checker_image_tracker.h View 1 2 3 4 5 6 3 chunks +13 lines, -4 lines 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 2 3 4 5 4 chunks +10 lines, -8 lines 0 comments Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 chunks +27 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
vmpstr
Please take a look. Also this patch title is a sentence I never thought I'd ...
3 years, 6 months ago (2017-06-07 00:14:11 UTC) #2
Khushal
https://codereview.chromium.org/2927573003/diff/1/cc/tiles/checker_image_tracker.cc File cc/tiles/checker_image_tracker.cc (right): https://codereview.chromium.org/2927573003/diff/1/cc/tiles/checker_image_tracker.cc#newcode106 cc/tiles/checker_image_tracker.cc:106: image_async_decode_state_[image.stable_id()] = DecodePolicy::SYNC_PERMANENT; I think if the image was ...
3 years, 6 months ago (2017-06-07 00:47:21 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/2927573003/diff/1/cc/tiles/checker_image_tracker.cc File cc/tiles/checker_image_tracker.cc (right): https://codereview.chromium.org/2927573003/diff/1/cc/tiles/checker_image_tracker.cc#newcode106 cc/tiles/checker_image_tracker.cc:106: image_async_decode_state_[image.stable_id()] = DecodePolicy::SYNC_PERMANENT; On 2017/06/07 00:47:21, Khushal wrote: ...
3 years, 6 months ago (2017-06-07 17:05:36 UTC) #4
Khushal
On 2017/06/07 17:05:36, vmpstr wrote: > PTAL > > https://codereview.chromium.org/2927573003/diff/1/cc/tiles/checker_image_tracker.cc > File cc/tiles/checker_image_tracker.cc (right): > ...
3 years, 6 months ago (2017-06-07 18:08:52 UTC) #5
vmpstr
On 2017/06/07 18:08:52, Khushal wrote: > On 2017/06/07 17:05:36, vmpstr wrote: > > PTAL > ...
3 years, 6 months ago (2017-06-07 18:19:01 UTC) #6
Khushal
On 2017/06/07 18:19:01, vmpstr wrote: > On 2017/06/07 18:08:52, Khushal wrote: > > On 2017/06/07 ...
3 years, 6 months ago (2017-06-07 18:27:49 UTC) #7
vmpstr
Per offline discussion, I've removed the distinction between SYNC_PERMANENT and SYNC_DECODED_ONCE, which makes it more ...
3 years, 6 months ago (2017-06-07 19:26:24 UTC) #9
Khushal
lgtm. Thanks. https://codereview.chromium.org/2927573003/diff/70001/cc/tiles/checker_image_tracker.h File cc/tiles/checker_image_tracker.h (right): https://codereview.chromium.org/2927573003/diff/70001/cc/tiles/checker_image_tracker.h#newcode64 cc/tiles/checker_image_tracker.h:64: void DisallowCheckeringForImage(const PaintImage& image); Could you leave ...
3 years, 6 months ago (2017-06-07 20:38:06 UTC) #10
vmpstr
https://codereview.chromium.org/2927573003/diff/70001/cc/tiles/checker_image_tracker.h File cc/tiles/checker_image_tracker.h (right): https://codereview.chromium.org/2927573003/diff/70001/cc/tiles/checker_image_tracker.h#newcode64 cc/tiles/checker_image_tracker.h:64: void DisallowCheckeringForImage(const PaintImage& image); On 2017/06/07 20:38:06, Khushal wrote: ...
3 years, 6 months ago (2017-06-07 21:08:37 UTC) #11
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/2927573003/110001
3 years, 6 months ago (2017-06-07 21:10:39 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/10541) cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 6 months ago (2017-06-07 21:27:37 UTC) #16
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/2927573003/110001
3 years, 6 months ago (2017-06-07 23:11:53 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 00:35:54 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/dedd7af3a8d02a8ac218d7ea955a...

Powered by Google App Engine
This is Rietveld 408576698