[Tizen] Add VisualFactory::UsePrecompiledShader() accepted/tizen/unified/20231031.163535
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 30 Oct 2023 09:26:40 +0000 (18:26 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 30 Oct 2023 09:26:40 +0000 (18:26 +0900)
This reverts commit 26b4baf86e51ad42f2488a086d7c8ea13dce7945.

dali-csharp-binder/dali-toolkit/dali-toolkit-wrap.cpp

index 69d67d8..20fcd65 100644 (file)
@@ -14986,6 +14986,21 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_VisualFactory_CreateVisual__SWIG_2(voi
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualFactory_UsePreCompiledShader(void* csVisualFactory)
+{
+  Dali::Toolkit::VisualFactory* visualFactory = (Dali::Toolkit::VisualFactory*)csVisualFactory;
+
+  if(!visualFactory)
+  {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+  try
+  {
+    (visualFactory)->UsePreCompiledShader();
+  }
+  CALL_CATCH_EXCEPTION();
+}
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_AsyncImageLoader__SWIG_0() {
   void * jresult ;