Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Add RingBuffer and move imgui over to it. #62

Open
benvanik opened this issue Jul 13, 2017 · 1 comment
Open

Add RingBuffer and move imgui over to it. #62

benvanik opened this issue Jul 13, 2017 · 1 comment
Assignees
Labels

Comments

@benvanik
Copy link
Contributor

Currently playing with fire by reusing the same buffers for drawing. Need to write a gfx::RingBuffer to reuse that does the right things here, as well as add QueueFence queries and waiting to properly manage the read/write heads.

Can't have QueueFence be an Event, unfortunately, but could add a Wait() method on it as well as a query.

Can support both wait and query easily on vulkan, webgl2/es3, and d3d. Metal needs some custom work via command submit completion handlers, but nothing bad.

@benvanik benvanik created this issue from a note in Graphics API (In Progress) Jul 13, 2017
@benvanik benvanik self-assigned this Jul 13, 2017
@benvanik
Copy link
Contributor Author

Gonna fake it w/ MemoryPool for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

1 participant