• Show log

    Commit

  • Hash : 3e65d0b6
    Author : Igor Nazarov
    Date : 2023-02-01T15:17:43

    Test: Fixed EGLContext leak in the EGLSurfaceTest tests.
    
    "EGLSurfaceTest.RobustResourceInitAndEmulatedAlpha/*" causes
    "EGLContext" leak. This test calls "initializeSingleContext()" on
    "mContext" that was already implicitly initialized in the
    "initializeSurface*()".
    
    Added assertions in order to catch EGLContext/EGLSurface leaking.
    
    Fix details:
    - removed implicit "initializeContext()" call, to remove confusing
      when it is necessary make explicit call or not.
    - rename "initializeContext()" into "initializeAllContexts()" to better
      reflect what it does.
    - "initializeContext()" now creates contexts unconditionally, like once
      before. Lazy initialization is not required, because there is no
      longer implicit call in the "initializeSurfaceWithAttribs()".
    - Created "initializeMainContext()" instead of calling
      "initializeSingleContext()" directly.
    
    Bug: angleproject:7996
    Change-Id: I05954f7a044c12798ac857b877ecede6989526eb
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4208870
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Igor Nazarov <i.nazarov@samsung.com>
    Commit-Queue: 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_l thodg
    Tags