gfx_graphics icon indicating copy to clipboard operation
gfx_graphics copied to clipboard

A Gfx 2D back-end for the Piston game engine

Results 10 gfx_graphics issues
Sort by recently updated
recently updated
newest added

When I run `draw_state` example with 1.25x scale factor (which is my monitor default), the output of `draw_state.rs` example is like the image below. The code tells the logo to...

error: Edition 2018 is unstable and only available for nightly builds of rustc. error: Could not compile `stb_truetype`. warning: build failed, waiting for other jobs to finish... error: build failed

https://github.com/PistonDevelopers/gfx_graphics/blob/master/examples/draw_state.rs#L82

bug
discussion

I noticed this when trying to add `error_chain` to my project, because the following doesn't compile: (`piston_window::Glyphs` is `gfx_graphics::GlyphCache`) ```rust let mut glyphs = Glyphs::new("assets/fonts/FiraSans-Regular.ttf", window.factory.clone()) .chain_err(|| "Could not create...

Depends on https://github.com/PistonDevelopers/texture/issues/32.

draft

We use `Target0` for the output in gfx examples in order to be compatible with: - dx11 backend, which only gives the index but not the name - GLSL prior...

What can we do when sRGB conversion is not supported by hardware?

discussion

Currently it uses a match on the texture format. Instead, could use the method added recently to Gfx.

enhancement

This seems to happen only with Glutin on OSX.

bug

When I try drawing the same texture two or more times, texture will be drawn only first time. Example: ``` rust extern crate piston; extern crate graphics; extern crate piston_window;...

bug
help wanted