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

Commit eb180f4a authored by Galia Peycheva's avatar Galia Peycheva
Browse files

Remove rounded corners on Tv PiP

The TV PiP has a border that has rounded corners. We don't want to have
rounded corners on the PiP surface, because it is an expensive
operation. Additionally, some TVs send video buffers directly to HWC, so
the buffers are not GPU-readable. This makes rounding corners in SF not
possible. To have a consistent PiP UI across ATV, we use the PiP border
as a means to add rounded corners.

Bug: 241766265
Test: m && flash && start pip
Change-Id: Ic45895a489cfce2c77398363b220802fdd52187b
parent 5242e7a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,4 +21,7 @@

    <!-- Padding between PIP and keep clear areas that caused it to move. -->
    <dimen name="pip_keep_clear_area_padding">16dp</dimen>

    <!-- The corner radius for PiP window. -->
    <dimen name="pip_corner_radius">0dp</dimen>
</resources>