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

Update khronos api and remove gl_common. #30

Merged
merged 1 commit into from
Jan 27, 2016
Merged

Update khronos api and remove gl_common. #30

merged 1 commit into from
Jan 27, 2016

Conversation

signedin
Copy link
Contributor

Proposing this again after some more thought and testing.

First, the khronos_api version update is self explanatory; the new version 1.0.0 exists.

Next, regarding the removal of gl_common, the initial motivation was to prevent the gfx crate from compiling both libc 0.2.x and libc 0.1.x.
It was observed that gfx depended on gfx_gl which depended on gl_common.
The idea that gl_common might be unnecessary came when reading this: https://github.com/bjz/gl-rs/pull/359 "Remove the gl_common crate #359".

The gfx crate depends on gfx_gl so to test these changes the following actions were performed on gfx:
cargo build
cargo run --example triangle
cargo run --example cube
cargo run --example deferred
All of the above built successfully and the examples ran successfully.

Proposing this again after some more thought and testing.

First, the khronos_api version update is self explanatory; the new version 1.0.0 exists.

Next, regarding the removal of gl_common, the initial motivation was to prevent the gfx crate from compiling both libc 0.2.x and libc 0.1.x.
It was observed that gfx depended on gfx_gl which depended on gl_common.
The idea that gl_common might be unnecessary came when reading this: [brendanzab/gl-rs#359 "Remove the gl_common crate #359"] (brendanzab/gl-rs#359).

The gfx crate depends on gfx_gl so to test these changes the following actions were performed on gfx:
cargo build
cargo run --example triangle
cargo run --example cube
cargo run --example deferred
All of the above built successfully and the examples ran successfully.
@kvark
Copy link
Member

kvark commented Jan 26, 2016

Looks nice! @bjz ?

@brendanzab
Copy link
Contributor

👍

Next update to gl_generator will also remove the need to depend on khronos_api as well!

brendanzab added a commit that referenced this pull request Jan 27, 2016
Update khronos api and remove gl_common.
@brendanzab brendanzab merged commit 260da39 into gfx-rs:master Jan 27, 2016
@signedin signedin deleted the patch-1 branch January 27, 2016 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants