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
  • libANGLE
  • ResourceManager.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix use-after-free when deleting share contexts. · 901b379f
    Jamie Madill authored May 26, 2016
    The pattern of gen context, share context, free context, then allocate
    a shared GL object in the second context would cause a use-after-free
    of the ContextImpl as a GLFactory. Fix this by passing the factory
    as a parameter to the resource manager allocation methods instead of
    storing the factory pointer. This allows the same ResourceManager to
    work with separate Context implementations, which will work with
    non-virtual contexts.
    
    BUG=612931
    
    Change-Id: Ifceeb893bebd072f318963d935ff9d17181f5305
    Reviewed-on: https://chromium-review.googlesource.com/347463Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    901b379f
ResourceManager.h 2.91 KB
EditWeb IDE
×

Replace ResourceManager.h

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.