diff options
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/dumbframebuffer.cpp | 2 | ||||
-rw-r--r-- | libkms++/pixelformats.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libkms++/dumbframebuffer.cpp b/libkms++/dumbframebuffer.cpp index c64010a..fa5562c 100644 --- a/libkms++/dumbframebuffer.cpp +++ b/libkms++/dumbframebuffer.cpp @@ -65,6 +65,8 @@ static const map<PixelFormat, FormatInfo> format_info_array = { /* RGB32 */ { PixelFormat::XRGB8888, { 1, { { 32, 1, 1 } }, } }, { PixelFormat::XBGR8888, { 1, { { 32, 1, 1 } }, } }, + { PixelFormat::ARGB8888, { 1, { { 32, 1, 1 } }, } }, + { PixelFormat::ABGR8888, { 1, { { 32, 1, 1 } }, } }, }; void DumbFramebuffer::Create() diff --git a/libkms++/pixelformats.h b/libkms++/pixelformats.h index 75e325c..693dcee 100644 --- a/libkms++/pixelformats.h +++ b/libkms++/pixelformats.h @@ -19,6 +19,9 @@ enum class PixelFormat : uint32_t XRGB8888 = MakeFourCC("XR24"), XBGR8888 = MakeFourCC("XB24"), + ARGB8888 = MakeFourCC("AR24"), + ABGR8888 = MakeFourCC("AB24"), + RGB565 = MakeFourCC("RG16"), }; |