-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow Rendering Maximized Window On Windows #264
Comments
I remember an issue like this in v5 and fixed in v6 beta. Could you test using the latest version? v6.0.0-beta4. |
I tested the projects and I confirm the slow performance with Skia using the default Windows render (raster CPU), but the normal performance using the Skia OpenGL (GPU) or Skia Vulkan (GPU). I will keep this opened for now because maybe we could change the default backend of Skia for Windows. You can also test it adding to the dpr: ...
begin
GlobalUseSkia := True;
GlobalUseVulkan := True;
GlobalUseSkiaRasterWhenAvailable := False;
... |
For windows, it looks like the mainform property 'Quality' to
HighPerformance/HighQuality has inpact also.
Is that something that you also notice?
…On Tue, 2 Apr 2024 at 05:41, Vinícius Felipe Botelho Barbosa < ***@***.***> wrote:
I tested the projects and I confirm the slow performance with Skia using
the default Windows render (raster CPU), but the normal performance using
the Skia OpenGL (GPU) or Skia Vulkan (GPU). I will keep this opened for now
because maybe we could change the default backend of Skia for Windows.
You can also test it adding to the dpr:
...begin
GlobalUseSkia := True;
GlobalUseVulkan := True;
GlobalUseSkiaRasterWhenAvailable := False;
...
—
Reply to this email directly, view it on GitHub
<#264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAS3VNUB7OQ5ZBNCOK7W63Y3ISFJAVCNFSM6AAAAAA4SGRX6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRGAYTKMBWGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I have this project ( https://www.fmxexpress.com/deep-space-rocks-runtime-customizable-mobile-arcade-game-for-delphi-10-2-tokyo/ ) which uses a game loop. It works fast in the standard FMX. The normal screen size (not maximized) runs fast and the maximized version runs fast (this is all on Windows). When I add Skia4Delphi 5.0.0 to the project and run it in the normal screen size (not maximized) it also runs fast. When I maximize the window of the Skia4Delphi 5.0.0 enabled version then it runs slow.
So something is different with the way the Skia4Delphi version effects the game loop vs. standard FMX rendering under Windows. On the larger render area it effects the performance.
The text was updated successfully, but these errors were encountered: