• Show log

    Commit

  • Hash : e24f4519
    Author : Igor Nazarov
    Date : 2023-01-19T02:30:39

    Vulkan: Add externalFence into submitCommands()
    
    Currently one-off fence in the `queueSubmitOneOff()` is used only in
    `SyncHelperNativeFence::initializeWithFd()` to submit external fence.
    Other `queueSubmitOneOff()` calls may use `QueueSerial` instead of a
    fence.
    
    Providing `fence` into `queueSubmitOneOff()` prevents tracking that
    submission with `QueueSerial`. Therefore using `mUse` to collecting
    `mFenceWithFd` as garbage will not work as intended.
    
    This CL removes `fence` from `queueSubmitOneOff()` and adds
    optional `externalFence` into `submitCommands()` instead.
    Providing `externalFence` will cause additional `vkQueueSubmit()` call:
    - first submission will submit everything as usual except using
      the `externalFence`.
    - second, will only submit internal `CommandQueue` fence for
      `QueueSerial` tracking.
    
    As the result of this CL, call to `initializeWithFd()` will always
    produce two (2) `vkQueueSubmit()` calls. Previously it may be one (1) or
    two (2) submissions. Future CL will reduce submission count to one (1).
    
    If add additional submission into `queueSubmitOneOff()` instead of
    `submitCommands()`, then maximum number of submissions will be
    three (3).
    
    Bug: angleproject:8117
    Change-Id: I6f1ec12682aaab71bfc871e665fec2659df96b26
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4392877
    Reviewed-by: Charlie Lao <cclao@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Igor Nazarov <i.nazarov@samsung.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