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_new_GlWindow__SWIG_0")]
33 public static extern global::System.IntPtr NewGlWindow();
35 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_GlWindow")]
36 public static extern void DeleteGlWindow(HandleRef jarg1);
38 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_GlWindow__SWIG_1")]
39 public static extern global::System.IntPtr NewGlWindow(HandleRef jarg1);
41 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Assign")]
42 public static extern global::System.IntPtr GlWindowAssign(HandleRef jarg1, HandleRef jarg2);
44 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetGraphicsConfig")]
45 public static extern global::System.IntPtr GlWindowSetGraphicsConfig(HandleRef jarg1, bool jarg2, bool jarg3, int jarg4, int jarg5);
47 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Raise")]
48 public static extern void GlWindowRaise(HandleRef jarg1);
50 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Lower")]
51 public static extern void GlWindowLower(HandleRef jarg1);
53 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Activate")]
54 public static extern void GlWindowActivate(HandleRef jarg1);
56 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Show")]
57 public static extern void GlWindowShow(HandleRef jarg1);
59 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_Hide")]
60 public static extern void GlWindowHide(HandleRef jarg1);
62 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPositionSize")]
63 public static extern void GlWindowSetPositionSize(HandleRef jarg1, HandleRef jarg2);
65 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetPositionSize")]
66 public static extern global::System.IntPtr GlWindowGetPositionSize(HandleRef jarg1);
68 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHintCount")]
69 public static extern uint GlWindowGetSupportedAuxiliaryHintCount(HandleRef jarg1);
71 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetSupportedAuxiliaryHint")]
72 public static extern string GlWindowGetSupportedAuxiliaryHint(HandleRef jarg1, uint jarg2);
74 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_AddAuxiliaryHint")]
75 public static extern uint GlWindowAddAuxiliaryHint(HandleRef jarg1, string jarg2, string jarg3);
77 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RemoveAuxiliaryHint")]
78 [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
79 public static extern bool GlWindowRemoveAuxiliaryHint(HandleRef jarg1, uint jarg2);
81 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAuxiliaryHintValue")]
82 [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
83 public static extern bool GlWindowSetAuxiliaryHintValue(HandleRef jarg1, uint jarg2, string jarg3);
85 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintValue")]
86 public static extern string GlWindowGetAuxiliaryHintValue(HandleRef jarg1, uint jarg2);
88 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetAuxiliaryHintId")]
89 public static extern uint GlWindowGetAuxiliaryHintId(HandleRef jarg1, string jarg2);
91 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetInputRegion")]
92 public static extern void GlWindowSetInputRegion(HandleRef jarg1, HandleRef jarg2);
94 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetOpaqueState")]
95 public static extern void GlWindowSetOpaqueState(HandleRef jarg1, bool jarg2);
97 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_IsOpaqueState")]
98 [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
99 public static extern bool GlWindowIsOpaqueState(HandleRef jarg1);
101 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetCurrentOrientation")]
102 public static extern int GlWindowGetCurrentOrientation(HandleRef jarg1);
104 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetAvailableOrientations")]
105 public static extern void GlWindowSetAvailableOrientations(HandleRef jarg1, HandleRef jarg2, int jarg3);
107 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetPreferredOrientation")]
108 public static extern void GlWindowSetPreferredOrientation(HandleRef jarg1, int jarg2);
110 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RegisterGlCallbacks")]
111 public static extern void GlWindowRegisterGlCallbacks(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
113 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_RenderOnce")]
114 public static extern void GlWindowRenderOnce(HandleRef jarg1);
116 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_GetRenderingMode")]
117 public static extern int GlWindowGetRenderingMode(HandleRef jarg1);
119 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SetRenderingMode")]
120 public static extern void GlWindowSetRenderingMode(HandleRef jarg1, int jarg2);
122 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_SWIGUpcast")]
123 public static extern global::System.IntPtr GlWindowUpcast(global::System.IntPtr jarg1);
125 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_TouchSignal")]
126 public static extern global::System.IntPtr GlWindowTouchSignal(HandleRef jarg1);
128 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_FocusChangedSignal")]
129 public static extern global::System.IntPtr GlWindowFocusChangedSignal(HandleRef jarg1);
131 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_KeyEventSignal")]
132 public static extern global::System.IntPtr GlWindowKeyEventSignal(HandleRef jarg1);
134 // For windows resized signal
135 [DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GlWindow_ResizedSignal")]
136 public static extern global::System.IntPtr GlWindowResizedSignal(HandleRef jarg1);