2 * Copyright(c) 2021 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 using System.Runtime.InteropServices;
22 internal static partial class Interop
24 internal static partial class GLWindow
26 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_New__SWIG_0")]
27 public static extern global::System.IntPtr GlWindowNew();
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);
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);
35 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Raise")]
36 public static extern void GlWindowRaise(HandleRef jarg1);
38 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Lower")]
39 public static extern void GlWindowLower(HandleRef jarg1);
41 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Activate")]
42 public static extern void GlWindowActivate(HandleRef jarg1);
44 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Show")]
45 public static extern void GlWindowShow(HandleRef jarg1);
47 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Hide")]
48 public static extern void GlWindowHide(HandleRef jarg1);
50 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPositionSize")]
51 public static extern void GlWindowSetPositionSize(HandleRef jarg1, HandleRef jarg2);
53 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetPositionSize")]
54 public static extern global::System.IntPtr GlWindowGetPositionSize(HandleRef jarg1);
56 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHintCount")]
57 public static extern uint GlWindowGetSupportedAuxiliaryHintCount(HandleRef jarg1);
59 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHint")]
60 public static extern string GlWindowGetSupportedAuxiliaryHint(HandleRef jarg1, uint jarg2);
62 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_AddAuxiliaryHint")]
63 public static extern uint GlWindowAddAuxiliaryHint(HandleRef jarg1, string jarg2, string jarg3);
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);
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);
73 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintValue")]
74 public static extern string GlWindowGetAuxiliaryHintValue(HandleRef jarg1, uint jarg2);
76 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintId")]
77 public static extern uint GlWindowGetAuxiliaryHintId(HandleRef jarg1, string jarg2);
79 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetInputRegion")]
80 public static extern void GlWindowSetInputRegion(HandleRef jarg1, HandleRef jarg2);
82 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetOpaqueState")]
83 public static extern void GlWindowSetOpaqueState(HandleRef jarg1, bool jarg2);
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);
89 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetCurrentOrientation")]
90 public static extern int GlWindowGetCurrentOrientation(HandleRef jarg1);
92 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAvailableOrientations")]
93 public static extern void GlWindowSetAvailableOrientations(HandleRef jarg1, HandleRef jarg2, int jarg3);
95 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPreferredOrientation")]
96 public static extern void GlWindowSetPreferredOrientation(HandleRef jarg1, int jarg2);
98 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RegisterGlCallbacks")]
99 public static extern void GlWindowRegisterGlCallbacks(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
101 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RenderOnce")]
102 public static extern void GlWindowRenderOnce(HandleRef jarg1);
104 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetRenderingMode")]
105 public static extern int GlWindowGetRenderingMode(HandleRef jarg1);
107 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetRenderingMode")]
108 public static extern void GlWindowSetRenderingMode(HandleRef jarg1, int jarg2);
110 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchedSignal_Connect")]
111 public static extern void GlWindowTouchSignalConnect(HandleRef glWindow, HandleRef handler);
113 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchedSignal_Disconnect")]
114 public static extern void GlWindowTouchSignalDisconnect(HandleRef glWindow, HandleRef handler);
116 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_FocusChangedSignal")]
117 public static extern global::System.IntPtr GlWindowFocusChangedSignal(HandleRef jarg1);
119 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_KeyEventSignal")]
120 public static extern global::System.IntPtr GlWindowKeyEventSignal(HandleRef jarg1);
122 // For windows resized signal
123 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_ResizedSignal")]
124 public static extern global::System.IntPtr GlWindowResizedSignal(HandleRef jarg1);