[PATCH v2] Add m1bpp (monochrome, 1 bit/pixel) pixel format
Drew DeVault
sir at cmpwn.com
Thu Sep 21 14:08:06 UTC 2017
This is useful for Wayland compositors on low-end displays - in
my use case, this is the Heltec 1.3" SPI OLED display. It permits
compatible Wayland clients to utilize a more suitable pixel format for
writing to the display for greater fidelity and performance.
---
The only changes from the previous patch is an improved commit message.
protocol/wayland.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 29b63be..2f72939 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -291,6 +291,7 @@
</description>
<entry name="argb8888" value="0" summary="32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian"/>
<entry name="xrgb8888" value="1" summary="32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian"/>
+ <entry name="m1bpp" value="2" summary="1-bit monochrome format, 8 pixels per octet, ordered most to least significant bit" />
<entry name="c8" value="0x20203843" summary="8-bit color index format, [7:0] C"/>
<entry name="rgb332" value="0x38424752" summary="8-bit RGB format, [7:0] R:G:B 3:3:2"/>
<entry name="bgr233" value="0x38524742" summary="8-bit BGR format, [7:0] B:G:R 2:3:3"/>
--
2.14.1
More information about the wayland-devel
mailing list