16 Commits

Author SHA1 Message Date
Brendan Zabarauskas
3548542ca5 Make hidpi implementation consistent with upstream 2016-06-13 22:22:47 +10:00
Brendan Zabarauskas
ce45b81e8e Pass Ui struct to render closure instead of raw hidpi factor 2016-06-13 20:20:14 +10:00
Brendan Zabarauskas
734eda2d57 Add hidpi support 2016-06-13 14:31:49 +10:00
Joonas Javanainen
56f1cb964d Add rustfmt configuration and reformat 2016-06-10 22:58:50 +03:00
Joonas Javanainen
19a838104f Pass texture id to imgui, and assert during rendering 2016-03-26 19:18:05 +02:00
Joonas Javanainen
775bcbc04e Add some basic debug markers 2016-03-26 18:58:32 +02:00
Joonas Javanainen
83b949b1ad Hoist uniforms out of the draw list loop 2016-03-26 18:44:06 +02:00
Joonas Javanainen
69e9dd1537 No need to use sampled() 2016-03-26 18:43:34 +02:00
Joonas Javanainen
550b8d1c1c Fix uniform texture naming
The shaders refer to the texture with name "tex", and the name must
match on the Rust code side.

Fixes #17
2016-03-26 18:42:39 +02:00
Will Usher
2fa549bcc9 Wrap ProgramChooserCreationError properly 2015-10-17 14:14:27 -06:00
Will Usher
6eb3ffefdf Encode string of UTF8 chars using encode_default API
Using encode_utf8 will be better when it stabilizes since we won't need
the String intermediate and can go directly to a Vec<u8>.

Update to glium 0.10 to resolve ctrl/shift/etc virtual keycodes on Win10
2015-10-17 13:51:40 -06:00
Joonas Javanainen
32f789ae26 Upgrade to Glium 0.9.0 2015-09-27 16:02:57 +03:00
Joonas Javanainen
545c80f309 Split ffi module into imgui-sys 2015-08-23 09:56:13 +03:00
Joonas Javanainen
3a550208c9 Frame -> Ui 2015-08-23 09:41:03 +03:00
Joonas Javanainen
50bfb23dd0 RendererError should implement Display 2015-08-18 00:04:05 +03:00
Joonas Javanainen
ad10dff1cf Initial commit 2015-08-16 21:10:03 +03:00