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
  • RenderTargetVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Defer framebuffer clears. · d657e1d7
    Jamie Madill authored Apr 24, 2020
    This works by storing the deferred clears in the ImageHelper's staging
    buffers. We apply the deferred clears onto the RenderPass right before
    we begin to draw. Storing the clears in the ImageHelper solves problems
    where we clear GL Textures in a Framebuffer and then unbind the
    Textures and sample from them. Or do other commands like CopyTexImage.
    
    Note that because the staging buffer clears only handle full-image
    clears we need to immediately apply some scissored clears where before
    we would use the RP. This should be a pretty rare occurrence and it is
    possible to optimize that in the future.
    
    Reduces the RenderPass count in the Manhattan "frame 10" trace from max
    22 to max 20. May improve perf slightly on Android or may have effects
    too small to measure. Should not regress performance.
    
    Bug: angleproject:4517
    Change-Id: I02150d531022afb903f1058f070937ec6337bd88
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2142711Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    d657e1d7
RenderTargetVk.cpp 5.77 KB
EditWeb IDE
×

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