Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to gfx-rs HAL #175

Closed
kvark opened this issue Feb 6, 2018 · 2 comments
Closed

Port to gfx-rs HAL #175

kvark opened this issue Feb 6, 2018 · 2 comments
Labels

Comments

@kvark
Copy link
Collaborator

kvark commented Feb 6, 2018

Current three-rs is based on the published gfx-0.17, which is developed in pre-ll branch of gfx-rs. The new gfx-rs core is called HAL, and it's first version is about to be published, so we should discuss the prospects on moving into it.

Pros:

  • super helpful dog-fooding for HAL
  • potentially faster
    • requires more architectural changes to take advantage of
    • counter point: we are fast enough for the target use cases
  • easier to extend with user data because of descriptor sets
    • counter point: user needs to understand parts of HAL

Cons:

  • HAL is not as stable as the current gfx, both in terms of API and run-time bugs/features
  • considerable amount of work to port
    • largely depends on helper layers (like gfx_mem) that we need to use, and they are even less stable at the moment
@kvark
Copy link
Collaborator Author

kvark commented Feb 6, 2018

My current position: super fine control of latency and CPU overhead is not required for Three-rs. We should focus instead on features and ergonomics for now. Then re-consider later when HAL is more polished and accessible.

@kvark
Copy link
Collaborator Author

kvark commented Mar 5, 2019

Closing in favor of #222

@kvark kvark closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant