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

Issue 2830243002: cc: Don't perform image analysis if the DisplayItemList has no images. (Closed)

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

Description

cc: Don't perform image analysis if the DisplayItemList has no images. Now that we use the PaintOpBuffer, analyze whether a DisplayItemList has any discardable images to skip metadata generation if unnecessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2830243002 Cr-Commit-Position: refs/heads/master@{#469509} Committed: https://chromium.googlesource.com/chromium/src/+/74c96e8453a7a5da13fb1ebef083a06b1566f2d2

Patch Set 1 #

Patch Set 2 : for-draw-ops-only #

Total comments: 3

Patch Set 3 : rebase #

Patch Set 4 : addressed comments #

Patch Set 5 : rebase #

Patch Set 6 : moar rebase and test #

Patch Set 7 : tests #

Patch Set 8 : weird matrix? #

Patch Set 9 : confirmed weird matrix. #

Total comments: 2

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -2 lines) Patch
M cc/paint/display_item_list.h View 2 3 4 4 chunks +8 lines, -1 line 0 comments Download
M cc/paint/display_item_list.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/paint/paint_op_buffer.h View 1 2 3 4 5 6 7 8 9 9 chunks +20 lines, -0 lines 0 comments Download
M cc/paint/paint_op_buffer.cc View 1 2 3 4 5 6 7 8 9 4 chunks +18 lines, -0 lines 0 comments Download
M cc/paint/paint_op_buffer_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +58 lines, -0 lines 0 comments Download
M cc/paint/transform_display_item.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 43 (28 generated)
Khushal
3 years, 8 months ago (2017-04-21 04:40:03 UTC) #6
vmpstr
lgtm % enne. Please wait until I land removing the should generate discardable images flag ...
3 years, 8 months ago (2017-04-25 17:43:41 UTC) #10
Khushal
https://codereview.chromium.org/2830243002/diff/20001/cc/layers/recording_source.cc File cc/layers/recording_source.cc (left): https://codereview.chromium.org/2830243002/diff/20001/cc/layers/recording_source.cc#oldcode59 cc/layers/recording_source.cc:59: if (generate_discardable_images_metadata_) On 2017/04/25 17:43:40, vmpstr wrote: > This ...
3 years, 8 months ago (2017-04-25 18:18:10 UTC) #11
enne (OOO)
lgtm Maybe we need a PaintOpWithFlags instead of template magic everywhere. <_<
3 years, 8 months ago (2017-04-25 20:07:58 UTC) #12
Khushal
On 2017/04/25 20:07:58, enne wrote: > lgtm > > Maybe we need a PaintOpWithFlags instead ...
3 years, 8 months ago (2017-04-25 21:39:02 UTC) #13
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/2830243002/80001
3 years, 7 months ago (2017-05-03 18:40:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/66285)
3 years, 7 months ago (2017-05-03 20:01:40 UTC) #18
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/2830243002/80001
3 years, 7 months ago (2017-05-03 22:50:33 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/66490)
3 years, 7 months ago (2017-05-03 23:00:46 UTC) #22
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/2830243002/120001
3 years, 7 months ago (2017-05-04 01:02:06 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/435799)
3 years, 7 months ago (2017-05-04 01:43:26 UTC) #27
Khushal
https://codereview.chromium.org/2830243002/diff/160001/cc/paint/transform_display_item.cc File cc/paint/transform_display_item.cc (right): https://codereview.chromium.org/2830243002/diff/160001/cc/paint/transform_display_item.cc#newcode14 cc/paint/transform_display_item.cc:14: this->transform.matrix().getType(); So looks like the IsIdentity check when rastering ...
3 years, 7 months ago (2017-05-04 20:58:17 UTC) #34
enne (OOO)
https://codereview.chromium.org/2830243002/diff/160001/cc/paint/transform_display_item.cc File cc/paint/transform_display_item.cc (right): https://codereview.chromium.org/2830243002/diff/160001/cc/paint/transform_display_item.cc#newcode14 cc/paint/transform_display_item.cc:14: this->transform.matrix().getType(); On 2017/05/04 at 20:58:17, Khushal wrote: > So ...
3 years, 7 months ago (2017-05-04 21:02:27 UTC) #37
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/2830243002/180001
3 years, 7 months ago (2017-05-04 21:13:20 UTC) #40
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 23:17:45 UTC) #43
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/74c96e8453a7a5da13fb1ebef083...

Powered by Google App Engine
This is Rietveld 408576698