rust-windowing / raw-window-metal Goto Github PK
View Code? Open in Web Editor NEWInteroperability library for Metal and raw-window-handle for surface creation.
License: Apache License 2.0
Interoperability library for Metal and raw-window-handle for surface creation.
License: Apache License 2.0
Supporting multiple version would be nice of course but currently I can't estimate the overhead for this as I haven't been following the
rwh
api changes lately tbh
Supporting multiple versions on the producer end is really easy via just implementing the traits for each version of the crate (feature-gated so that you don't have to have duplicate raw-window-handle
dependencies). However, doing this for the consumer end (here and in ash-window
for example) is more problematic as we should essentially have multiple versioned functions of metal_layer_from_handle()
for each version of raw-window-handle
, Alternatively we could implement a conversion trait
for every version of raw-window-handle
.
@notgull suggestions (preferably in a separate issue/PR/discussion)?
Originally posted by @MarijnS95 in #10 (comment)
In the Layer::Allocated
case we should release the allocated layer to avoid leaking.
This could be done by implementing Drop
and calling msg_send![layer, release]
.
@msiglreith seems to not have the time to maintain this any more (if I understood correctly?), so we should transfer this to the @rust-windowing organization. This was agreed on at the previous Winit meeting.
Tasks:
madsmtm
, daxpedda
and kchibisov
.Hi, it looks like both core-graphics
and cocoa
are out of date, would you mind updating them to their latest versions and publishing a new version of this crate?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.