diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-10 18:32:26 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-12 12:23:15 -0400 |
commit | bea8daf5e49055bc72ab7f61d245463b1ef1f1bd (patch) | |
tree | 13b47f64316102b01e4c719c958f51a952ce7210 /src/platform/windows/mod.rs | |
parent | 8c6a3cb1ac90cc8c625c735193c49489379940d8 (diff) | |
download | glutin-bea8daf5e49055bc72ab7f61d245463b1ef1f1bd.tar.gz glutin-bea8daf5e49055bc72ab7f61d245463b1ef1f1bd.zip |
x11: initial implementation of from_existing_window
This adds the ability to create a glutin Window that wraps a pre-existing X
Window. The proximal motivation for this is to allow writing of XScreensaver
hacks in Rust, but it might also be useful for embedding 3D graphics in larger
applications with full process separation, etc.
This commit includes a bit of inline documentation, but no tests, and the
details of what if any WindowAttributes or pixel information should be applied
to the existing window aren't worked out.
Diffstat (limited to 'src/platform/windows/mod.rs')
0 files changed, 0 insertions, 0 deletions