Search found 4 matches
- 14 Oct 2019, 11:37
- Forum: General Discussion
- Replies: 3
- Views: 1850
Re: Problems on macOS Catalina + Xamarin.Mac
Ok, I managed to get Metal to work by changing the following in the RenderContextMTL class: I changed ((NSView)Runtime.GetNSObject(window)).Layer.AddSublayer(_layer); to ((NSView)Runtime.GetNSObject(window)).Layer = _layer; And added mTLTextureDescriptor.StorageMode = MTLStorageMode.Private; to the ...
- 14 Oct 2019, 11:21
- Forum: General Discussion
- Replies: 3
- Views: 1850
Re: Problems on macOS Catalina + Xamarin.Mac
Some more digging into the Metal render context reveals the exception occurs in the following line:
((NSView)Runtime.GetNSObject(window)).Layer.AddSublayer(_layer);
Where, apparently, ((NSView)Runtime.GetNSObject(window)).Layer is null
((NSView)Runtime.GetNSObject(window)).Layer.AddSublayer(_layer);
Where, apparently, ((NSView)Runtime.GetNSObject(window)).Layer is null
- 13 Oct 2019, 17:02
- Forum: General Discussion
- Replies: 1
- Views: 976
Any support planned for Noesis GUI on .NET Core 3 (and eventually 5) without Xamarin on macOS (or iOS or Android)?
In preparation of Mono apparently going the way of the dodo with .NET 5 ( https://devblogs.microsoft.com/dotnet/introducing-net-5/ ), are there any plans to support macOS directly or will Xamarin.Mac remain a required dependency for Noesis.App.Displays.AppKit/Noesis.App.RenderContexts.MTL? Since I s...
- 13 Oct 2019, 16:45
- Forum: General Discussion
- Replies: 3
- Views: 1850
Problems on macOS Catalina + Xamarin.Mac
Okay, so I'm having a few issues getting Noesis GUI to work on my macOS Catalina setup. First off, the Metal render context does not seem to work, forcing me te revert to RenderContextNSGL. Using RenderContextMTL results in a NullReferenceException in NoesisApp.RenderContextMTL.Init(...) at startup....