Remove regions from Android.
This commit is contained in:
parent
56bf133a78
commit
15a0d86fe0
7 changed files with 0 additions and 34 deletions
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin, Inc.
|
* Copyright (c) 2011 Xamarin, Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin, Inc.
|
* Copyright (c) 2011 Xamarin, Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
@ -14,8 +12,6 @@ namespace OpenTK.Platform.Android
|
||||||
{
|
{
|
||||||
sealed class AndroidFactory : PlatformFactoryBase
|
sealed class AndroidFactory : PlatformFactoryBase
|
||||||
{
|
{
|
||||||
#region IPlatformFactory Members
|
|
||||||
|
|
||||||
public override IGraphicsContext CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags)
|
public override IGraphicsContext CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags)
|
||||||
{
|
{
|
||||||
AndroidWindow android_win = (AndroidWindow)window;
|
AndroidWindow android_win = (AndroidWindow)window;
|
||||||
|
@ -60,7 +56,5 @@ namespace OpenTK.Platform.Android
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin Inc.
|
* Copyright (c) 2011 Xamarin Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
@ -250,7 +248,6 @@ namespace OpenTK.Platform.Android
|
||||||
ResumeThread ();
|
ResumeThread ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Private
|
|
||||||
void LoadInternal (EventArgs e)
|
void LoadInternal (EventArgs e)
|
||||||
{
|
{
|
||||||
OnLoad (e);
|
OnLoad (e);
|
||||||
|
@ -541,9 +538,6 @@ namespace OpenTK.Platform.Android
|
||||||
global::Android.Util.Log.Debug ("AndroidGameView", String.Format("width:{0} height:{1} size:{2} surfaceRect:{3}", Width, Height, size, surfaceRect));
|
global::Android.Util.Log.Debug ("AndroidGameView", String.Format("width:{0} height:{1} size:{2} surfaceRect:{3}", Width, Height, size, surfaceRect));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region Properties
|
|
||||||
|
|
||||||
|
|
||||||
public bool AutoSetContextOnRenderFrame {
|
public bool AutoSetContextOnRenderFrame {
|
||||||
|
@ -670,6 +664,5 @@ namespace OpenTK.Platform.Android
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin, Inc.
|
* Copyright (c) 2011 Xamarin, Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
@ -132,8 +130,6 @@ namespace OpenTK.Platform.Android {
|
||||||
eglWindowInfo.TerminateDisplay();
|
eglWindowInfo.TerminateDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region IDisposable Members
|
|
||||||
|
|
||||||
public void Dispose ()
|
public void Dispose ()
|
||||||
{
|
{
|
||||||
Dispose (true);
|
Dispose (true);
|
||||||
|
@ -157,7 +153,5 @@ namespace OpenTK.Platform.Android {
|
||||||
{
|
{
|
||||||
Dispose (false);
|
Dispose (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin, Inc.
|
* Copyright (c) 2011 Xamarin, Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin, Inc.
|
* Copyright (c) 2011 Xamarin, Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
#region --- License ---
|
|
||||||
/* Licensed under the MIT/X11 license.
|
/* Licensed under the MIT/X11 license.
|
||||||
* Copyright (c) 2011 Xamarin Inc.
|
* Copyright (c) 2011 Xamarin Inc.
|
||||||
* Copyright 2013 Xamarin Inc
|
* Copyright 2013 Xamarin Inc
|
||||||
* This notice may not be removed from any source distribution.
|
* This notice may not be removed from any source distribution.
|
||||||
* See license.txt for licensing detailed licensing details.
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
@ -89,8 +87,6 @@ namespace OpenTK
|
||||||
return point;
|
return point;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region IGameWindow implementation
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Occurs before the run loop starts.
|
/// Occurs before the run loop starts.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -454,9 +450,6 @@ namespace OpenTK
|
||||||
/// invoked on it.
|
/// invoked on it.
|
||||||
/// </exception>
|
/// </exception>
|
||||||
public abstract void SwapBuffers ();
|
public abstract void SwapBuffers ();
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region INativeWindow implementation
|
|
||||||
|
|
||||||
/// <summary>This member is not supported.</summary>
|
/// <summary>This member is not supported.</summary>
|
||||||
/// <value>To be added.</value>
|
/// <value>To be added.</value>
|
||||||
|
@ -1193,7 +1186,5 @@ namespace OpenTK
|
||||||
add { throw new NotSupportedException(); }
|
add { throw new NotSupportedException(); }
|
||||||
remove { throw new NotSupportedException(); }
|
remove { throw new NotSupportedException(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue