• Show log

    Commit

  • Hash : 4d317b52
    Author : Amirali Abdolrashidi
    Date : 2024-03-22T15:48:51

    Vulkan: Add MSRTSS preferred usage for tex init
    
      The image create flag related to multisampled render to single-
    sampled was used when this feature flag was enabled. However, this
    could lead to some platforms allocating extra memory for the image,
    even if the image did not use this feature.
    
    In this change, a new feature is added regarding whether to prefer this
    flag from the start. If disabled, ANGLE will only use this bit for the
    texture if it is actually bound to an MSRTT framebuffer object (through
    FramebufferTexture2DMultisampleEXT()).
    
    * Added a new feature: preferMSRTSSFlagByDefault
      * If enabled, the MSRTSS is used for all image inits.
        * (TextureVk::initImage())
      * Otherwise, it will create the image without the flag at first.
    
    * Added member to texture frontend to track if the texture has been
      bound to an MSRTT framebuffer.
      * mHasBeenBoundToMSRTTFramebuffer
    
    * During TextureVk::syncState(), if the image without the MSRTSS bit
      is bound to an MSRTT framebuffer, it is recreated using the
      MSRTSS flag.
      * Checked in respecifyImageStorageIfNecessary().
    
    Bug: b/329911999
    Bug: angleproject:8622
    Change-Id: I5e7d43e3828ae272441d65b2be35d09b23b68f84
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5402978
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Charlie Lao <cclao@google.com>
    Commit-Queue: Amirali Abdolrashidi <abdolrashidi@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