aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-03 18:28:22 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-03 18:28:22 +0100
commitfb7fa435af36197db5493775d01b4339484ae225 (patch)
tree53730e209810b2b708a38ac642a3283d80c0e285 /gfx.h
parentc2f9a4886c3597a6e15a67323313555bc9752a58 (diff)
downloadfbida-fb7fa435af36197db5493775d01b4339484ae225.tar.gz
fmt wireup, framebuffer
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h3
1 files changed, 3 insertions, 0 deletions
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;