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

Issue 742903002: cc: Rework how PLI cleans tilings up. (Closed)

Created:
6 years, 1 month ago by vmpstr
Modified:
6 years, 1 month ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Rework how PLI cleans tilings up. This patch changes how PLI cleans tilings up. Previously, we'd iterate all tilings to find the ones that match the criteria, then iterate those and remove them in PLI. With this patch, we ask PLTS to do most of the work. We calculate scales that use layer information and pass it down to PLTS to do the cleanup. PLTS, in turn, constructs a list of things to remove and removes it, also removing it from the passed twin sets. This allows us to remove one function from PLI and one from PLTS, as well as hides more of the implementation details of PLTS from PLI. R=danakj, enne BUG=433048 Committed: https://crrev.com/4b892804b9aea20e96b31d5ddd4673ad622fd72f Cr-Commit-Position: refs/heads/master@{#304972}

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : removed a dangling comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -78 lines) Patch
M cc/layers/picture_layer_impl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 chunks +12 lines, -63 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 4 chunks +10 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 3 chunks +63 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
vmpstr
PTAL.
6 years, 1 month ago (2014-11-19 21:50:24 UTC) #1
enne (OOO)
Generating vectors of things that you could just operate on directly. :( Does this really ...
6 years, 1 month ago (2014-11-19 22:15:22 UTC) #2
vmpstr
On 2014/11/19 22:15:22, enne wrote: > Generating vectors of things that you could just operate ...
6 years, 1 month ago (2014-11-19 22:25:47 UTC) #3
enne (OOO)
Yeah, I think this would be cleaner if you just pushed the whole thing into ...
6 years, 1 month ago (2014-11-19 22:32:50 UTC) #4
vmpstr
On 2014/11/19 22:32:50, enne wrote: > Yeah, I think this would be cleaner if you ...
6 years, 1 month ago (2014-11-19 23:00:39 UTC) #5
vmpstr
PTAL. I followed your advice and moved more things into PLTS, and it actually turned ...
6 years, 1 month ago (2014-11-20 00:40:28 UTC) #6
enne (OOO)
Ooh, I like that a ton better. lgtm (Can you also update your change description ...
6 years, 1 month ago (2014-11-20 01:02:36 UTC) #7
vmpstr
On 2014/11/20 01:02:36, enne wrote: > Ooh, I like that a ton better. lgtm > ...
6 years, 1 month ago (2014-11-20 01:15:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/742903002/40001
6 years, 1 month ago (2014-11-20 01:18:15 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-20 04:27:58 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 04:29:05 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4b892804b9aea20e96b31d5ddd4673ad622fd72f
Cr-Commit-Position: refs/heads/master@{#304972}

Powered by Google App Engine
This is Rietveld 408576698