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
  • gl
  • cgl
  • DisplayCGL.mm
Find file
BlameHistoryPermalink
  • Corentin Wallez's avatar
    Rewrite WindowSurfaceCGL to use CAOpenGLLayer · 40eefabd
    Corentin Wallez authored Nov 23, 2015
    It used to render to IOSurfaces and use setContents to directly give
    them to the OSX compositor. This was worth the complexity only because
    Chrome going to use that code path. This is no longer the case.
    
    Instead we replace the implementation with one based on CAOpenGLLayer,
    that basically gets a "draw" callback every frame. The complexity comes
    from the fact that this callback is called from another thread, with
    another CGL context.
    
    BUG=angleproject:1233
    
    Change-Id: I1878d0071d057e043e0bb9043d9849f50e00d023
    Reviewed-on: https://chromium-review.googlesource.com/314031Reviewed-by: 's avatarccameron chromium <ccameron@chromium.org>
    Tryjob-Request: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    40eefabd
DisplayCGL.mm 6.59 KB
EditWeb IDE
×

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