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

Issue 323193002: cc: Don't cleanup the pending twin's low res tiling. (Closed)

Created:
6 years, 6 months ago by danakj
Modified:
6 years, 6 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, piman, vmpstr
Visibility:
Public.

Description

cc: Don't cleanup the pending twin's low res tiling. After drawing, we cull unused tilings on the active tree. If we cull the tiling which is the low res tiling on the pending tree, and then later do a pinch such that the active tree wants a tiling of that scale again, it would create the tiling which is already on the pending tree and cause a bad state. Adds a unit test that was hitting the CHECK() in PictureLayerImpl when it changed the scale of the active layer to 1.f to match the pending layer after drawing. Now it verifies that the active layer keeps the pending low res tiling. R=enne BUG=358350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276305

Patch Set 1 #

Patch Set 2 : scale-collision: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -9 lines) Patch
M cc/layers/picture_layer_impl.cc View 3 chunks +12 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +80 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
danakj
6 years, 6 months ago (2014-06-10 21:30:14 UTC) #1
enne (OOO)
lgtm
6 years, 6 months ago (2014-06-10 23:12:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/323193002/20001
6 years, 6 months ago (2014-06-10 23:14:54 UTC) #3
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 08:22:07 UTC) #4
Message was sent while issue was closed.
Change committed as 276305

Powered by Google App Engine
This is Rietveld 408576698