Skip to content
Snippets Groups Projects
  1. Dec 23, 2021
    • Leon Scroggins's avatar
      Revert "Allow changing composition from DISPLAY_DECORATION to DEVICE" · c3e9a90b
      Leon Scroggins authored
      Revert submission 16511727-wm_DISPLAY_DECORATION
      
      Reason for revert: b/211835607
      Reverted Changes:
      I1da3199ba:Allow changing composition from DISPLAY_DECORATION...
      I1fae74b36:Update documentation for DISPLAY_DECORATION
      I1da03a88f:Add eLayerIsDisplayDecoration flag
      I7f22dfd03:Add/plumb SurfaceControl.DISPLAY_DECORATION
      
      Change-Id: Ifa4d06453b5707626c614aad203c727681e23fed
      c3e9a90b
  2. Dec 21, 2021
    • Leon Scroggins III's avatar
      Allow changing composition from DISPLAY_DECORATION to DEVICE · 8ece902d
      Leon Scroggins III authored
      After some discussion, we've decided to always set the ScreenDecorations
      to DISPLAY_DECORATION. HWC can decide, based on the format, whether to
      truly treat it as DISPLAY_DECORATION, or to change to DEVICE
      composition.
      
      Previously we were concerned that SurfaceFlinger couldn't use this
      information (if we provided it). Looking to the future, it's possible SF
      may use this information to help make a better plan for the next frame.
      
      Bug: 193170859
      Test: manual
      Change-Id: I1da3199bacf5877e88876249c60c0a33fcd44c1e
      8ece902d
    • Leon Scroggins III's avatar
      Add eLayerIsDisplayDecoration flag · cb93d80d
      Leon Scroggins III authored
      When this flag is set on a BufferLayer, it should use
      Composition.DISPLAY_DECORATION. The intent is that it will be set to
      true once on a SurfaceControl for the ScreenDecorations, and it will
      remain true, regardless of the currently used PixelFormat. When the
      PixelFormat changes (e.g. from A8 to RGBA8888 to accommodate the privacy
      dot), the HWC may change how it treats the layer.
      
      Only respect the new flag if the caller has the INTERNAL_SYSTEM_WINDOW
      permission.
      
      Bug: 193170859
      Test: manual
      Change-Id: I1da03a88fb642fa775c192627f20459cae694951
      cb93d80d
  3. Dec 20, 2021
  4. Dec 17, 2021
  5. Dec 16, 2021
Loading