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

Issue 12388095: cc: Merge GatherPixelRefs and AnalyzeInRect (Closed)

Created:
7 years, 9 months ago by vmpstr
Modified:
7 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Merge GatherPixelRefs and AnalyzeInRect Both GatherPixelRefs and AnalyzeInRect use the same loop, and a similar canvas to do their work. It makes sense to merge the two so part of the work is not replicated. BUG=179552 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188879

Patch Set 1 #

Patch Set 2 : use gatherpixelrefs if no analysis needed #

Patch Set 3 : update #

Total comments: 4

Patch Set 4 : junov's review #

Total comments: 10

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : fix compiler errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -3 lines) Patch
M cc/resources/picture_pile_impl.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M skia/ext/analysis_canvas.h View 1 2 3 4 5 chunks +19 lines, -0 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 2 3 4 17 chunks +69 lines, -2 lines 0 comments Download
M skia/ext/analysis_canvas_unittest.cc View 1 2 3 4 3 chunks +140 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
vmpstr
There's a bit of overlap with the following CL: https://codereview.chromium.org/12316084/ I've included some parts of ...
7 years, 9 months ago (2013-03-04 23:06:26 UTC) #1
vmpstr
PTAL. On average, the cost of doing both analysis and gathering in one call is ...
7 years, 9 months ago (2013-03-08 21:20:13 UTC) #2
Tom Hudson
Justin might need to take a look?
7 years, 9 months ago (2013-03-08 21:48:54 UTC) #3
Justin Novosad
https://codereview.chromium.org/12388095/diff/4001/skia/ext/analysis_canvas.cc File skia/ext/analysis_canvas.cc (right): https://codereview.chromium.org/12388095/diff/4001/skia/ext/analysis_canvas.cc#newcode22 skia/ext/analysis_canvas.cc:22: const char labelLazyDecoded[] = "lazy"; This string constant should ...
7 years, 9 months ago (2013-03-11 15:26:11 UTC) #4
vmpstr
On 2013/03/11 15:26:11, junov wrote: > https://codereview.chromium.org/12388095/diff/4001/skia/ext/analysis_canvas.cc > File skia/ext/analysis_canvas.cc (right): > > https://codereview.chromium.org/12388095/diff/4001/skia/ext/analysis_canvas.cc#newcode22 > ...
7 years, 9 months ago (2013-03-11 19:51:29 UTC) #5
jamesr
On 2013/03/11 19:51:29, vmpstr wrote: https://codereview.chromium.org/12388095/diff/4001/skia/ext/analysis_canvas.h#newcode141 > > skia/ext/analysis_canvas.h:141: std::set<uint32_t> existingPixelRefIDs_; > > for performance, ...
7 years, 9 months ago (2013-03-11 19:54:28 UTC) #6
vmpstr
ping :)
7 years, 9 months ago (2013-03-12 23:21:07 UTC) #7
reveman
junov, can you have a look at this asap? with color estimator turn on by ...
7 years, 9 months ago (2013-03-15 01:51:11 UTC) #8
reveman
+tom, +sami
7 years, 9 months ago (2013-03-15 22:20:32 UTC) #9
Tom Hudson
https://codereview.chromium.org/12388095/diff/11001/cc/tile_manager.cc File cc/tile_manager.cc (right): https://codereview.chromium.org/12388095/diff/11001/cc/tile_manager.cc#newcode755 cc/tile_manager.cc:755: managed_tile_state.pending_pixel_refs.swap( Is swap really the right way to combine ...
7 years, 9 months ago (2013-03-18 11:52:39 UTC) #10
Sami
I think this is a great idea to reduce the amount of duplicate work. Just ...
7 years, 9 months ago (2013-03-18 12:14:33 UTC) #11
Justin Novosad
Apologies for the delayed response (gmail filter blunder on my side) LGTM for skia/ with ...
7 years, 9 months ago (2013-03-18 15:00:44 UTC) #12
vmpstr
Thanks for the reviews! I fixed most issues mentioned. On 2013/03/18 11:52:39, Tom Hudson wrote: ...
7 years, 9 months ago (2013-03-18 17:24:51 UTC) #13
Sami
Thanks for the changes, lgtm. https://codereview.chromium.org/12388095/diff/24001/cc/resources/picture_pile_impl.h File cc/resources/picture_pile_impl.h (right): https://codereview.chromium.org/12388095/diff/24001/cc/resources/picture_pile_impl.h#newcode52 cc/resources/picture_pile_impl.h:52: std::list<skia::LazyPixelRef*> lazy_pixel_refs; Can we ...
7 years, 9 months ago (2013-03-18 17:33:19 UTC) #14
reveman
lgtm
7 years, 9 months ago (2013-03-18 19:11:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/12388095/22002
7 years, 9 months ago (2013-03-18 19:24:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/12388095/33001
7 years, 9 months ago (2013-03-18 20:27:00 UTC) #17
commit-bot: I haz the power
7 years, 9 months ago (2013-03-18 23:37:40 UTC) #18
Message was sent while issue was closed.
Change committed as 188879

Powered by Google App Engine
This is Rietveld 408576698