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

Skip to content
Commit d265c423 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: remove TARGET_USES_HWC2

Remove TARGET_USES_HWC2 and assume it to be true.  Remove the unused
SurfaceFlinger_hwc1.cpp and DisplayHardware/HWComposer_hwc1.cpp.

This is expected to break some devices.  All affected devices should
add

  PRODUCT_PACKAGES += android.hardware.graphics.composer@2.1-impl

to their device.mk and update their manifest.xml.  In the worse
case, we want to fork frameworks/native/services/surfaceflinger
before this change to
frameworks/native/services/surfaceflinger_hwc1.

Test: boots taimen and hikey960
Change-Id: I27ddd4c6c8af3c39cda99d94002d179486575b28
parent de1eb9c0
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