Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix egl_fence_persistent_buffer deinit on GLES 2.0 #435

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 28, 2023

  1. Fix egl_fence_persistent_buffer deinit on GLES 2.0

    On GLES 2.0 only drivers, the egl_fence_persistent_buffer test fails
    to create its GLES 3.1 context and an exception is thrown at
    chooseSingleConfig, which aborts its init early.
    The initialization doesn't reach initGLFunctions and GL function
    pointers are left uninitialized, which causes a segfault and crash
    in the deinit path.
    Fix the deinit path so that it doesn't crash but just reports
    "No matching EGL config found" like other EGL tests with those drivers.
    
    Affects:
      dEQP-EGL.functional.fence_sync.valid.egl_fence_persistent_buffer
    
    Signed-off-by: Erico Nunes <[email protected]>
    enunes committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    abaf585 View commit details
    Browse the repository at this point in the history