Skip to content
/ glOOF Public

glOOF: an OpenGL implementation experiment

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

eddyb/glOOF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glOOF: an OpenGL implementation experiment

Usage

cargo run foo ... will run foo ... with a LD_LIBRARY_PATH containing both libGL.so.1 and libGLX.so.1 symlinked to libgloof.so, so that glOOF can have full control over GLX and OpenGL functions.

cargo run glxgears is known to work enough to be a good demonstration, and has been the sole testcase for glOOF so far.

cargo run --target i686-unknown-linux-gnu wine wglgears.exe should also work, though (assuming you're on x86_64-unknown-linux-gnu) you'll need:

  • rustup target add i686-unknown-linux-gnu for a 32-bit Rust std
  • a "multilib" C compiler (i.e. which can link -m32 binaries to 32-bit libc)

Warning: other applications that use OpenGL (especially modern ones) will likely use functions not yet exported by libgloof.so, and probably crash while trying to load them (or crash from an unimplemented!(...) panic later, instead).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

glOOF: an OpenGL implementation experiment

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages