Joonas Javanainen
d9e5ea37e7
Update examples, glium is the leading renderer again
2019-06-27 22:12:35 +03:00
Joonas Javanainen
42d3c0f6d7
Pull renderer/draw data updates from 0.1-dev
2019-06-27 22:12:35 +03:00
Joonas Javanainen
c37bd8b1f9
Purge imgui-sys fully of legacy manual bindings
2019-06-27 22:12:35 +03:00
Joonas Javanainen
721bf46746
Pull input+winit stuff from 0.1-dev
2019-06-27 22:12:35 +03:00
Joonas Javanainen
b1e1b4f910
Pull Io struct and related things from 0.1-dev
2019-06-27 22:12:25 +03:00
Joonas Javanainen
9516e622be
Pull first part of 0.1 context API
2019-06-27 18:18:57 +03:00
Joonas Javanainen
92de1588f2
Use generated and wrapped style structs/enums
2019-06-27 17:55:33 +03:00
Joonas Javanainen
f7a7961cee
Replace ImCond with Condition
2019-06-27 17:29:09 +03:00
Michael Tang
041098da85
Merge remote-tracking branch 'upstream/master'
2019-04-21 19:46:50 -07:00
Michael Tang
d11e008aa0
Add DirectX support behind feature flag
2019-04-21 19:41:14 -07:00
Joonas Javanainen
41d6ccc6b3
Upgrade dependencies
2019-04-21 13:25:46 +03:00
Michael Tang
616d61767f
WIP hlsl support
2019-04-13 20:44:03 -07:00
Joonas Javanainen
09bff25346
Bump version to 0.0.24-pre
2019-04-10 22:31:30 +03:00
Joonas Javanainen
e2a6ff6ea6
Release: 0.0.23
2019-04-10 22:27:39 +03:00
Joonas Javanainen
a51afa0539
Upgrade to gfx 0.18
2019-04-10 21:38:57 +03:00
Joonas Javanainen
b5c9d46303
Bump version to 0.0.23-pre
2019-02-05 21:26:31 +02:00
Joonas Javanainen
28ece175ef
Release: 0.0.22
2019-02-05 21:22:15 +02:00
Joonas Javanainen
91a961e06a
Use more 2018 edition idioms
2018-12-31 12:16:28 +02:00
Joonas Javanainen
0d878e1ecb
Upgrade dependencies in examples
2018-12-31 12:00:24 +02:00
Joonas Javanainen
20139851e2
Upgrade to Rust 2018 edition
...
We might as well do this since we've been forced to 1.31...
2018-12-31 11:51:34 +02:00
Joonas Javanainen
eb5aaf1c2a
Replace imgui-glutin-support with imgui-winit-support
2018-12-16 12:02:42 +02:00
Malik Olivier Boussejra
d7a37a25fc
[gfx-examples] Update Cargo.lock
2018-12-01 17:57:54 +09:00
Malik Olivier Boussejra
7268d35be7
[gfx_examples] Update glutin to 0.19.0
...
Attempt to fix #172 for gfx back-end.
2018-12-01 17:57:54 +09:00
Malik Olivier Boussejra
ecffa09e84
[examples] Have examples share font resources
...
We do not keep a copy of the same file in two different places.
Let's move the resources to the same directory.
2018-11-23 16:56:47 +09:00
Malik Olivier Boussejra
55cddf955a
[examples] Add Cargo.lock
2018-11-01 08:02:53 +09:00
Malik Olivier Boussejra
5afcc937fe
[gfx-examples] Use imgui-glutin-support
2018-10-29 03:06:08 +09:00
Malik Olivier Boussejra
46cf67e89c
[imgui-examples] Split glium and gfx examples into separate crates
...
To avoid conflicts in dependency version, this commit put examples using
different renderers in different crates.
Especially, glium and gfx do not necessarily depend on the same version
of glutin.
We have two examples:
- imgui-examples (main examples, use gfx renderer here)
- imgui-glium-examples (basic hello_glium example + maybe some texture stuff)
Once vulcano support lands, we may add: imgui-vulkano-examples.
This commit currently only moves files around. We plan to use gfx as a
"main2 renderer for now on as gfx is more actively maintained that
glium. Subsequent commits will migrate some glium examples to gfx.
2018-10-29 03:06:05 +09:00
Joonas Javanainen
4da1e5f54a
Add explicit OpenGL 3.2 support
...
Some old OS X environments refuse to work with OpenGL 3.0 even though
they support later versions.
2018-10-28 12:19:17 +02:00
Joonas Javanainen
c1e4641b2f
Fix support_gfx font load order
2018-10-12 23:56:46 +03:00
Joonas Javanainen
b4edc01574
Adapt to 1.65 changes
2018-10-12 22:41:15 +03:00
Joonas Javanainen
f088b4ee1b
Bump version to 0.0.22-pre
2018-10-11 23:17:59 +03:00
Joonas Javanainen
c85e73eca6
Release: 0.0.21
2018-10-11 23:14:38 +03:00
Malik Olivier Boussejra
4f360b8edf
[examples] test_window_impl: Add "Close" button to stacked modals
...
The "Close" button was forgotten in previous commits.
2018-09-28 13:36:15 +09:00
Malik Olivier Boussejra
ae9a79bd50
[examples] test_window_impl: Add "stacked modals" example
2018-09-26 09:50:19 +09:00
Malik Olivier Boussejra
68b1d331b0
[examples] test_window_impl: Add buttons to close modal
2018-09-26 09:50:13 +09:00
Malik Olivier Boussejra
2bec5ae4ed
[examples] test_window_impl: Add part of "modals" example
2018-09-26 09:50:10 +09:00
Joonas Javanainen
cc17c0097d
Bump version to 0.0.21-pre
2018-08-13 23:00:40 +03:00
Joonas Javanainen
7824984543
Release: 0.0.20
2018-08-13 22:57:37 +03:00
Joonas Javanainen
c22035250a
Restrict DPI factor to integers in support code
...
The library still supports fractional DPI factors, but it seems like a
good idea to use integer factors in examples to avoid blurry fonts and
other issues which might give the wrong impression.
2018-08-13 19:00:31 +03:00
Joonas Javanainen
21d85afee0
Remove deprecated things
2018-08-12 20:25:43 +03:00
Joonas Javanainen
2677cb0cb7
Bump version to 0.0.20-pre
2018-08-12 20:21:11 +03:00
Joonas Javanainen
af2171f93a
Release: 0.0.19
2018-08-12 20:17:56 +03:00
Joonas Javanainen
da9ee9302b
Fixes recommended by clippy
2018-08-12 19:20:14 +03:00
Joonas Javanainen
4ad173da3b
Upgrade example project dependencies
2018-08-12 18:59:17 +03:00
Joonas Javanainen
705b913a5d
Add simple font scaling to support code
2018-08-12 14:37:10 +03:00
Joonas Javanainen
319f7aa4c6
Reformat everything
2018-08-12 14:16:56 +03:00
Joonas Javanainen
558e5efe1c
Apply font oversampling in support code
...
Makes fonts slighty better with HiDPI, but it's not yet the full
solution.
2018-08-12 14:16:21 +03:00
Joonas Javanainen
aa4ae70054
Make HiDPI rendering better
...
+ use linear filtering in both renderers. Nearest just won't work
anymore if we have a non-integer scaling factor (which winit can give
us on 1440p screens for example)
+ pass around FrameSize which has the necessary info with full f64
precision
+ extra care with conversions to/from f32 and u32 and rounding
2018-08-12 14:16:21 +03:00
Malik Olivier Boussejra
10438c6000
[examples] hello_gfx: Remove dependency on sys crate
...
Before this commit, hello_gfx was dependent on sys, while it only uses
sys::ImVec4, which is a type that is anyway re-exported by imgui.
2018-08-12 10:50:00 +09:00
Malik Olivier Boussejra
2272fbe5e4
[examples] support_gfx: Remove unused label on loop
...
This loop is not nested, so the label has no use whatsoever.
2018-08-12 10:44:07 +09:00