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
  • d3d
  • d3d11
  • Context11.cpp
Find file
BlameHistoryPermalink
  • Michael Yu's avatar
    D3D11 additional context-loss logging · 7c253fca
    Michael Yu authored Jun 02, 2021
    This makes logging more consistent when we encounter context loss.
    
    In Renderer11::testDeviceLost, note DXGI_ERROR_INVALID_CALL is a
    valid GetDeviceRemovedReason, but was not detected prior.
    
    SwapChain11::resize and SwapChain11::reset added more logging,
    likewise with Context11::handleResult.
    
    This covers everywhere d3d11::isDeviceLostError is invoked, though that
    might not be exhaustive of all cases we detect device loss.
    
    Bug: b/188291915
    Test: Manually trigger conditions to test logging.
    Change-Id: Idd57363101b53bc2d3c4c306ee78a42012a1a320
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2935696Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarDoug Horn <doughorn@google.com>
    Commit-Queue: Michael Yu <warty@google.com>
    7c253fca
Context11.cpp 40.5 KB
EditWeb IDE
×

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