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
  • TextureD3D.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix invalid storage recovery on FL 9_3. · da066657
    Jamie Madill authored Jun 21, 2017
    This problem was uncovered when I inadvertently changed TextureD3D to
    delete its storage before its images. Small mips of compressed
    textures must use a nullptr argument to CopySubResource, otherwise
    the runtime complains about un-aligned sizes.
    
    Also change the class to delete the Images before the Storage again
    so we don't wastefully recover the images before deleting them. Also
    change the Image pointers to use std::array and std::unique_ptr.
    
    BUG=angleproject:1156
    BUG=angleproject:2077
    
    Change-Id: Idb2e53835b7a9b973285ff0781f70b25f05c77aa
    Reviewed-on: https://chromium-review.googlesource.com/543438Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    da066657
TextureD3D.cpp 129 KB
EditWeb IDE
×

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