summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/pixelformats.cpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/kms++/src/pixelformats.cpp b/kms++/src/pixelformats.cpp
index cf730ba..126a614 100644
--- a/kms++/src/pixelformats.cpp
+++ b/kms++/src/pixelformats.cpp
@@ -70,6 +70,18 @@ static map<PixelFormat, PixelFormatInfo> format_info_array = {
}
},
{
+ PixelFormat::XBGR1555, {
+ PixelFormatInfo {
+ "XBGR1555",
+ "XB15",
+ "",
+ PixelColorType::RGB,
+ { 1, 1 },
+ { { 2, 1, 1, 1 } },
+ }
+ }
+ },
+ {
PixelFormat::RGBX4444, {
PixelFormatInfo {
"RGBX4444",
@@ -94,6 +106,18 @@ static map<PixelFormat, PixelFormatInfo> format_info_array = {
}
},
{
+ PixelFormat::XBGR4444, {
+ PixelFormatInfo {
+ "XBGR4444",
+ "XB12",
+ "",
+ PixelColorType::RGB,
+ { 1, 1 },
+ { { 2, 1, 1, 1 } },
+ }
+ }
+ },
+ {
PixelFormat::ARGB1555, {
PixelFormatInfo {
"ARGB1555",
@@ -106,6 +130,18 @@ static map<PixelFormat, PixelFormatInfo> format_info_array = {
}
},
{
+ PixelFormat::ABGR1555, {
+ PixelFormatInfo {
+ "ABGR1555",
+ "AB15",
+ "",
+ PixelColorType::RGB,
+ { 1, 1 },
+ { { 2, 1, 1, 1 } },
+ }
+ }
+ },
+ {
PixelFormat::RGBA4444, {
PixelFormatInfo {
"RGBA4444",
@@ -130,6 +166,18 @@ static map<PixelFormat, PixelFormatInfo> format_info_array = {
}
},
{
+ PixelFormat::ABGR4444, {
+ PixelFormatInfo {
+ "ABGR4444",
+ "AB12",
+ "",
+ PixelColorType::RGB,
+ { 1, 1 },
+ { { 2, 1, 1, 1 } },
+ }
+ }
+ },
+ {
PixelFormat::RGB888, {
PixelFormatInfo {
"RGB888",