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

Issue 2042133002: Add display-resolution caching to GPU IDC (Closed)

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

Description

Add display-resolution caching to GPU IDC In order to save memory and upload time, images which are going to be drawn at less than their native resolution may be uploaded at a smaller scale. This change adds additional caching and upload logic to allow this. See https://goo.gl/0zCd9Z for a complete description. BUG=623688 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel;tryserver.blink:mac_blink_rel;tryserver.blink:win_blink_rel Committed: https://crrev.com/bc8acf2632042e5e93982088d5b7dcb7f1c0d168 Committed: https://crrev.com/af0093b301058e5b06ea8a2e84dcf5071545a2b3 Cr-Original-Commit-Position: refs/heads/master@{#402377} Cr-Commit-Position: refs/heads/master@{#402694}

Patch Set 1 #

Patch Set 2 : hi #

Patch Set 3 : comments #

Total comments: 16

Patch Set 4 : Cleanup/feedback #

Total comments: 30

Patch Set 5 : Add display-resolution caching to GPU IDC #

Total comments: 14

Patch Set 6 : feedback #

Patch Set 7 : link to doc #

Patch Set 8 : use link shortener #

Patch Set 9 : remove emplace #

Patch Set 10 : Fix negative values + add rebaselines #

Patch Set 11 : rebase #

