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
  • gpu_info_util
  • SystemInfo_linux.cpp
Find file
BlameHistoryPermalink
  • Jonah Ryan-Davis's avatar
    Use EnumAdapters to properly detect primary GPU on Win · 66e4850d
    Jonah Ryan-Davis authored Apr 25, 2019
    EnumDisplayDevicesA returns the card that's connected to the display,
    but EnumAdapters return the adapter which the desktop primary is
    displayed at index 0. We can use this to determine the device used for
    graphics.
    
    Also cleans up the discrepancy between platforms on finding "primary" vs
    "active" GPU. Asserts that the GPU expected to run ANGLE commands is the
    active GPU, and deprecates the primary GPU to be equal to the active
    GPU.
    
    Bug: angleproject:3383
    Change-Id: I422fba1bbe47d85b7c09e378d559eaebf89e2625
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1584360
    Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    66e4850d
SystemInfo_linux.cpp 3.55 KB
EditWeb IDE
×

Replace SystemInfo_linux.cpp

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.