#glsl #optimization #opengl #opengl-es #gles

sys glsl-optimizer-sys

An FFI interface to glsl-optimizer

1 unstable release

Uses old Rust 2015

0.1.0 Oct 24, 2016

#6 in #gles


Used in glossy_codegen

MIT license

3MB
60K SLoC

C++ 47K SLoC // 0.2% comments C 7.5K SLoC // 0.2% comments Visual Studio Project 2.5K SLoC Happy 2K SLoC LLVM 583 SLoC Lex 324 SLoC // 0.3% comments Scons 111 SLoC // 0.1% comments Rust 97 SLoC // 0.1% comments Visual Studio Solution 62 SLoC Shell 27 SLoC // 0.1% comments JavaScript 26 SLoC // 0.1% comments

glsl-optimizer-sys

Rust FFI bindings for glsl-optimizer. Currently only supports building with CMake and dynamic linking to libstdc++.

Dependencies