Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec463ac2 authored by Marissa Wall's avatar Marissa Wall
Browse files

blast: set layers to scale to window

Instead of forcing buffers to be the same size as their window,
allow the crop to scale to the display frame.

Test: Transaction_test

Change-Id: I156642ad4951c521699116b8334c92a9f7c5546f
parent 024a1912
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ Rect BufferStateLayer::getDrawingCrop() const {
}

uint32_t BufferStateLayer::getDrawingScalingMode() const {
    return NATIVE_WINDOW_SCALING_MODE_FREEZE;
    return NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW;
}

Region BufferStateLayer::getDrawingSurfaceDamage() const {