Remove Not Referenced APIs
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Interop / Interop.GLWindow.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System.Runtime.InteropServices;
19
20 namespace Tizen.NUI
21 {
22     internal static partial class Interop
23     {
24         internal static partial class GLWindow
25         {
26             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_New__SWIG_0")]
27             public static extern global::System.IntPtr GlWindowNew();
28
29             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_New__SWIG_1")]
30             public static extern global::System.IntPtr GlWindowNew(HandleRef jarg1, string jarg2, string jarg3, bool jarg4);
31
32             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetGraphicsConfig")]
33             public static extern global::System.IntPtr GlWindowSetGraphicsConfig(HandleRef jarg1, bool jarg2, bool jarg3, int jarg4, int jarg5);
34
35             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Raise")]
36             public static extern void GlWindowRaise(HandleRef jarg1);
37
38             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Lower")]
39             public static extern void GlWindowLower(HandleRef jarg1);
40
41             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Activate")]
42             public static extern void GlWindowActivate(HandleRef jarg1);
43
44             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Show")]
45             public static extern void GlWindowShow(HandleRef jarg1);
46
47             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Hide")]
48             public static extern void GlWindowHide(HandleRef jarg1);
49
50             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPositionSize")]
51             public static extern void GlWindowSetPositionSize(HandleRef jarg1, HandleRef jarg2);
52
53             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetPositionSize")]
54             public static extern global::System.IntPtr GlWindowGetPositionSize(HandleRef jarg1);
55
56             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHintCount")]
57             public static extern uint GlWindowGetSupportedAuxiliaryHintCount(HandleRef jarg1);
58
59             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHint")]
60             public static extern string GlWindowGetSupportedAuxiliaryHint(HandleRef jarg1, uint jarg2);
61
62             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_AddAuxiliaryHint")]
63             public static extern uint GlWindowAddAuxiliaryHint(HandleRef jarg1, string jarg2, string jarg3);
64
65             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RemoveAuxiliaryHint")]
66             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
67             public static extern bool GlWindowRemoveAuxiliaryHint(HandleRef jarg1, uint jarg2);
68
69             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAuxiliaryHintValue")]
70             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
71             public static extern bool GlWindowSetAuxiliaryHintValue(HandleRef jarg1, uint jarg2, string jarg3);
72
73             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintValue")]
74             public static extern string GlWindowGetAuxiliaryHintValue(HandleRef jarg1, uint jarg2);
75
76             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintId")]
77             public static extern uint GlWindowGetAuxiliaryHintId(HandleRef jarg1, string jarg2);
78
79             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetInputRegion")]
80             public static extern void GlWindowSetInputRegion(HandleRef jarg1, HandleRef jarg2);
81
82             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetOpaqueState")]
83             public static extern void GlWindowSetOpaqueState(HandleRef jarg1, bool jarg2);
84
85             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_IsOpaqueState")]
86             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
87             public static extern bool GlWindowIsOpaqueState(HandleRef jarg1);
88
89             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetCurrentOrientation")]
90             public static extern int GlWindowGetCurrentOrientation(HandleRef jarg1);
91
92             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAvailableOrientations")]
93             public static extern void GlWindowSetAvailableOrientations(HandleRef jarg1, HandleRef jarg2, int jarg3);
94
95             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPreferredOrientation")]
96             public static extern void GlWindowSetPreferredOrientation(HandleRef jarg1, int jarg2);
97
98             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RegisterGlCallbacks")]
99             public static extern void GlWindowRegisterGlCallbacks(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
100
101             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RenderOnce")]
102             public static extern void GlWindowRenderOnce(HandleRef jarg1);
103
104             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetRenderingMode")]
105             public static extern int GlWindowGetRenderingMode(HandleRef jarg1);
106
107             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetRenderingMode")]
108             public static extern void GlWindowSetRenderingMode(HandleRef jarg1, int jarg2);
109
110             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchedSignal_Connect")]
111             public static extern void GlWindowTouchSignalConnect(HandleRef glWindow, HandleRef handler);
112
113             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchedSignal_Disconnect")]
114             public static extern void GlWindowTouchSignalDisconnect(HandleRef glWindow, HandleRef handler);
115
116             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_FocusChangedSignal")]
117             public static extern global::System.IntPtr GlWindowFocusChangedSignal(HandleRef jarg1);
118
119             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_KeyEventSignal")]
120             public static extern global::System.IntPtr GlWindowKeyEventSignal(HandleRef jarg1);
121
122             // For windows resized signal
123             [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_ResizedSignal")]
124             public static extern global::System.IntPtr GlWindowResizedSignal(HandleRef jarg1);
125
126         }
127     }
128 }