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

Split out backend code into separate modules #89

Closed
bjadamson opened this Issue Sep 6, 2016 · 4 comments

Comments

Projects
3 participants
@bjadamson

Implementing a function for different back-ends all inline within the function body becomes unmaintainable over time.

Example:
https://github.com/amethyst/amethyst/blob/develop/src/context/src/asset_manager.rs#L118-L139

The different backend implementations should be moved to their own separate module.

@bjadamson

This comment has been minimized.

Show comment
Hide comment
@bjadamson

bjadamson Sep 7, 2016

I'm working on this at the moment.

I'm working on this at the moment.

@bjadamson

This comment has been minimized.

Show comment
Hide comment
@bjadamson

bjadamson Sep 8, 2016

#98 I just sent a pull request moving all of this code entirely, and instead depend on Gfx to handle the backend code.

#98 I just sent a pull request moving all of this code entirely, and instead depend on Gfx to handle the backend code.

@bjadamson

This comment has been minimized.

Show comment
Hide comment
@bjadamson

bjadamson Oct 6, 2016

idea for using traits for better separation:

https://www.youtube.com/watch?v=erJdCIti_O8

idea for using traits for better separation:

https://www.youtube.com/watch?v=erJdCIti_O8

@ebkalderon ebkalderon added this to New in Renderer Feb 3, 2017

@Xaeroxe

This comment has been minimized.

Show comment
Hide comment
@Xaeroxe

Xaeroxe Sep 15, 2017

Member

Complete, closing.

Member

Xaeroxe commented Sep 15, 2017

Complete, closing.

@Xaeroxe Xaeroxe closed this Sep 15, 2017

@omni-viral omni-viral moved this from New to Done in Renderer Nov 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment