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
  • SurfaceVk.h
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: fix CPU throttling frames to 2 · af0301a8
    Shahbaz Youssefi authored Apr 09, 2019
    Previously, the CPU was throttled to be at most N frames ahead, N being
    the number of swapchain images.  N is now fixed to 2, regardless of the
    number of swapchain images.  If N < 2, we would be stalling the CPU
    unnecessarily, and if N > 2, the CPU could get too far ahead.
    
    Effectively, here is how the throttling plays out with this commit:
    
    Submit (Fence 1) + Present
    Submit (Fence 2) + Present
    Wait Fence 1
    Submit (Fence 3) + Present
    Wait Fence 2
    Submit (Fence 4) + Present
    Wait Fence 3
    Submit (Fence 5) + Present
    Wait Fence 4
    ...
    
    Bug: angleproject:2942
    Change-Id: I3b8c3bb88e52d62231306ec84aad50d2bf472d8c
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1558681Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    af0301a8
SurfaceVk.h 9.66 KB
EditWeb IDE
×

Replace SurfaceVk.h

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.