• Show log

    Commit

  • Hash : 0561884e
    Author : Charlie Lao
    Date : 2023-04-26T17:26:42

    Vulkan: Dirty VertexArray binding bit if buffer storage change
    
    In crrev.com/c/3669603, we did optimization for black_desert_mobile that
    when vertex array is unbound, we remove vertex array from buffer's
    observer list to reduce overhead of observer notifications when buffer
    is been modified. To compensate for the lost notification, when vertex
    array is bound, we always assume every buffer that is bound to vertex
    array has been dirtied, for the simplicity at that time. This CL further
    the optimization of that CL. In this CL, I moved the dirty bit set into
    backend and improves vulkan backend by checking buffer's serial number
    and only dirty the binding if the serial has changed. Given this, now we
    can also remove all the non-current vertex array from buffer's observer
    list (previously it is heuristic based with a hard coded observer count
    limit). This and the previous CL improves asphalt_9 by ~1%.
    
    Bug: b/277644512
    Change-Id: Ibc3f8e3df9fe70c6879e0b2bca86d8487a9dba73
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4481241
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Yuxin Hu <yuxinhu@google.com>
    Commit-Queue: Charlie Lao <cclao@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