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
  • d3d11
  • Renderer11.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    D3D11: Copy from Image objects instead of TextureStorage when possible. · 80da4214
    Geoff Lang authored Jan 29, 2020
    glCopyTextureCHROMIUM calls in D3D11 would call getNativeTexture on the
    copy source which would allocate a TextureStorage11 if one did not
    already exist. This caused full mip-chain allocations in some cases when
    we could have just copied directly from the staging Image11.
    
    When navigating to wikipedia.org:
    
                          Peak memory | Stable memory
    Passthrough (before):      142 mb |        119 mb
    Passthrough (after):       138 mb |        106 mb
    Validating:                139 mb |        110 mb
    
    No mip-mapped textures were allocated after this change.
    
    BUG=chromium:1030835
    
    Change-Id: Icd14afaec445299423cfea293cba501d774f6ade
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2028147
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarRafael Cintron <rafael.cintron@microsoft.com>
    80da4214
Renderer11.cpp 160 KB
EditWeb IDE
×

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