diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:05:46 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:05:46 +0100 |
commit | 8b995ae58d66333618da67432b921c78b7752862 (patch) | |
tree | e2998a85dd5835a83c0015a11fc772d7099a07dd /x11.h | |
parent | 8c074984301b0e358d0698535d9f457b703db59d (diff) | |
download | fbida-8b995ae58d66333618da67432b921c78b7752862.tar.gz |
drop dither support, switch shadow fb to DRM_FORMAT_XRGB8888 (aka CAIRO_FORMAT_RGB24)
Diffstat (limited to 'x11.h')
-rw-r--r-- | x11.h | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -5,28 +5,18 @@ extern int display_type; extern int display_depth; extern XVisualInfo *info; -extern int x11_grays; -extern unsigned long *x11_map; - extern unsigned long x11_lut_red[256]; extern unsigned long x11_lut_green[256]; extern unsigned long x11_lut_blue[256]; -extern unsigned long x11_lut_gray[256]; -extern unsigned long x11_map_color[256]; -extern unsigned long x11_map_gray[64]; - -#define x11_black x11_map_gray[0] -#define x11_gray x11_map_gray[47*x11_grays/64] -#define x11_lightgray x11_map_gray[55*x11_grays/64] -#define x11_white x11_map_gray[63*x11_grays/64] extern unsigned long x11_red; extern unsigned long x11_green; extern unsigned long x11_blue; +extern unsigned long x11_gray; extern int have_shmem; -int x11_color_init(Widget shell, int *gray); +int x11_color_init(Widget shell); void x11_data_to_ximage(unsigned char *rgb, unsigned char *ximage, int x, int y, int sy, int gray); |