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
  • renderer
  • metal
  • SurfaceMtl.mm
Find file
BlameHistoryPermalink
  • Le Hoang Quyen's avatar
    Metal: Fixed memory leak due to the CAMetalLayer still attached to super layer · ee89849b
    Le Hoang Quyen authored Feb 17, 2020
    When destroying SurfaceMtl, the CAMetalLayer should detach from its
    super layer, otherwise memory leak could happen.
    This memory leak caused the end2end tests to ran out of memory.
    
    Bug: angleproject:2634
    Change-Id: I8ea91cccdb42cf0ae8ef807cf01f1e05043dc7c1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2060250
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    ee89849b
SurfaceMtl.mm 16.5 KB
EditWeb IDE
×

Replace SurfaceMtl.mm

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.