aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/render
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-11-05 21:41:08 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-05 13:57:14 +0100
commitf7207bcdc1b1f5d4b52cd3dccdde3762245ee42b (patch)
treede58da88f279d227b726a40513fd85148fd94c6b /nx-X11/programs/Xserver/render
parentb1c42dc98bea8b99eb8a2b1618421bdb698cf690 (diff)
downloadnx-libs-f7207bcdc1b1f5d4b52cd3dccdde3762245ee42b.tar.gz
nx-libs-f7207bcdc1b1f5d4b52cd3dccdde3762245ee42b.tar.bz2
nx-libs-f7207bcdc1b1f5d4b52cd3dccdde3762245ee42b.zip
Lift fb to xorg-xserver-7.1/1.1 state
Fixes ArcticaProject/nx-libs#640
Diffstat (limited to 'nx-X11/programs/Xserver/render')
-rw-r--r--nx-X11/programs/Xserver/render/picture.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/render/picture.h b/nx-X11/programs/Xserver/render/picture.h
index 5dde2d0bc..518e9fbb0 100644
--- a/nx-X11/programs/Xserver/render/picture.h
+++ b/nx-X11/programs/Xserver/render/picture.h
@@ -1,4 +1,5 @@
/*
+ *
* Copyright © 2000 SuSE, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@ -98,6 +99,15 @@ typedef struct _Picture *PicturePtr;
#define PICT_c8 PICT_FORMAT(8,PICT_TYPE_COLOR,0,0,0,0)
#define PICT_g8 PICT_FORMAT(8,PICT_TYPE_GRAY,0,0,0,0)
+#define PICT_x4a4 PICT_FORMAT(8,PICT_TYPE_A,4,0,0,0)
+#define PICT_x4r1g2b1 PICT_FORMAT(8,PICT_TYPE_ARGB,0,1,2,1)
+#define PICT_x4b1g2r1 PICT_FORMAT(8,PICT_TYPE_ABGR,0,1,2,1)
+#define PICT_x4a1r1g1b1 PICT_FORMAT(8,PICT_TYPE_ARGB,1,1,1,1)
+#define PICT_x4a1b1g1r1 PICT_FORMAT(8,PICT_TYPE_ABGR,1,1,1,1)
+
+#define PICT_x4c4 PICT_FORMAT(8,PICT_TYPE_COLOR,0,0,0,0)
+#define PICT_x4g4 PICT_FORMAT(8,PICT_TYPE_GRAY,0,0,0,0)
+
/* 4bpp formats */
#define PICT_a4 PICT_FORMAT(4,PICT_TYPE_A,4,0,0,0)
#define PICT_r1g2b1 PICT_FORMAT(4,PICT_TYPE_ARGB,0,1,2,1)