Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libGL
  • entry_points_gl_3_2_autogen.cpp
Find file
BlameHistoryPermalink
  • Brandon Schade's avatar
    Change g_Mutex from std::mutex to std::recursive_mutex · 0a6e118d
    Brandon Schade authored Jan 27, 2020
    When running flatland on android-10.0.0_r21 (Pixel 3), libgui's ~EglImage calls
    eglTerminate which grabs angle's EGL entry point mutex. The path continues
    to libvulkan where eventually another egl call happens (eglDestroyImageKHR) and
    it will attempt to take the mutex at the entry point again. So we try to get the
    mutex multiple times from the same thread.
    
    Change this mutex to a recursive_mutex to allow for this re-entry of EGL calls
    
    Tests: android-10.0.0_r21/frameworks/native/cmds/flatland
    Bug: angleproject:4354
    Change-Id: If8a817df45e9f58d5f06884510350e17d7127fa9
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2029218
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    0a6e118d
entry_points_gl_3_2_autogen.cpp 22.4 KB
EditWeb IDE
×

Replace entry_points_gl_3_2_autogen.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.