argumentNullDelegate,
argumentOutOfRangeDelegate);
}
-
- //Workaround for Vulkan. should be removed.
- internal void SetAgain()
- {
- SWIGRegisterExceptionCallbacks_NDalic(
- applicationDelegate,
- arithmeticDelegate,
- divideByZeroDelegate,
- indexOutOfRangeDelegate,
- invalidCastDelegate,
- invalidOperationDelegate,
- ioDelegate,
- nullReferenceDelegate,
- outOfMemoryDelegate,
- overflowDelegate,
- systemDelegate);
-
- SWIGRegisterExceptionCallbacksArgument_NDalic(
- argumentDelegate,
- argumentNullDelegate,
- argumentOutOfRangeDelegate);
- }
-
}
protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
{
SWIGRegisterStringCallback_NDalic(stringDelegate);
}
-
- //Workaround for Vulkan. should be removed.
- internal void SetAgain()
- {
- SWIGRegisterStringCallback_NDalic(stringDelegate);
- }
}
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
- //Workaround for Vulkan. should be removed.
- internal static void SetAgainExceptionHelperAndStringHelper()
- {
- swigExceptionHelper.SetAgain();
- swigStringHelper.SetAgain();
- Tizen.Log.Error("NUI", $"[NOT ERROR] SetAgainExceptionHelperAndStringHelper()");
- }
-
static NDalicPINVOKE()
{
if (windowSize != null) { _windowSize2D = windowSize; }
if (windowPosition != null) { _windowPosition2D = windowPosition; }
Registry.Instance.SavedApplicationThread = Thread.CurrentThread;
-
- //Workaround for Vulkan. should be removed.
- if (Graphics.Backend == Graphics.BackendType.Vulkan)
- {
- Tizen.Log.Error("NUI", "[NOT ERROR] NUIApplication Constructor! Vulkan backend!");
- Version.PrintDaliNativeVersion();
- NDalicPINVOKE.SetAgainExceptionHelperAndStringHelper();
- }
}
/// <summary>