• Show log

    Commit

  • Hash : 376d309c
    Author : Charlie Lao
    Date : 2022-12-15T09:43:00

    Vulkan: Remove unnecessary usesBuffer() check
    
    There are places that we call setQueueSerial after usesBuffer() check.
    This was useful when we had the ResourceList where it is more expensive
    to set serial. But now setQueueSerial is cheap (actually is cheaper than
    usesBuffer check), so there is no need to do this check any more. This
    CL removes the check to further reduce the CPU overhead. Because of
    this, mUsedBufferCount will not be accurate, so this CL also removes the
    tracking of mUsedBufferCount (was only for informational purpose
    anyway).
    
    This CL also removes commandBufferQueueSerial.valid() check in
    Resource::usedByCommandBuffer() and turns it into assertion. Some places
    in contextVk will ensure we only call it on started renderpass so that
    other places that calls usedByCommandBuffer will not need to eat the if
    check.
    
    Bug: b/262047600
    Change-Id: I6b8004b6aa5b567fa94c0eb56801054f818838b1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4112145
    Reviewed-by: Yuxin Hu <yuxinhu@google.com>
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    

  • 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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags