Skip to content

unnecessary Send+Sync requirement on framebuffer of AutoCommandBufferBuilder::begin_render_pass #994

@SamP20

Description

@SamP20

This an issue currently blocking Vulkano support in rust-SDL2 Rust-SDL2/rust-sdl2#785.

The current implementation of vulkano::command_buffer::AutoCommandBufferBuilder::begin_render_pass (and possibly others) requires framebuffer to be Send+Sync. This in turn requires vulkano::swapchain::Surface<W> to also be Send+Sync. Unfortunately rust-SDL2 has the requirement that it's windows cannot be sent between threads, and thus cannot be stored in a Surface<W>.

Is there any way of removing the Send+Sync requirement of W in Surface<W>?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions