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

Issue 2844273004: cc: Make images that can't possibly fit in cache not checker. (Closed)

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

Description

cc: Make images that can't possibly fit in cache not checker. This patch ensures that we don't even try to checker images that are too big to fit into our cache. R=khushalsagar@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2844273004 Cr-Commit-Position: refs/heads/master@{#468186} Committed: https://chromium.googlesource.com/chromium/src/+/13ee97369ce0dea158c1862cdf48056ddac77d5d

Patch Set 1 #

Total comments: 7

Patch Set 2 : tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -24 lines) Patch
M cc/raster/image_hijack_canvas_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 chunk +3 lines, -1 line 0 comments Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 7 chunks +44 lines, -20 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M cc/tiles/image_controller.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M cc/tiles/image_controller.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M cc/tiles/image_controller_unittest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/tiles/image_decode_cache.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M cc/tiles/software_image_decode_cache.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M cc/tiles/software_image_decode_cache.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
vmpstr
Please take a look.
3 years, 7 months ago (2017-04-27 23:10:33 UTC) #2
Khushal
Could you add a CheckerImageTrackerTest for this as well. https://codereview.chromium.org/2844273004/diff/1/cc/tiles/image_controller.cc File cc/tiles/image_controller.cc (right): https://codereview.chromium.org/2844273004/diff/1/cc/tiles/image_controller.cc#newcode135 cc/tiles/image_controller.cc:135: ...
3 years, 7 months ago (2017-04-28 00:12:53 UTC) #3
Khushal
https://codereview.chromium.org/2844273004/diff/1/cc/tiles/software_image_decode_cache.h File cc/tiles/software_image_decode_cache.h (right): https://codereview.chromium.org/2844273004/diff/1/cc/tiles/software_image_decode_cache.h#newcode311 cc/tiles/software_image_decode_cache.h:311: // which is const and thread safe. On 2017/04/28 ...
3 years, 7 months ago (2017-04-28 00:18:46 UTC) #4
vmpstr
Added tests, and fixed other tests. https://codereview.chromium.org/2844273004/diff/1/cc/tiles/image_controller.cc File cc/tiles/image_controller.cc (right): https://codereview.chromium.org/2844273004/diff/1/cc/tiles/image_controller.cc#newcode135 cc/tiles/image_controller.cc:135: image_cache_max_limit_bytes_ = cache_->GetMaximumMemoryLimit(); ...
3 years, 7 months ago (2017-04-28 17:18:31 UTC) #5
vmpstr
(PTAL)
3 years, 7 months ago (2017-04-28 17:18:41 UTC) #6
Khushal
lgtm
3 years, 7 months ago (2017-04-28 20:19:52 UTC) #7
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/2844273004/20001
3 years, 7 months ago (2017-04-28 23:04:40 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 00:12:53 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/13ee97369ce0dea158c1862cdf48...

Powered by Google App Engine
This is Rietveld 408576698