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

Skip to content
Commit 8fd9696e authored by Baldev Sahu's avatar Baldev Sahu Committed by Linux Build Service Account
Browse files

SurfaceFlinger: Add support for MDP3

This change is porting of following commits related to MDP3

1) SurfaceFlinger: Change to support framebuffer flip for 2D blitters
- Surfaceflinger does not flip framebuffers when there are
  no layers marked for HWC_FRAMEBUFFER
- This change checks for the HWC_BLIT flag and will request a flip
  to a new FB_TARGET buffer even if there are no FRAMEBUFFER layers

  "Change-Id: I1cb44389a05c9ec049d7f0d39c288feccb11a91c"

2) SF: Avoid wormhole clear for BLIT calls
- Do not call GPU clear from SF when composition
  type is BLIT as it'll be taken care in HAL.

  "Change-Id: Ia613eb9b824c6484ecc8c8fa4ee883545d8541b8"

3) surfaceflinger: Allow gpu to render widevine level3
- Allow gpu to render widevine level3 but keep
  blocking screen shots.

  "Change-Id: I914232a062acbb7b17901dbf2b414973230e59d9"

4) surfaceflinger: Do not allow gpu to render widevine for screen shot or
   screen record
- In MDP3 we are using the widevine level3 for secure  content display.
  And this should applicable only for primary display not for screen shot
  or screen recording.

  "Change-Id: I99be2d81287ab746d5c4a2375c3106c59e61a8fc"
  CRs-Fixed: 595469

Change-Id: I35eef9eb1597af21c195e07d5fe4c0c73ab3a269
parent ee88d8dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment