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
  • d3d
  • IndexDataManager.cpp
Find file
BlameHistoryPermalink
  • Corentin Wallez's avatar
    D3D11: map index buffers only when needed. · bc3b5e63
    Corentin Wallez authored Jul 07, 2015
    Before this patch, index buffers where always mapped in case we needed the
    index data for the indexed point sprites workaround.
    This patch makes it so the index buffer is only mapped in this case, when
    we need to stream index data or when we need to fill the static copies of
    the index buffers.
    
    This make the memory usage of
    http://alteredqualia.com/xg/examples/mammoth.html go down from 41MB to
    28MB.
    
    BUG=angleproject:516
    
    Change-Id: I937506d06fd6f074ef2120469dbd235e20245fca
    Reviewed-on: https://chromium-review.googlesource.com/283626Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    bc3b5e63
IndexDataManager.cpp 10.5 KB
EditWeb IDE
×

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