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
  • WindowSurfaceCGL.mm
Find file
BlameHistoryPermalink
  • James Darpinian's avatar
    Allow choosing EAGL or CGL at runtime · e53efb18
    James Darpinian authored Nov 03, 2020
    Dean Jackson made this change downstream in WebKit:
    https://bugs.webkit.org/show_bug.cgi?id=216722
    
    Change ANGLE to dynamically load either EAGL (OpenGLES) or CGL (OpenGL)
    depending on both compile and runtime configurations.
        Intel Mac -> CGL
        Intel Mac Catalyst -> CGL
        Intel iOS Simulator -> EAGL
        iOS Device -> EAGL
        Apple Silicon Mac -> CGL
        Apple Silicon Mac Catalyst (with Mac app) -> CGL
        Apple Silicon Mac Catalyst (with iOS app) -> EAGL
    
    The trickiest bit is Apple Silicon Mac Catalyst, which depends on the
    type of the application it is attempting to run. In that case ANGLE must
    compile both the CGL and EAGL interfaces and then pick one to use after
    launch.
    
    Bug: angleproject:5253
    Change-Id: Iba167b3cc3105e457dcfc9bc14147d0fc3e70bac
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2500185
    Commit-Queue: James Darpinian <jdarpinian@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    e53efb18
WindowSurfaceCGL.mm 11.3 KB
EditWeb IDE
×

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