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
  • validationEGL.cpp
Find file
BlameHistoryPermalink
  • Corentin Wallez's avatar
    Check for device loss on all applicable EGL entry-points · 9c721c64
    Corentin Wallez authored Aug 02, 2016
    This will make applications aware of device loss on all EGL calls that
    need to have an initialized display. For that purpose, we track the
    device loss state at the egl::Display level instead of always querying
    the implementation. This is correct because at device-loss at the
    display level is non-recoverable. It also deduplicates the tracking
    that would have to be done in all the EGL backends.
    
    Changes made in this commit:
     - Cached device loss in egl::Display
     - Check isDeviceLost in ValidateDisplay
     - Changed EGL entry-points testing isDeviceLost to explicitely request
       a testDeviceLost
     - Add calls to ValidateDisplay to entry-points missing it
     - Removed unused virtual qualifiers for some robustness methods
    
    BUG=angleproject:1463
    
    Change-Id: I92bea81f2ecd5423c445cff31557a4d9783557d5
    Reviewed-on: https://chromium-review.googlesource.com/365450Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    9c721c64
validationEGL.cpp 48.9 KB
EditWeb IDE
×

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