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

Commit a97bfe62 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Add DISPLAY_DECORATION to HWC3 HAL"

parents bcebf8a6 437dee04
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,4 +40,5 @@ enum Composition {
  SOLID_COLOR = 3,
  CURSOR = 4,
  SIDEBAND = 5,
  DISPLAY_DECORATION = 6,
}
+13 −0
Original line number Diff line number Diff line
@@ -73,4 +73,17 @@ enum Composition {
     * will display correctly in these cases.
     */
    SIDEBAND = 5,
    /**
     * A display decoration layer contains a buffer which is an 8 bit
     * alpha mask. Pixels in the mask with an alpha of 0 (transparent) will
     * show the content underneath, and pixels with an alpha of 255 will be
     * be rendered in black. An alpha in between will show the content
     * blended with black. This is useful, for example, to provide
     * anti-aliasing on the cutout region/rounded corners on the top and
     * bottom of a display.
     *
     * Upon validateDisplay, the device may request a change from this type
     * to CLIENT.
     */
    DISPLAY_DECORATION = 6,
}