Skip to content

Multi-threaded acquisition #39

@isabelburgos

Description

@isabelburgos

Transferring image data over USB and rendering an image on the screen should not be happening in the same thread, but that's where we're at currently.
The GUI should be running in the main thread, and prioritize responding to user input. Data transfer should happen in a separate thread. Even better, image rendering should also happen in a separate thread.
I haven't figured out how to do this yet.
Possible tools to use:

It seems like there needs to be a shared memory situation - image data transfer bandwidth can approach 48 MB/s, a single image can be max 2^28 pixels, so we probably want to minimize how many times we're making copies of the data.

I've made many attempts to do this, but still currently lack the skills to implement this effectively. Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions