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

Issue 418093003: skia/ext: Early out from analysis when we have more than 1 draw op. (Closed)

Created:
6 years, 5 months ago by vmpstr
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

skia/ext: Early out from analysis when we have more than 1 draw op. This patch puts in a heuristic that earlies out from analysis when we have more than one draw op. The intent here is that in most cases, if we see more than one draw operation, then analysis is likely not to be solid. It also removes HasText from analysis canvas, since the only remaining use for this was a previous early out heuristic. BUG=397198 R=enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285499

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : added a todo #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -124 lines) Patch
M skia/ext/analysis_canvas.h View 2 chunks +1 line, -2 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 2 19 chunks +23 lines, -12 lines 2 comments Download
M skia/ext/analysis_canvas_unittest.cc View 1 1 chunk +0 lines, -110 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
vmpstr
Please take a look. enne: general review senorblanco/junov: owner's review
6 years, 5 months ago (2014-07-24 19:10:57 UTC) #1
enne (OOO)
You should mention why you're removing HasText as well in the description. lgtm https://codereview.chromium.org/418093003/diff/20001/skia/ext/analysis_canvas.cc File ...
6 years, 5 months ago (2014-07-24 19:15:04 UTC) #2
vmpstr
https://codereview.chromium.org/418093003/diff/20001/skia/ext/analysis_canvas.cc File skia/ext/analysis_canvas.cc (right): https://codereview.chromium.org/418093003/diff/20001/skia/ext/analysis_canvas.cc#newcode321 skia/ext/analysis_canvas.cc:321: return draw_op_count_ > 1; On 2014/07/24 19:15:03, enne wrote: ...
6 years, 5 months ago (2014-07-24 19:23:14 UTC) #3
Justin Novosad
lgtm https://codereview.chromium.org/418093003/diff/40001/skia/ext/analysis_canvas.cc File skia/ext/analysis_canvas.cc (right): https://codereview.chromium.org/418093003/diff/40001/skia/ext/analysis_canvas.cc#newcode324 skia/ext/analysis_canvas.cc:324: return draw_op_count_ > 1; Since this is an ...
6 years, 5 months ago (2014-07-24 20:16:15 UTC) #4
vmpstr
https://codereview.chromium.org/418093003/diff/40001/skia/ext/analysis_canvas.cc File skia/ext/analysis_canvas.cc (right): https://codereview.chromium.org/418093003/diff/40001/skia/ext/analysis_canvas.cc#newcode324 skia/ext/analysis_canvas.cc:324: return draw_op_count_ > 1; On 2014/07/24 20:16:15, junov wrote: ...
6 years, 5 months ago (2014-07-24 21:03:03 UTC) #5
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-24 21:03:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/418093003/40001
6 years, 5 months ago (2014-07-24 21:06:17 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 02:27:41 UTC) #8
commit-bot: I haz the power
Change committed as 285499
6 years, 5 months ago (2014-07-25 06:04:45 UTC) #9
lushnikov
6 years, 5 months ago (2014-07-25 10:15:51 UTC) #10
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/416333003/ by lushnikov@chromium.org.

The reason for reverting is: This change broke some tests in Blink
Additionally, it renders DevTools shortcuts screen unusable (Open devTools -> F1
-> Shortcuts tab)

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpec....

Powered by Google App Engine
This is Rietveld 408576698