OpenGLESSample-GameView ported to 64-bits

This commit is contained in:
Paola Villarreal 2014-07-16 10:19:49 -05:00
Родитель f375e0a358
Коммит efc6897e9f
4 изменённых файлов: 23 добавлений и 18 удалений

Просмотреть файл

@ -1,10 +1,10 @@
using System; using System;
using OpenTK.Platform.iPhoneOS; using OpenTK.Platform.iPhoneOS;
using MonoTouch.Foundation; using Foundation;
using MonoTouch.ObjCRuntime; using ObjCRuntime;
using MonoTouch.CoreAnimation; using CoreAnimation;
using OpenTK; using OpenTK;
using MonoTouch.OpenGLES; using OpenGLES;
using OpenTK.Graphics.ES11; using OpenTK.Graphics.ES11;
namespace OpenGLESSampleGameView namespace OpenGLESSampleGameView

Просмотреть файл

@ -1,8 +1,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using MonoTouch.Foundation; using Foundation;
using MonoTouch.UIKit; using UIKit;
namespace OpenGLESSampleGameView namespace OpenGLESSampleGameView
{ {

18
OpenGLESSample-GameView/MainWindow.xib.designer.cs сгенерированный
Просмотреть файл

@ -11,19 +11,19 @@
namespace OpenGLESSampleGameView { namespace OpenGLESSampleGameView {
// Base type probably should be MonoTouch.Foundation.NSObject or subclass // Base type probably should be Foundation.NSObject or subclass
[MonoTouch.Foundation.Register("OpenGLESSampleAppDelegate")] [Foundation.Register("OpenGLESSampleAppDelegate")]
public partial class OpenGLESSampleAppDelegate { public partial class OpenGLESSampleAppDelegate {
private MonoTouch.UIKit.UIWindow __mt_window; private UIKit.UIWindow __mt_window;
private EAGLView __mt_glView; private EAGLView __mt_glView;
#pragma warning disable 0169 #pragma warning disable 0169
[MonoTouch.Foundation.Connect("window")] [Foundation.Connect("window")]
private MonoTouch.UIKit.UIWindow window { private UIKit.UIWindow window {
get { get {
this.__mt_window = ((MonoTouch.UIKit.UIWindow)(this.GetNativeField("window"))); this.__mt_window = ((UIKit.UIWindow)(this.GetNativeField("window")));
return this.__mt_window; return this.__mt_window;
} }
set { set {
@ -32,7 +32,7 @@ namespace OpenGLESSampleGameView {
} }
} }
[MonoTouch.Foundation.Connect("glView")] [Foundation.Connect("glView")]
private EAGLView glView { private EAGLView glView {
get { get {
this.__mt_glView = ((EAGLView)(this.GetNativeField("glView"))); this.__mt_glView = ((EAGLView)(this.GetNativeField("glView")));
@ -45,8 +45,8 @@ namespace OpenGLESSampleGameView {
} }
} }
// Base type probably should be MonoTouch.UIKit.UIView or subclass // Base type probably should be UIKit.UIView or subclass
[MonoTouch.Foundation.Register("EAGLView")] [Foundation.Register("EAGLView")]
public partial class EAGLView { public partial class EAGLView {
} }
} }

Просмотреть файл

@ -23,6 +23,7 @@
<MtouchDebug>True</MtouchDebug> <MtouchDebug>True</MtouchDebug>
<ConsolePause>False</ConsolePause> <ConsolePause>False</ConsolePause>
<MtouchArch>ARMv6</MtouchArch> <MtouchArch>ARMv6</MtouchArch>
<MtouchExtraArgs>--registrar:static --nofastsim --override-abi x86_64</MtouchExtraArgs>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType> <DebugType>none</DebugType>
@ -61,8 +62,12 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="monotouch" /> <Reference Include="Xamarin.iOS">
<Reference Include="OpenTK" /> <HintPath>\Developer\MonoTouch\usr\lib\mono\Xamarin.iOS\Xamarin.iOS.dll</HintPath>
</Reference>
<Reference Include="OpenTK" >
<HintPath>\Developer\MonoTouch\usr\lib\mono\Xamarin.iOS\OpenTK-1.0.dll</HintPath>
</Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Info.plist" /> <None Include="Info.plist" />