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

Issue 2425323002: Abort canvas analysis after a few operations are rejected (Closed)

Created:
4 years, 2 months ago by Xianzhu
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Abort canvas analysis after a few operations are rejected This is to avoid costly analysis for a display item containing huge number of operations, especially drawRect operations drawing small rects. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/6ffa6bc9931431c5f5357659ea931086c1eea625 Cr-Commit-Position: refs/heads/master@{#426507}

Patch Set 1 #

Total comments: 2

Patch Set 2 : abort after rejecting a few operations #

Patch Set 3 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M skia/ext/analysis_canvas.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 2 4 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
Xianzhu
I'm not sure if this is correct, but it does improve performance of a test ...
4 years, 2 months ago (2016-10-18 23:21:01 UTC) #3
vmpstr
https://codereview.chromium.org/2425323002/diff/1/cc/playback/raster_source.cc File cc/playback/raster_source.cc (right): https://codereview.chromium.org/2425323002/diff/1/cc/playback/raster_source.cc#newcode227 cc/playback/raster_source.cc:227: if (!display_list_->ShouldBeAnalyzedForSolidColor()) That's not quite correct, since the given ...
4 years, 2 months ago (2016-10-18 23:31:34 UTC) #4
Xianzhu
https://codereview.chromium.org/2425323002/diff/1/cc/playback/raster_source.cc File cc/playback/raster_source.cc (right): https://codereview.chromium.org/2425323002/diff/1/cc/playback/raster_source.cc#newcode227 cc/playback/raster_source.cc:227: if (!display_list_->ShouldBeAnalyzedForSolidColor()) On 2016/10/18 23:31:33, vmpstr wrote: > That's ...
4 years, 2 months ago (2016-10-19 01:27:53 UTC) #5
Xianzhu
I just read more code and found that you already created early-out mechanism in AnalysisCanvas ...
4 years, 2 months ago (2016-10-19 15:44:11 UTC) #6
Xianzhu
On 2016/10/19 15:44:11, Xianzhu wrote: > I just read more code and found that you ...
4 years, 2 months ago (2016-10-19 16:41:44 UTC) #10
vmpstr
lgtm thanks! Could you update the title of this CL before landing as well?
4 years, 2 months ago (2016-10-19 18:06:40 UTC) #11
vmpstr
On 2016/10/19 18:06:40, vmpstr wrote: > lgtm thanks! Could you update the title of this ...
4 years, 2 months ago (2016-10-19 18:07:03 UTC) #12
Xianzhu
On 2016/10/19 18:07:03, vmpstr wrote: > On 2016/10/19 18:06:40, vmpstr wrote: > > lgtm thanks! ...
4 years, 2 months ago (2016-10-19 18:11:44 UTC) #17
rmistry
4 years, 2 months ago (2016-10-19 18:15:09 UTC) #19
Xianzhu
ping...
4 years, 2 months ago (2016-10-20 16:34:42 UTC) #22
reed1
owner lgtm
4 years, 2 months ago (2016-10-20 16:36:51 UTC) #23
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/2425323002/40001
4 years, 2 months ago (2016-10-20 16:37:57 UTC) #26
f(malita)
The code change looks fine, but the heuristic feels quite arbitrary. I presume this is ...
4 years, 2 months ago (2016-10-20 16:38:32 UTC) #28
Xianzhu
On 2016/10/20 16:38:32, f(malita) wrote: > The code change looks fine, but the heuristic feels ...
4 years, 2 months ago (2016-10-20 16:55:53 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 16:57:42 UTC) #31
vmpstr
On 2016/10/20 16:38:32, f(malita) wrote: > The code change looks fine, but the heuristic feels ...
4 years, 2 months ago (2016-10-20 17:53:40 UTC) #32
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:19:17 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6ffa6bc9931431c5f5357659ea931086c1eea625
Cr-Commit-Position: refs/heads/master@{#426507}

Powered by Google App Engine
This is Rietveld 408576698