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
  • tests
  • perf_tests
  • IndexConversionPerf.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Only rewrite for primitive restart when needed. · b48e8b07
    Jamie Madill authored Apr 15, 2015
    We would rewrite our index data every draw call. Change the index
    check to see if we're writing to the same sized / typed static
    buffer and only rewrite the data if the user re-uploaded.
    
    Also add a performance test for the primitive restart workaround.
    
    As a future improvement we could avoid creating new D3D objects
    every time we reinitialize static data, since BufferSubData
    calls don't change the size of the buffer if the index type
    remains the same.
    
    BUG=476658
    
    Change-Id: I9d2540ad8b1b34fa0142ba0bf794cf572da8c61d
    Reviewed-on: https://chromium-review.googlesource.com/265838Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org>
    b48e8b07
IndexConversionPerf.cpp 5.09 KB
EditWeb IDE
×

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