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

Implement safe ImageSurface::get_data #75

Merged
merged 1 commit into from May 3, 2016

Conversation

Projects
None yet
3 participants
@gkoz
Member

gkoz commented Apr 28, 2016

Allow borrowing the underlying data when the reference to the surface is unique. The binding manages flushing and dirtying automatically.
cc #74

Implement Deref for ImageSurface.

gkoz added a commit to gkoz/gtk-rs-examples that referenced this pull request Apr 28, 2016

gkoz added a commit to gkoz/gtk-rs-examples that referenced this pull request Apr 28, 2016

@EPashkin

This comment has been minimized.

Show comment
Hide comment
@EPashkin

EPashkin May 3, 2016

Member

👍

Member

EPashkin commented May 3, 2016

👍

Implement safe ImageSurface::get_data
Allow borrowing the underlying data when the reference to the surface
is unique. The binding manages flushing and dirtying automatically.

Implement Deref for ImageSurface.
@gkoz

This comment has been minimized.

Show comment
Hide comment
@gkoz

gkoz May 3, 2016

Member

Rebased.

Member

gkoz commented May 3, 2016

Rebased.

@GuillaumeGomez

This comment has been minimized.

Show comment
Hide comment
@GuillaumeGomez

GuillaumeGomez May 3, 2016

Member

Thanks!

Member

GuillaumeGomez commented May 3, 2016

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit be21d8e into gtk-rs:master May 3, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details

@vinipsmaker vinipsmaker referenced this pull request May 23, 2016

Closed

Minimal example #74

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