Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Vulkan
  • VkDeviceMemoryExternalLinux.hpp
Find file
BlameHistoryPermalink
  • David 'Digit' Turner's avatar
    vulkan: Support VK_KHR_external_memory_fd on OS X. · 89fd1480
    David 'Digit' Turner authored Feb 20, 2020
    This CL adds a Posix-based implementation for the
    VK_KHR_external_memory_fd Vulkan extension, using the SysV
    shm_open() / shm_unlink() API to create the shared
    memory region.
    
    The Linux backend still uses memfd-based regions which
    are easier to create, and because Android does not provide
    shm_open() intentionally [1].
    
    [1] https://android.googlesource.com/platform/ndk/+/4e159d95ebf23b5f72bb707b0cb1518ef96b3d03/docs/system/libc/SYSV-IPC.TXT
    
    Bug: b/140419396
    Tests: dEQP-VK.*
    Change-Id: Ibbb23c3af59e81f76e41a0e71281f6d1a8b07c01
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41408Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarYilong Li <liyl@google.com>
    Commit-Queue: Nicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    89fd1480
VkDeviceMemoryExternalLinux.hpp 2.31 KB
EditWeb IDE
×

Replace VkDeviceMemoryExternalLinux.hpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.