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
  • formatutils11.cpp
Find file
BlameHistoryPermalink
  • Matt Woodrow's avatar
    Avoid a copy in TextureStorage11::setData · 9cf9bcbe
    Matt Woodrow authored Aug 17, 2015
    This code always allocates a new memory buffer for the texture memory,
    picks a load function to copy/convert the input data into it, and the
    uploads.
    
    In the case where the input format matches the upload format we should
    be able to skip the allocation and copy and be much happier.
    
    Change-Id: I8b8c106e0d397bef1c4bcfdb0df60669030776a3
    Reviewed-on: https://chromium-review.googlesource.com/293742Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Tryjob-Request: Geoff Lang <geofflang@chromium.org>
    9cf9bcbe
formatutils11.cpp 119 KB
EditWeb IDE
×

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