| 183 | |
| 184 | #[repr(C)] |
| 185 | pub struct FBShare<'a> { |
| 186 | pub pixels: &'a mut [RGBA], |
| 187 | pub w: usize, |
| 188 | pub h: usize, |
| 189 | } |
| 190 | impl FB { |
| 191 | pub fn new(info: &FrameBufferInfo) -> Self { |
| 192 | let w = info.width; |
nothing calls this directly
no outgoing calls
no test coverage detected