Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Async refactor #84

Open
randomPoison opened this issue Jan 13, 2017 · 1 comment
Open

Async refactor #84

randomPoison opened this issue Jan 13, 2017 · 1 comment

Comments

@randomPoison
Copy link
Owner

randomPoison commented Jan 13, 2017

Refactor the renderer to user fibers in a manner similar to how we refactored the engine core. OpenGL still can handle running in parallel, but at the least we can make the renderer thread-safe to a degree and make it better integrate with the rest of the engine.

@randomPoison
Copy link
Owner Author

The biggest thing that could be improved here would be to move the resource handle management into the renderer. Currently the engine does a lot of work to turn the IDs generated by polygon into unique handles that can be used safely in a multi-threaded context. This work could be done by polygon directly, which would likely simplify the engine's code and bring some clarity as to other ways for polygon to be parallelized.

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

No branches or pull requests

1 participant