• Show log

    Commit

  • Hash : ea580484
    Author : Charlie Lao
    Date : 2021-10-05T13:40:01

    Vulkan: Add feature flag to prefer CPU copy instead of staged update
    
    For ARM GPU, use GPU to do buffer to buffer copy has performance penalty
    due to potential bubble in the vertex pipeline. This CL adds a feature
    flag preferCPUForBufferDataSubData so that we can enable this behavior
    for ARM GPUs.
    
    This CL also tracks if GPU has referenced this BufferVk's storage since
    it got new storage. Due to sub-allocation, we may get a new sub-range of
    the same BufferHelper object when allocating new storage. But we
    currently do not have a way to track GPU progress of the sub-range of a
    buffer. So we will end up using BufferHelper's queueSerial to decide if
    it is still GPU busy or not. This CL adds mHasBeenReferencedByGPU
    boolean variable that will set to false when we got a new allocation and
    set to true as soon as buffer is been referenced by any GPU command. We
    use this to avoid checking queueSerial if it never been referenced by
    GPU. This is a temporary workaround for the bug, the full fix is tracked
    by https://issuetracker.google.com/201826021
    
    Bug: b/200067929
    Change-Id: I231fb0a678b0165a2ce1775d0aa4dbe7512fb4a8
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3183398
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Tim Van Patten <timvp@google.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags