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
  • gl
  • ProgramGL.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Make sure ProgramGL stays usable after failed glProgramBinary · 81f891d0
    Olli Etuaho authored Aug 02, 2018
    glProgramBinary may fail if the driver is incompatible with the binary
    that is being loaded. After this ANGLE falls back to recompiling the
    GLSL program from source, but this requires that the ProgramGL object
    used is still valid after a failed glProgramBinary call.
    
    Don't delete the GL program after a failed glProgramBinary call so
    that the fallback works as intended.
    
    BUG=angleproject:2751
    
    Change-Id: I55c19d71414163b1cd9f898f304e4aa7052f6b16
    Reviewed-on: https://chromium-review.googlesource.com/1160540Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    81f891d0
ProgramGL.cpp 31.6 KB
EditWeb IDE
×

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