Wallpaper: Propagate transform hint from WM to BBQ surface
This allows the buffer producer to consume the transform hint for the first frame. Bug: 194425759 Test: Rotate static wallpaper and check transform sent to HWC for wallpaper layer Change-Id: I7f688c35ea836f57e3443e03d584fa85e745c6f9
This commit is contained in:
@@ -1033,6 +1033,9 @@ public abstract class WallpaperService extends Service {
|
||||
.build();
|
||||
updateSurfaceDimming();
|
||||
}
|
||||
// Propagate transform hint from WM so we can use the right hint for the
|
||||
// first frame.
|
||||
mBbqSurfaceControl.setTransformHint(mSurfaceControl.getTransformHint());
|
||||
Surface blastSurface = getOrCreateBLASTSurface(mSurfaceSize.x,
|
||||
mSurfaceSize.y, mFormat);
|
||||
// If blastSurface == null that means it hasn't changed since the last
|
||||
|
||||
Reference in New Issue
Block a user