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
  • State.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Move index range calculations into VertexArray. · c1fd7376
    Jamie Madill authored Oct 26, 2018
    This is in preparation for removing the entire DrawCallParams struct.
    This struct was big enough to cause a performance hit on draw call perf
    tests just by virtue of initializing the fields. Also dereferencing the
    struct members is slower than reading function parameters since it adds
    an indirection.
    
    Also includes some error refactoring to enable moving code to a shared
    location.
    
    In total this patch series reduces overhead by up to 5%.
    
    Bug: angleproject:2933
    Change-Id: Ib663f2538c14ac30d4c31fd10d6350be469626e2
    Reviewed-on: https://chromium-review.googlesource.com/c/1298380
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    c1fd7376
State.cpp 94.6 KB
EditWeb IDE
×

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