• Show log

    Commit

  • Hash : b875f47b
    Author : Charlie Lao
    Date : 2023-04-24T11:11:03

    Vulkan: Make mLastSubmittedQueueSerial reflect what it means
    
    Right now we always update ContextVk::mLastSubmittedQueueSerial and
    ContextVk::mLastFlushedQueueSerial when context becomes current, even
    though it does not make any submission. It was done it this way mainly
    for simplification (i.e, you will always see both queueSerial's index
    the same). But this also causes a performance cost when a
    mLastSubmittedQueueSerial is used to tag a resource. For example, if you
    insert a EGLSync right after makeCurrent, that EGLSync may get a queue
    serial number bigger than it should be, which will translate to longer
    sync wait time. This CL changes these two queue serial to exact what the
    name suggests, that it will only update if we made a "flush" or "submit"
    call.
    
    Bug: b/277644512
    Change-Id: Ibe4c78985a3fe0726836d620202e5276894a8e7c
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4458532
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: Yuxin Hu <yuxinhu@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
    kc3_lang_org www_kmx_io thodg_w thodg_l thodg thodg_m
    Tags