Skip to content
  • Dave Airlie's avatar
    radv: add external memory support. · 4ba2e6cb
    Dave Airlie authored and Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen committed
    
    
    This adds support for exporting 2D images, to an
    opaque fd.
    
    This implements the:
    VK_KHX_external_memory_capabilities
    VK_KHX_external_memory
    VK_KHX_external_memory_fd
    
    extensions.
    
    These are used by SteamVR, we should work with anv
    to decide if we should ship these under an env
    var or something.
    
    v2 (Bas): - Don't expose the semaphore ext without implementing it.
              - Only export the capabilities ext as instance ext.
              - Implement radv_GetPhysicalDeviceExternalBufferPropertiesKHX.
    
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    Signed-off-by: default avatarBas Nieuwenhuizen <basni@google.com>
    4ba2e6cb