Jump to content

David_Lyon

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Neutral
  1. David_Lyon

    ANN: Skia4Delphi 4.0.1 compilation error

    @vfbb Just a quick update. I've noticed that what seemed to be causing problems was the couple of TImageViewers I have in my interface. They have a tiled background (the tile is a small png, so not a huge image). When I uncheck Showbackground on both TImageviewers, my program becomes responsive again and CPU usage goes back to normal. Don't hesitate to let me know if you want me to send you a test project which reproduces the issue.
  2. David_Lyon

    ANN: Skia4Delphi 4.0.1 compilation error

    @vfbb Thank you for your reply. I think something in my code does not agree with Skia4Delphi, but after having no problem with new projects using Skia4Delphi, I'll have to investigate more. I've been doing quite a few tricky things with my UI, so I'll simplify my code and try again. Hopefully, I'll be able to rebuild on more solid ground. Thanks for your help.
  3. David_Lyon

    ANN: Skia4Delphi 4.0.1 compilation error

    Quick follow-up. I've enabled Skia4Delphi, but it made my project incredibly slow, even to simply load an image into a TImageViewer. The UI became very very sluggish and CPU usage was 25% (one core at full capacity). I then tried with "GlobalUseSkiaRasterWhenAvailable := False;" and this helped. But rendering my buttons (that are rectangles with TPath) became aliased. And the UI still felt quite slower than pure FMX. Any idea what might be causing the issue? The only thing I can think of is that my whole UI is contained within a TLayout, so that I can scale everything.
  4. David_Lyon

    ANN: Skia4Delphi 4.0.1 compilation error

    Hi, Thank you for your quick reply. Yes, it's Delphi 11.2 Professional. The problem did not occur on a blank project, that was the first thing I tried 😉 I deleted the Win32 and Win64 output folders as you suggested and I could compile successfully! Thanks for your help, awesome project you have there.
  5. Hi, I've recently installed Skia4Delphi 4.0.1 and could run the demo just fine. It looks great BTW! However, when I enabled Skia4Delphi in my FMX project, I immediatly ran into a compilation error when building (see attached screenshot). Any idea where this could come from? Regards, David
×