• Show log

    Commit

  • Hash : a5dec6fe
    Author : Roman Lavrov
    Date : 2024-11-22T15:58:02

    Tests: ANGLETestBase subclasses non-zero initialize primitives
    
    For example, a class member
    GLuint mPipeline;
    would get initialized to 0x7f7f7f7f, ~2e9, to avoid potential reliance
    on the value being 0 which happens often, but not always, resulting in
    hard-to-debug scenarios.
    
    Large number to trigger checks such as https://crrev.com/c/6042185
    
    ANGLE tests are generally subclasses of ANGLETest <- ANGLETestBase and
    often use GL primitive class members, so this should apply broadly and
    catch newly introduced cases.
    
    This only sets the initial bytes of the allocated memory.
    Non-primitives or explicitly initialized members overwrite these bytes
    during their construction.
    
    Bug: angleproject:380296979
    Change-Id: I4df47a85580548f409a7c890853050cc127cbab1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6044560
    Commit-Queue: Roman Lavrov <romanl@google.com>
    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