diff options
author | 2023-11-03 05:18:53 +0000 | |
---|---|---|
committer | 2023-11-03 05:37:14 +0000 | |
commit | 9fc4cf3f8159c5f2572dc92f58c5e07f7957f361 (patch) | |
tree | d1cbbc6b94d0123956213395b9d3107a1b0d13f1 /libs/binder/RpcState.cpp | |
parent | aa21941f474c12e391ce62a8959c34ed8a1ab653 (diff) |
Avoid double initialization of ANGLE platform.
Previously when ANGLE libraries were loaded, the loader already
attempted to dlsym the ANGLEGetDisplayPlatform method, but when
EGLDisplay is called everytime, it will always call into open the ANGLE
library again and attempt to dlsym ANGLEGetDisplayPlatform and
ANGLEResetDisplayPlatform, since ANGLE is already opened, the loader
should just dlsym once and bookkeep the results.
Bug: b/236050939
Test: trace no longer shows duplicate display platform call
Change-Id: I8ce2596c3b0968a4a2e9f7651f59d2ad67efbc64
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions