Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • WSI
  • MetalSurface.h
Find file
BlameHistoryPermalink
  • Jonah Ryan-Davis's avatar
    Fix issues presenting MetalSurfaces · 27a3d31d
    Jonah Ryan-Davis authored Nov 06, 2019
    MetalSurfaceEXT and MacOSSurfaceMVK were inheriting incorrectly from
    the base class MetalSurface, and were improperly initialized.
    Additionally, none of the drawables were ever released, meaning there
    were no re-used drawables. Add an @autoreleasepool around the drawable
    retrival path, as per the spec: https://developer.apple.com/documentation/quartzcore/cametallayer?language=objc#3172024
    
    Bug: chromium:1015454
    Change-Id: Idd2f1842977a6f5dccecf31d152d454a44e9261c
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37948Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Tested-by: 's avatarJonah Ryan-Davis <jonahr@google.com>
    27a3d31d
MetalSurface.h 1.97 KB
EditWeb IDE
×

Replace MetalSurface.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.