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

Version 0.5 #743

Merged
13 commits merged into from May 18, 2015

Conversation

@kvark
Copy link
Member

commented May 18, 2015

GFX v0.5
Closes #737

Device GL: https://github.com/gfx-rs/gfx_device_gl/pull/36
Window GLFW: https://github.com/gfx-rs/gfx_window_glfw/pull/5
Window Glutin: https://github.com/gfx-rs/gfx_window_glutin/pull/10
Examples: https://github.com/gfx-rs/gfx_examples/pull/25

List of changes:

  • Graphics and Canvas are removed. Use Stream and its variations instead. Unfortunately, present() triggers an ICE but this will hopefully get addressed soon by Rust.
  • you can create GL factories with device.spawn_factory(), which should be highly useful for libraries managing their own resources
  • gfx_parameters! doesn't need you to set the link name manually any more
  • IndexBuffer is removed. Buffer creation API is refactored.
  • Renderer::draw* helpers are removed, only the fully functional draw() is there now. The helpers are in still the Stream interface, however.
  • link_program_source doesn't have the capabilities parameter, each Factory now knows about its capabilities
  • index slices are easier to create now via &[T].to_slice(&mut Factory, PrimitiveType) helper
@ghost

This comment has been minimized.

Copy link

commented May 18, 2015

Travis seems to not want to download things today :(

@ghost

This comment has been minimized.

Copy link

commented May 18, 2015

lgtm. I want travis to be green before I will merge it.

@kvark

This comment has been minimized.

Copy link
Member Author

commented May 18, 2015

@csherratt travis is green

ghost pushed a commit that referenced this pull request May 18, 2015

@ghost ghost merged commit 894af86 into master May 18, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@kvark kvark removed the status: working label May 18, 2015

@kvark kvark deleted the v0.5 branch May 18, 2015

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.