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
  • DisplayD3D.cpp
Find file
BlameHistoryPermalink
  • Ian Elliott's avatar
    Work-around test runner & DebugAnnotator · 08142700
    Ian Elliott authored Oct 01, 2020
    Note: This precedes another CL that needs this change.
    
    DebugAnnotator uses a global variable.  The test runner doesn't change
    state between testing different back-ends.  This works-around the
    problem by setting the global variable when the context is switched.
    
    Because the GL back-end doesn't have its own DebugAnnotator sub-class,
    add a Display* to DisplayImpl::makeCurrent(), so that
    DisplayGL::makeCurrent() can install the front-end-Display's
    DebugAnnotator.
    
    Note: the Vulkan back-end gets this fix even though the new
    DebugAnnotatorVk class will be added in a follow-on CL.
    
    Bug: b/162068318
    Bug: b/169243237
    Bug: angleproject:5121
    Change-Id: If08626a5310f9b4e3210e1a897a6886248e4d8ac
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2451423Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Commit-Queue: Ian Elliott <ianelliott@google.com>
    08142700
DisplayD3D.cpp 13.8 KB
EditWeb IDE
×

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