summaryrefslogtreecommitdiff
path: root/opengl
diff options
context:
space:
mode:
author Yuxin Hu <yuxinhu@google.com> 2024-10-04 19:09:46 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-10-04 19:09:46 +0000
commit5091ea103f2b0f9eba732dc68fa74b41569c75d3 (patch)
tree9acc424322d11f1c25b523a879f83372d527c335 /opengl
parent614024b3d811c5cd10debfa8b014b295302d6c5c (diff)
parent97ba154de202ea0eb5bf706ba89d6ce8d74aedc2 (diff)
Merge "Add comment clarifying ANGLE libs loading behaviors" into main
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/Loader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index bf0e38e986..3be8ddca10 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -599,6 +599,9 @@ Loader::driver_t* Loader::attempt_to_load_angle(egl_connection_t* cnx) {
driver_t* hnd = nullptr;
// ANGLE doesn't ship with GLES library, and thus we skip GLES driver.
+ // b/370113081: if there is no libEGL_angle.so in namespace ns, libEGL_angle.so in system
+ // partition will be loaded instead. If there is no libEGL_angle.so in system partition, no
+ // angle libs are loaded, and app that sets to use ANGLE will crash.
void* dso = load_angle("EGL", ns);
if (dso) {
initialize_api(dso, cnx, EGL);