Jack Spira
ee5f5abbc9
handing updating glium. i suffer
2021-09-06 23:22:40 -07:00
Jonathan Spira
a1456f3622
Merge pull request #477 from dzil123/master
...
Disable winit default features
2021-09-05 23:39:56 -07:00
Jack Spira
e8412180d8
updated changelog
2021-09-05 23:38:23 -07:00
Jack Spira
a57227d4cb
fmt
2021-09-05 23:32:54 -07:00
dzil123
610b2dc6ce
Enable winit default features by default, to avoid breakage
2021-09-05 23:24:52 -07:00
dzil123
b378477d64
Add winit 0.25 to CI and xtask
2021-09-05 23:24:24 -07:00
dzil123
9d34370989
Create dummy feature to fix clippy --all-features
2021-09-05 23:23:55 -07:00
dzil123
43e2381c93
Workaround for CI clippy --all-features
2021-09-05 23:23:38 -07:00
dzil123
b3cf8ca4a6
Re-enable winit default features during CI
2021-09-05 23:23:38 -07:00
Daniel Z
481a72fda6
Disable winit default features
2021-09-05 23:23:30 -07:00
Jack Spira
ea356177eb
broke winit 19, fixed
2021-09-05 23:16:27 -07:00
Jonathan Spira
14e87db417
Merge pull request #515 from atouchet/bdg
...
Fix crates.io badge and update some links
2021-09-05 22:54:12 -07:00
Alex Touchet
db6a6b28e6
Fix crates.io badge and update some links
2021-09-05 19:40:33 -07:00
Jack Spira
8ab0bb4496
at the end of my suffering, there was a door
...
hopefully fixed the last of examples annoyances
2021-09-05 15:48:37 -07:00
Jonathan Spira
d382dbf7a3
Merge pull request #472 from hpwxf/master
...
Fix typo in GFX examples
2021-09-05 15:02:28 -07:00
Jack Spira
af9fc52bca
closes #332 and #481
2021-09-05 14:56:21 -07:00
Jack Spira
ba3f16b228
in dependency hell I suffer
2021-09-05 14:48:52 -07:00
Jonathan Spira
5e301c85e3
Merge pull request #502 from haenno/master
...
Update README: Fix example code for gfx-examples..
2021-09-05 14:33:22 -07:00
Jonathan Spira
7965e9e6bb
Merge pull request #510 from dbr/clippereg
...
Add example of using list clipper API
2021-09-05 14:33:02 -07:00
Jack Spira
d7470caa4c
rebased and minor clippy fix
2021-09-05 14:32:32 -07:00
dbr
15c2826690
Fix fmt
2021-09-05 14:32:32 -07:00
dbr
19b2edb0f4
Add example of using list clipper API
...
Somewhat relates to #438
2021-09-05 14:32:31 -07:00
Jack Spira
6570f0bf40
okay fixed our winit hell situation
2021-09-05 14:30:47 -07:00
Jack Spira
16c44b2acb
updating glium version
2021-09-05 12:07:58 -07:00
Jonathan Spira
8940d64cf0
Merge pull request #509 from dbr/buttonflags
...
Re-export imgui::widget::misc to expose ButtonFlags
2021-09-05 12:06:06 -07:00
dbr
28e66b833c
fmt
2021-09-05 11:55:13 -07:00
dbr
5317eae5ec
Also re-export InputTextFlags
2021-09-05 11:55:12 -07:00
dbr
1d9539754b
Re-export imgui::widget::misc to expose ButtonFlags
...
Required to use ui.invisible_button_flags(...)
2021-09-05 11:55:12 -07:00
Jonathan Spira
0e3b2bdb61
Merge pull request #495 from jmaargh/jmaargh/glow-renderer
...
glow renderer
2021-09-05 11:53:20 -07:00
Jack Spira
7d06d4210f
Rebased, updated changelog, and fixed irksome clippy errors.
...
Ready for merge
2021-09-05 11:37:22 -07:00
John-Mark Allen
1cf83d9072
Add type aliases for fully-qualified Context types
2021-09-05 11:32:07 -07:00
Jack Spira
caf4809fa0
Switch to using fully qualified syntax
2021-09-05 11:32:07 -07:00
John-Mark Allen
e9c3fed303
Fix imports in doctests
2021-09-05 11:32:07 -07:00
John-Mark Allen
1dee6594c4
Make a comment more understandable
2021-09-05 11:32:06 -07:00
John-Mark Allen
2ab0878f88
Fix sRGB support and comments
...
Fix sRGB support, now when initialising a Renderer you can explicitly
choose whether to output colors in linear or sRGB color spaces.
Fix examples to show how to render these properly.
Fix comments in examples
2021-09-05 11:32:06 -07:00
John-Mark Allen
9de800da48
Fix comment
2021-09-05 11:32:06 -07:00
John-Mark Allen
84020a6bc0
Handle sRGB colours properly
2021-09-05 11:32:06 -07:00
John-Mark Allen
0cafc5c22d
Consolodate to two non-generic renderers
...
There are now only two renderers (only generic over the GL context)
- `AutoRenderer` which is both the old `OwningRenderer` and also
sets up a `SimpleTextureMap` automatically
- `Renderer` which borrows both the GL context and the texture map
on every call to Render
This means the `RendererBuilder` can be entirely removed.
Also `TrivialTextureMap` renamed to `SimpleTextureMap`.
2021-09-05 11:32:06 -07:00
John-Mark Allen
82f1122e10
Remove ShaderProvider
...
Instead, always use the previous AutoShaderProvider
2021-09-05 11:32:06 -07:00
John-Mark Allen
e12e0b1bed
Feature-gate use of glDebugMessageInsert
2021-09-05 11:32:06 -07:00
John-Mark Allen
10eb51260e
Fix lint
2021-09-05 11:32:06 -07:00
John-Mark Allen
6858d09a17
Fix lints in examples
2021-09-05 11:32:05 -07:00
John-Mark Allen
11e2741ec4
Comment
2021-09-05 11:32:05 -07:00
John-Mark Allen
382db28a28
Remove ContextStateManager as a generic
...
Instead use `GlStateBackup` every time
2021-09-05 11:32:05 -07:00
John-Mark Allen
372348051d
Prevent dead code warnings in examples/utils
2021-09-05 11:32:05 -07:00
John-Mark Allen
4df9d1e336
Remove unsafe null references
2021-09-05 11:32:05 -07:00
John-Mark Allen
80dcbe0d30
Remove unused import
2021-09-05 11:32:05 -07:00
John-Mark Allen
d1df09dab4
Add example based on custom_textures.rs
2021-09-05 11:32:05 -07:00
John-Mark Allen
87baa92b98
Fix up texture use
...
Previous `prepare_font_atlas` silently assumed a TrivialTextureMap.
Also adds an impl of `TextureMap` for `imgui::Textures` as a further
example.
2021-09-05 11:32:04 -07:00
John-Mark Allen
fc82d41154
Add accurate framerate to basic example
2021-09-05 11:32:04 -07:00