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

Issue 10825162: Turning off blending for part of the animation to reduce jank. (Closed)

Created:
8 years, 4 months ago by alexst (slow to review)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Turning off blending for part of the animation to reduce jank. This change only turns on blending for the last part of the minimize and first part of the maximize animation to save bandwidth and increase frame rate. This change also properly hides the window only once the animation is complete instead of cutting off the minimize animation with an implicit one. BUG=135177 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151271

Patch Set 1 #

Total comments: 2

Patch Set 2 : Altered transition animation duration. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M ash/wm/window_animations.cc View 1 4 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ian Vollick
Nice! LGTM
8 years, 4 months ago (2012-08-09 15:30:52 UTC) #1
Ian Vollick
+sky for OWNERS
8 years, 4 months ago (2012-08-10 12:34:10 UTC) #2
sky
http://codereview.chromium.org/10825162/diff/1/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/10825162/diff/1/ash/wm/window_animations.cc#newcode153 ash/wm/window_animations.cc:153: window_->layer()->SetVisible(false); If you do this then the TargetVisibility is ...
8 years, 4 months ago (2012-08-10 15:47:39 UTC) #3
alexst (slow to review)
http://codereview.chromium.org/10825162/diff/1/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/10825162/diff/1/ash/wm/window_animations.cc#newcode153 ash/wm/window_animations.cc:153: window_->layer()->SetVisible(false); Ah, this was the wrong solution to a ...
8 years, 4 months ago (2012-08-10 17:50:55 UTC) #4
alexst (slow to review)
8 years, 4 months ago (2012-08-10 18:38:15 UTC) #5
sky
LGTM
8 years, 4 months ago (2012-08-10 19:12:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/10825162/10001
8 years, 4 months ago (2012-08-13 14:02:27 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 15:25:29 UTC) #8
Change committed as 151271

Powered by Google App Engine
This is Rietveld 408576698