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

Issue 2848883004: Add screen rotation animator lock. (Closed)

Created:
3 years, 7 months ago by wutao
Modified:
3 years, 7 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul, danakj
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Landed another one: https://codereview.chromium.org/2872123002/] Add screen rotation animator lock. When screen rotates, wallpaper needs to be resized accordingly, which takes time. Adding a screen rotation animator lock, allows us to second copy output request after the wallpaper is resized. BUG=678763 TEST=tested manual on minnie.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -9 lines) Patch
M ash/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/rotator/screen_rotation_animator.h View 5 chunks +17 lines, -0 lines 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 7 chunks +84 lines, -9 lines 0 comments Download
A ash/rotator/screen_rotation_animator_lock.h View 1 chunk +35 lines, -0 lines 0 comments Download
A ash/rotator/screen_rotation_animator_lock.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M ash/wallpaper/wallpaper_controller.h View 3 chunks +9 lines, -0 lines 0 comments Download
M ash/wallpaper/wallpaper_controller.cc View 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
wutao
Hi Oshima, I am adding this animator lock for screen rotation. We can add multiple ...
3 years, 7 months ago (2017-04-28 18:04:28 UTC) #2
oshima
This looks more complicated than necessary. Is there a reason why ScreenRotationAnimator owns comopstior lock ...
3 years, 7 months ago (2017-04-28 20:18:39 UTC) #7
wutao
On 2017/04/28 20:18:39, oshima wrote: > This looks more complicated than necessary. > > Is ...
3 years, 7 months ago (2017-04-28 20:37:45 UTC) #8
oshima_google
3 years, 7 months ago (2017-04-28 20:44:05 UTC) #9
I meant compositor lock. Why not just use the same mechanism that we're using
in renderer? That'd reduce the dependency and code.

Powered by Google App Engine
This is Rietveld 408576698