aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/render/picture.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-05 14:07:27 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-05 14:07:27 +0100
commita110b0c456916f78b4653c39db5196acadfc0681 (patch)
treede58da88f279d227b726a40513fd85148fd94c6b /nx-X11/programs/Xserver/render/picture.h
parentb1c42dc98bea8b99eb8a2b1618421bdb698cf690 (diff)
parentf7207bcdc1b1f5d4b52cd3dccdde3762245ee42b (diff)
downloadnx-libs-a110b0c456916f78b4653c39db5196acadfc0681.tar.gz
nx-libs-a110b0c456916f78b4653c39db5196acadfc0681.tar.bz2
nx-libs-a110b0c456916f78b4653c39db5196acadfc0681.zip
Merge branch 'uli42-pr/update_fb' into 3.6.x
Attributes GH PR #642: https://github.com/ArcticaProject/nx-libs/pull/642
Diffstat (limited to 'nx-X11/programs/Xserver/render/picture.h')
-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)