[NUI] Remove APIs which should not be public-opened (#519)
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 19 Oct 2018 05:08:17 +0000 (14:08 +0900)
committerGitHub <noreply@github.com>
Fri, 19 Oct 2018 05:08:17 +0000 (14:08 +0900)
src/Tizen.NUI/src/internal/NDalicPINVOKE.cs
src/Tizen.NUI/src/public/ImageLoading.cs

index 394b08d..a3b8cd4 100755 (executable)
@@ -68593,41 +68593,6 @@ namespace Tizen.NUI
             }
         }
 
-        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_SetMaxTextureSize")]
-        public static extern void SetMaxTextureSize_gl(uint jarg1);
-
-        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_SetMaxTextureSize")]
-        public static extern void SetMaxTextureSize_vulkan(uint jarg1);
-
-        public static void SetMaxTextureSize(uint jarg1)
-        {
-            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
-            {
-                SetMaxTextureSize_vulkan(jarg1);
-            }
-            else
-            {
-                SetMaxTextureSize_gl(jarg1);
-            }
-        }
-
-        [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_GetMaxTextureSize")]
-        public static extern uint GetMaxTextureSize_gl();
-
-        [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_GetMaxTextureSize")]
-        public static extern uint GetMaxTextureSize_vulkan();
-
-        public static uint GetMaxTextureSize()
-        {
-            if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
-            {
-                return GetMaxTextureSize_vulkan();
-            }
-            else
-            {
-                return GetMaxTextureSize_gl();
-            }
-        }
 
     }
 }
index cc815e6..60d8506 100755 (executable)
@@ -299,31 +299,5 @@ namespace Tizen.NUI
             return ret;
         }
 
-        /// <summary>
-        /// Set the maximum texture size. Then size can be kwown by GL_MAX_TEXTURE_SIZE.
-        /// </summary>
-        /// <param name="size">The maximum texture size to set.</param>
-        /// <since_tizen> 5 </since_tizen>
-        /// This will be released at Tizen.NET API Level 5. Therefore, currently this would be used as an in-house API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public static void SetMaxTextureSize(uint size)
-        {
-            NDalicPINVOKE.SetMaxTextureSize(size);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Get the maximum texture size.
-        /// </summary>
-        /// <returns>The maximum texture size.</returns>
-        /// <since_tizen> 5 </since_tizen>
-        /// This will be released at Tizen.NET API Level 5. Therefore, currently this would be used as an in-house API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public static uint GetMaxTextureSize()
-        {
-            uint ret = NDalicPINVOKE.GetMaxTextureSize();
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
     }
 }