Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97ba154d authored by Yuxin Hu's avatar Yuxin Hu
Browse files

Add comment clarifying ANGLE libs loading behaviors

Flag: DOCS_ONLY
Test: make
Bug: b/370113081
Change-Id: I030002490a2658c8387fafad6cb8aaa67174082c
parent c4910bb7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);