Patch Set 12 : combine with crrev.com/2103353002 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1033 lines, -159 lines) Patch
M cc/playback/draw_image.h View 1 chunk +5 lines, -1 line 0 comments Download
M cc/test/geometry_test_utils.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller.h View 1 2 3 4 5 6 7 8 9 chunks +106 lines, -15 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 25 chunks +310 lines, -132 lines 0 comments Download
M cc/tiles/gpu_image_decode_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +544 lines, -4 lines 0 comments Download
M cc/tiles/mipmap_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M cc/tiles/mipmap_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -2 lines 0 comments Download
M cc/tiles/mipmap_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +21 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (48 generated)
ericrk
4 years, 6 months ago (2016-06-14 07:14:55 UTC) #6
vmpstr
https://codereview.chromium.org/2042133002/diff/100001/cc/tiles/gpu_image_decode_controller.h File cc/tiles/gpu_image_decode_controller.h (right): https://codereview.chromium.org/2042133002/diff/100001/cc/tiles/gpu_image_decode_controller.h#newcode69 cc/tiles/gpu_image_decode_controller.h:69: // saved even when their ref-count reaches zero to ...
4 years, 6 months ago (2016-06-14 21:35:28 UTC) #7
ericrk
Ok, cleaned this up, thanks for the feedback! https://codereview.chromium.org/2042133002/diff/100001/cc/tiles/gpu_image_decode_controller.h File cc/tiles/gpu_image_decode_controller.h (right): https://codereview.chromium.org/2042133002/diff/100001/cc/tiles/gpu_image_decode_controller.h#newcode69 cc/tiles/gpu_image_decode_controller.h:69: // ...
4 years, 6 months ago (2016-06-16 23:03:33 UTC) #10
vmpstr
https://codereview.chromium.org/2042133002/diff/160001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/2042133002/diff/160001/cc/tiles/gpu_image_decode_controller.cc#newcode60 cc/tiles/gpu_image_decode_controller.cc:60: // Calculate the mp level to pre-scale the image ...
4 years, 6 months ago (2016-06-21 20:07:08 UTC) #12
ericrk
Thanks for the feedback! https://codereview.chromium.org/2042133002/diff/160001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/2042133002/diff/160001/cc/tiles/gpu_image_decode_controller.cc#newcode60 cc/tiles/gpu_image_decode_controller.cc:60: // Calculate the mp level ...
4 years, 6 months ago (2016-06-22 18:56:38 UTC) #13
vmpstr
https://codereview.chromium.org/2042133002/diff/180001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/2042133002/diff/180001/cc/tiles/gpu_image_decode_controller.cc#newcode68 cc/tiles/gpu_image_decode_controller.cc:68: if (draw_image.src_rect() != draw_image.image()->bounds()) { nit: no braces https://codereview.chromium.org/2042133002/diff/180001/cc/tiles/gpu_image_decode_controller.cc#newcode396 ...
4 years, 6 months ago (2016-06-22 21:33:35 UTC) #14
ericrk
Thanks for the feedback. Addressed comments and moved the example comments to a publicly shared ...
4 years, 6 months ago (2016-06-23 18:16:55 UTC) #15
vmpstr
lgtm thanks!
4 years, 6 months ago (2016-06-23 18:44:24 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042133002/240001
4 years, 6 months ago (2016-06-23 20:09:07 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/182346)
4 years, 6 months ago (2016-06-23 20:23:12 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/2042133002/230005
4 years, 6 months ago (2016-06-24 21:02:25 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/87588)
4 years, 6 months ago (2016-06-24 22:26:11 UTC) #25
ericrk
Fixed an issue where we were not handling negative image dimensions. Added a unit test ...
4 years, 5 months ago (2016-06-27 21:26:04 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2042133002/290001
4 years, 5 months ago (2016-06-27 21:26:24 UTC) #33
vmpstr
lgtm
4 years, 5 months ago (2016-06-27 22:00:10 UTC) #34
commit-bot: I haz the power
Dry run: 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/251007)
4 years, 5 months ago (2016-06-27 22:14:56 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2042133002/290001
4 years, 5 months ago (2016-06-27 22:17:53 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2042133002/310001
4 years, 5 months ago (2016-06-27 22:30:13 UTC) #42
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/192571)
4 years, 5 months ago (2016-06-27 23:30:31 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2042133002/310001
4 years, 5 months ago (2016-06-27 23:38:42 UTC) #46
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/208080)
4 years, 5 months ago (2016-06-27 23:49:44 UTC) #48
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/2042133002/310001
4 years, 5 months ago (2016-06-28 00:27:41 UTC) #51
commit-bot: I haz the power
Committed patchset #10 (id:310001)
4 years, 5 months ago (2016-06-28 02:07:16 UTC) #53
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/bc8acf2632042e5e93982088d5b7dcb7f1c0d168 Cr-Commit-Position: refs/heads/master@{#402377}
4 years, 5 months ago (2016-06-28 02:09:57 UTC) #55
ericrk
A revert of this CL (patchset #10 id:310001) has been created in https://codereview.chromium.org/2101403006/ by ericrk@chromium.org. ...
4 years, 5 months ago (2016-06-28 23:55:37 UTC) #56
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2042133002/390001
4 years, 5 months ago (2016-06-29 00:20:54 UTC) #61
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/2042133002/410001
4 years, 5 months ago (2016-06-29 00:57:12 UTC) #65
commit-bot: I haz the power
Committed patchset #12 (id:410001)
4 years, 5 months ago (2016-06-29 02:58:26 UTC) #67
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/af0093b301058e5b06ea8a2e84dcf5071545a2b3 Cr-Commit-Position: refs/heads/master@{#402694}
4 years, 5 months ago (2016-06-29 03:00:37 UTC) #69
shans
A revert of this CL (patchset #12 id:410001) has been created in https://codereview.chromium.org/2107883003/ by shans@chromium.org. ...
4 years, 5 months ago (2016-06-29 03:58:31 UTC) #70
ericrk
On 2016/06/29 03:58:31, shans wrote: > A revert of this CL (patchset #12 id:410001) has ...
4 years, 5 months ago (2016-06-29 18:44:02 UTC) #74
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/2042133002/450001
4 years, 5 months ago (2016-06-29 18:45:07 UTC) #77
commit-bot: I haz the power
Committed patchset #12 (id:450001)
4 years, 5 months ago (2016-06-29 20:17:44 UTC) #79
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 20:18:10 UTC) #80
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 20:19:41 UTC) #82
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/e38a1f76d3e72234dee77aa9053299cab2e4f549
Cr-Commit-Position: refs/heads/master@{#402921}

Powered by Google App Engine
This is Rietveld 408576698