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
  • Context.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Optimize resolveLink. · 44a6fbfd
    Jamie Madill authored Oct 02, 2018
    This changes the program query to resolve the link if required. If the
    validation layer is skipped the link is resolved in the gl::Context.
    Resolving the link on program query allows us to avoid resolving the
    link on most of the gl::Program query APIs.
    
    This improves inlining and particularly affects uniform update. It
    fixes a performance regression introduced by the parallel shader
    linking extension. Gives a 17% increased score on a uniform benchmark.
    
    Also fixes two missing cases of checking for the extension in our
    validation code.
    
    Note that some bugs might still exist when the validation layer is
    disabled.
    
    Bug: angleproject:2851
    Change-Id: I5d725eede3fa147cedf2ce0129791b3412a97a61
    Reviewed-on: https://chromium-review.googlesource.com/1255509
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@google.com>
    44a6fbfd
Context.cpp 264 KB
EditWeb IDE
×

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