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
  • Workarounds.h
Find file
BlameHistoryPermalink
  • Kenneth Russell's avatar
    Add cross-platform Workarounds to Context. · f2f6f65f
    Kenneth Russell authored Oct 05, 2016
    These are distinct from the renderer-level workarounds.
    
    Add the first workaround, loseContextOnOutOfMemory. This is enabled
    when the application enables reset notifications via KHR_robustness,
    and is intended for more robust handling of errors in key APIs for
    Chromium's correctness (in particular, sync objects).
    
    Change Context::getResetStatus to persistently return the "lost" status
    if it was set by calling Context::markContextLost. Previously, if
    markContextLost was called but the implementation hadn't actually
    received an error like a lost device, the "lost" reset status would be
    dropped. Returning it only once to the caller is also fragile. Tested
    this by manually injecting a failure in FenceSync11::clientWait and
    ensuring that Chromium detected it as expected.
    
    BUG=chromium:650138
    
    Change-Id: Ie53069eacd1754ad5d64936e3fef315af24605fa
    Reviewed-on: https://chromium-review.googlesource.com/394233
    Commit-Queue: Kenneth Russell <kbr@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    f2f6f65f
Workarounds.h 724 Bytes
EditWeb IDE
×

Replace Workarounds.h

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.