[NUI] Add NativeImageQueue.ColorFormat for BGR~~~
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 1 Jul 2022 07:29:44 +0000 (16:29 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 12 Jul 2022 02:41:27 +0000 (11:41 +0900)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/Images/NativeImageQueue.cs

index a16395b..3e1fb91 100644 (file)
@@ -46,19 +46,37 @@ namespace Tizen.NUI
         public enum ColorFormat
         {
             /// <summary>
+            /// 8 blue bits, 8 green bits, 8 red bits
+            /// </summary>
+            BGR888 = 0,
+
+            /// <summary>
+            /// 8 blue bits, 8 green bits, 8 red bits, alpha 8 bits
+            /// </summary>
+            BGRA8888 = 1,
+
+            /// <summary>
+            /// 8 blue bits, 8 green bits, 8 red bits, and 8 ignored bits
+            /// </summary>
+            BGRX8888 = 2,
+
+            /// <summary>
             /// 8 red bits, 8 green bits, 8 blue bits
             /// </summary>
-            RGB888,
+            [System.ObsoleteAttribute("This property is obsolete. It's behavior could be changed in a future version. Currently it is same as BGR888", false)]
+            RGB888 = 0,
 
             /// <summary>
             /// 8 red bits, 8 green bits, 8 blue bits, alpha 8 bits
             /// </summary>
-            RGBA8888,
+            [System.ObsoleteAttribute("This property is obsolete. It's behavior could be changed in a future version. Currently it is same as BGRA8888", false)]
+            RGBA8888 = 1,
 
             /// <summary>
             /// 8 red bits, 8 green bits, 8 blue bits, and 8 ignored bits
             /// </summary>
-            RGBX8888
+            [System.ObsoleteAttribute("This property is obsolete. It's behavior could be changed in a future version. Currently it is same as BGRX8888", false)]
+            RGBX8888 = 2,
         }
 
         /// <summary>