• Show log

    Commit

  • Hash : f1640db8
    Author : John Stiles
    Date : 2022-05-10T11:13:48

    Fix crash when calling certain gl APIs before initialization.
    
    ANGLE attempts to report an error if various APIs (incl. glClearStencil)
    are used before the context is set up. On Mac, when ANGLE attempts to
    report the error, if the egl platform is still uninitialized, it
    attempts to access NULL thread information via
    GenerateContextLostErrorOnCurrentGlobalContext. This leads to an
    assertion/crash.
    
    We can guard against this by calling egl::GetCurrentThread() first,
    which will do the lazy-initialization work that is needed. If egl is
    already initialized, this is harmless and very inexpensive.
    
    Bug: angleproject:7290
    Change-Id: Iadc89dba52f8da1dff17610099a0c0a38d947571
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3638982
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Auto-Submit: John Stiles <johnstiles@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags