This series is an initial step towards the implementation of EXT_external_objects. It implements the functionality under EXT_memory_object and EXT_memory_object_fd.
Note that in this family of cross-API extensions, GL is a consumer only. Therefore, only import entrypoints are defined in the spec. This is my first mesa GL extension, so any feedback you have is welcome. I'm most likely guilty of at least one faux pas somewhere in this series. If anyone has any suggestions on a better approach for populating device UUIDs please let me know. I picked an approach that was as generic as possible for all drm based drivers. However, I'm not sure if that approach is completely kosher with respect to the mesa architecture. Tested by sharing a dedicated vulkan allocation with a gl context in the same process. The initial texture was loaded by vulkan, then consumed by GL. Follow-up work includes support for EXT_semaphore and EXT_semaphore_fd. The path for non-dedicated allocations might also need some improvements. This series is available at: https://github.com/lostgoat/mesa/tree/wip-mem-obj-v1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev