From fb7fa435af36197db5493775d01b4339484ae225 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Sun, 3 Feb 2019 18:28:22 +0100 Subject: fmt wireup, framebuffer --- gfx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gfx.h') diff --git a/gfx.h b/gfx.h index 3b1885c..c2ed7f5 100644 --- a/gfx.h +++ b/gfx.h @@ -28,6 +28,8 @@ struct gfxfmt { extern gfxfmt fmt_list[]; extern uint32_t fmt_count; +gfxfmt *gfx_fmt_find_pixman(pixman_format_code_t pixman); + struct gfxstate { /* info */ uint32_t hdisplay; @@ -35,6 +37,7 @@ struct gfxstate { uint32_t stride; uint8_t *mem; uint8_t *mem2; + gfxfmt *fmt; uint32_t bits_per_pixel; uint32_t rlen, glen, blen, tlen; -- cgit