Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
No you can't enable, Tilengine rendering core is CPU based, it doesn't use the GPU.
For the window, SDL2 already uses hardware acceleration by default if present.
What is your test hadrware? What performance are you getting?
Posts: 187
Threads: 22
Joined: Dec 2020
Reputation:
1
My hardware is Intel Core i5 Skylake, Nvidia GTX950M, 12 GB of RAM.
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
Performance enough to run the samples without problems. With one of the samples running and task manager in view, disable the CRT effect by pressing backspace key. You should see a drop in resource usage. Let me know
Posts: 673
Threads: 33
Joined: Jan 1970
Reputation:
13
I don't know Vulkan so I can't give advice here.
But as long as you can create a vulkan surface with 32-bit RGBA pixel format where you can write to its contents, and then send it to the display, yes, that's the way to go.