Search found 4 matches

by bastos80
14 Oct 2019, 11:37
Forum: General Discussion
Replies: 3
Views: 272

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 ...
by bastos80
14 Oct 2019, 11:21
Forum: General Discussion
Replies: 3
Views: 272

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
by bastos80
13 Oct 2019, 17:02
Forum: General Discussion
Replies: 1
Views: 250

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...
by bastos80
13 Oct 2019, 16:45
Forum: General Discussion
Replies: 3
Views: 272

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....