diff options
author | 2020-04-23 10:40:24 -0700 | |
---|---|---|
committer | 2020-04-27 15:45:15 +0000 | |
commit | 09d2771d37822f3450e097f02383986da664ef8a (patch) | |
tree | 6fcc4a34d25d38105aa34f5a1a6c1acf1159887e /libs/gui/DisplayEventDispatcher.cpp | |
parent | 6af5bcb158b0b4beed632f6a92f0f67174bf9025 (diff) |
Clean up egl_connection_t::shouldUseAngle
If android::GraphicsEnv::getInstance().shouldUseAngle() returns false,
then the ANGLE driver loading can bail out early. The choice should be
made before the app starts loading the driver. If there's a change in
the driver choice during driver loading, then it shouldn't affect the
current loading process, but the next app fresh launch, otherwise crash
will happen for the 3-part driver loading.
Test: build
Bug: b/154237217
Change-Id: I9ea202214bdbc4b70d068137c62d2b1f8ac8ebb5
(cherry picked from commit b22f08618971b0f94ca6ce479ca85e3f5e8833a6)
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions