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
  • vulkan
  • UtilsVk.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Use GPU path for copy to sRGB textures · b900f4e2
    Shahbaz Youssefi authored Jun 12, 2020
    To avoid creating aliasing views for sRGB textures, the ImageCopy
    texture will do/undo sRGB transformation such that the final result is
    as-if both source and destination views were linear.
    
    Possible future optimizations:
    
    - If either of source or destination has already been created with the
      MUTABLE flag, i.e. has a linear view already available, that can be
      used.
    - If destination is sRGB but not renderable while its corresponding
      linear format is, and if the image is already created with the MUTABLE
      flag, using the linear view would allow the copy to go through the GPU
      instead of the CPU.
    
    Bug: b/157934810
    Bug: angleproject:4092
    Change-Id: I43aaf882c90e1c60d0d9eb04636c203fc04090a4
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2241622Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    b900f4e2
UtilsVk.cpp 82.8 KB
EditWeb IDE
×

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