summaryrefslogtreecommitdiff
path: root/libs/gui/FrameRateUtils.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2023-09-06 19:55:45 +0000
committer Peiyong Lin <lpy@google.com> 2023-10-20 19:34:06 +0000
commit277f6f95fa85f169e2d89af0854744e7af9484a1 (patch)
tree2b568aacd2df3ca074f05b7d72939252d36d97c7 /libs/gui/FrameRateUtils.cpp
parent287b271dd03d9b2c10f6d384d096a31ba3514919 (diff)
[Cherry-pick] Make sure the correct ANGLE binary is used.
Previously when eglGetDisplay is called, the code would attempt to initialize ANGLE platform methods and acquire pointers to reset the ANGLE platform. However, without this patch we continue using ro.hardware.egl to form the ANGLE binary name, which is now wrong. Not being able to correctly load the ANGLE binaries means platform methods are not initialize. This currently doesn't have known side effect except that we are observing a bunch of error messages that don't make sense that point to the native OpenGL ES driver loading failure. This patch makes sure ANGLE binary is used when initialize ANGLE platform. Bug: b/293503000 Test: atest CtsAngleIntegrationHostTestCases -c Change-Id: I5189042efc41fa7bef06d20f43ed4da3b1271dab Merged-In: I5189042efc41fa7bef06d20f43ed4da3b1271dab
Diffstat (limited to 'libs/gui/FrameRateUtils.cpp')
0 files changed, 0 insertions, 0 deletions