Skip to content

Commit 97ba154

Browse files
committed
Add comment clarifying ANGLE libs loading behaviors
Flag: DOCS_ONLY Test: make Bug: b/370113081 Change-Id: I030002490a2658c8387fafad6cb8aaa67174082c
1 parent c4910bb commit 97ba154

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

opengl/libs/EGL/Loader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,9 @@ Loader::driver_t* Loader::attempt_to_load_angle(egl_connection_t* cnx) {
599599
driver_t* hnd = nullptr;
600600

601601
// ANGLE doesn't ship with GLES library, and thus we skip GLES driver.
602+
// b/370113081: if there is no libEGL_angle.so in namespace ns, libEGL_angle.so in system
603+
// partition will be loaded instead. If there is no libEGL_angle.so in system partition, no
604+
// angle libs are loaded, and app that sets to use ANGLE will crash.
602605
void* dso = load_angle("EGL", ns);
603606
if (dso) {
604607
initialize_api(dso, cnx, EGL);

0 commit comments

Comments
 (0)