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
  • RenderTarget11.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D11: Don't copy SharedSRVs around. · 0a82f2fa
    Jamie Madill authored May 30, 2017
    This was causing a very large performance regression in Texture
    re-binding. Instead pass by const &, which should be fine, since
    values in std::map (and unordered_map) are not reallocated when the
    map changes.
    
    Also make the SharedResource type non-copyable, and add an explicit
    makeCopy method for when we need to clone the shared pointer.
    
    BUG=angleproject:2034
    BUG=chromium:727318
    
    Change-Id: I39508a6ca4b41e4da31fe68899caa4464138cada
    Reviewed-on: https://chromium-review.googlesource.com/517670
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    0a82f2fa
RenderTarget11.cpp 11.1 KB
EditWeb IDE
×

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