--- /dev/null
+/*
+ * Copyright(c) 2020 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+using System.ComponentModel;
+
+namespace Tizen.NUI
+{
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ public enum BlendEquationType
+ {
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Add = 0x8006,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Subtract = 0x800A,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ ReverseSubtract = 0x800B,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Min = 0x8007,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Max = 0x8008,
+
+ //Advanced Blend Equation
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Multiply = 0x9294,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Screen = 0x9295,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Overlay = 0x9296,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Darken = 0x9297,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Lighten = 0x9298,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ ColorDodge = 0x9299,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ ColorBurn = 0x929A,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ HardLight = 0x929B,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ SoftLight = 0x929C,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Difference = 0x929E,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Exclusion = 0x92A0,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Hue = 0x92AD,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Saturation = 0x92AE,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Color = 0x92AF,
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ Luminosity = 0x92B0
+
+ }
+}
/*
- * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* limitations under the License.
*
*/
+
+using System.ComponentModel;
namespace Tizen.NUI
{
- internal enum BlendEquationType
+ /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ public class GraphicsCapabilities
{
- ADD = 0x8006,
- SUBTRACT = 0x800A,
- REVERSE_SUBTRACT = 0x800B
+ [EditorBrowsable (EditorBrowsableState.Never)]
+ public static bool IsBlendEquationSupported(BlendEquationType blendEquation)
+ {
+ return Interop.GraphicsCapabilities.IsBlendEquationSupported((int)blendEquation);
+ }
}
-}
+}
\ No newline at end of file