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
  • Program.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Fix issues with ProgramGL. · 0ca53786
    Geoff Lang authored May 07, 2015
     * Don't re-create the native GL program every link, some program state should
       persist between re-linking such as bound attribute locations.
     * Forward glBindAttribLocation calls to the ProgramImpl, fixes some chromium
       rendering issues because chromium always binds attribute locations,
       sometimes with gaps.
     * Query the real attrib location before inserting it into the list of attribs.
       It was unsafe to rely on the attrib having the same location as its index
       into the active attributes.
    
    BUG=angleproject:882
    
    Change-Id: If14b4c4c2f5ebcdaa4f7c5a890b9519d6d4e6e43
    Reviewed-on: https://chromium-review.googlesource.com/269991Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    0ca53786
Program.cpp 47 KB
EditWeb IDE
×

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