Search found 16 matches

  • 1
  • 2
by jhimes144
13 Dec 2024, 16:38
Forum: General Discussion
Replies: 3
Views: 4543

Re: Lifetime of Storyboards

Thanks! So then it cannot be created on the stack because the animation system will need to participate in its lifetime, but I don't need to keep a reference. If I were to allocate it on the stack I could expect to run into the assert that is documented here in the C++ architecture document then cor...
by jhimes144
12 Dec 2024, 20:32
Forum: General Discussion
Replies: 3
Views: 4543

Lifetime of Storyboards

I have the below static method in a custom control: static Storyboard getRippleInOutAni(float minScale, float maxScale) I was wondering how Storyboard's lifetime should be handled. Can it (and all its dependencies such as animation objects) be discarded as soon as Storyboard::Begin is called? Or do ...
by jhimes144
09 Dec 2024, 23:33
Forum: General Discussion
Replies: 3
Views: 3986

Re: Memory Usage Sdk Browser vs Samples

I'm using both Visual Studio's diagnostic tools and also running in release with no ide attached, using task manager.
by jhimes144
08 Dec 2024, 21:11
Forum: General Discussion
Replies: 3
Views: 3986

Memory Usage Sdk Browser vs Samples

Hello, I noticed that the SDK Browser that is included with the SKD only allocated 72mb of ram, and if left running - goes down to 7mb of ram. Very impressive. However, when running the hello world sample in release mode, I get ~122mb of ram allocated. I get similar allocations on the app I'm workin...
by jhimes144
08 Dec 2024, 19:12
Forum: General Discussion
Replies: 1
Views: 4850

Question on how best handle user control lifetimes

I'm porting an application from C# using Avalonia to C++ using Noesis. In the Avalonia app, user controls are ephemeral. Once the user control is navigated away, it is disposed. This is because caching user controls in Avalonia can sometimes be buggy and cause memory leaks (they are working on it). ...
by jhimes144
04 Dec 2024, 23:35
Forum: General Discussion
Replies: 1
Views: 5297

Request to make App Framework a feature complete offering

Posting here because the issue tracking app was not the proper venue. It would be great if the App Framework was a complete offering that allowed the development of stand-alone C# and C++ desktop applications. Most if not all C# UI frameworks are not performant. I've worked for a long time in Avalon...
by jhimes144
25 Nov 2024, 20:25
Forum: General Discussion
Replies: 7
Views: 3676

Re: How to create bin header file for fonts

Fixed it. I had made a build script that went through and ran all assets through the tool and a bug in my script for fonts was the issue, even though xaml files worked. Sorry for the trouble. Passing invalid file to the bin tool causes it to just not return anything. I'm not sure if its worth fixing...
by jhimes144
25 Nov 2024, 19:39
Forum: General Discussion
Replies: 7
Views: 3676

Re: How to create bin header file for fonts

Yes, but i need to find where the font file is being passed in the binh tool, because when I do it, it doesn't work. I don't understand why you are marking this question as resolved? Sorry if I wasn't clear, the binh tool doesn't work when I pass a font in the same way I pass an xaml file into it.
by jhimes144
25 Nov 2024, 18:48
Forum: General Discussion
Replies: 7
Views: 3676

Re: How to create bin header file for fonts

Thanks for the info, then this means that I'm either using the tool incorrectly for fonts or there is a bug with the tool. I will search the app framework code again for a place where its being used for fonts.
  • 1
  • 2