summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2023-04-10 21:56:30 +0000
committer Peiyong Lin <lpy@google.com> 2023-04-10 21:56:30 +0000
commit96174907bd0441501a3dc51c95ec42b4223c9d85 (patch)
tree2eecda7659bbee4439600ae2cb2a45887103c3d8 /libs/androidfw/ApkParsing.cpp
parent2fad91a2b7e9774a28df801565bc051c656ebc6d (diff)
Refactor ANGLE usage code.
Previously when ANGLE is the default system driver, the ro.hardware.egl points to ANGLE. This is fine if ANGLE is the only system drvier. However, we would like to make ANGLE coexist with the native GLES drivers and allow a global switch. Hence this patch refactors the majority of the ANGLE selection logic. Loading ANGLE in the form of an apk as well as using ANGLE as a game mode intervention should remain functional. Bug: b/270994705 Test: atest CtsAngleIntegrationHostTestCases Change-Id: Id9a337b9851c65138a3fdbb1fc6845df1c88734e
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions