Microsoft Windows integration? - Printable Version +- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum) +-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7) +--- Thread: Microsoft Windows integration? (/showthread.php?tid=955) Pages:
1
2
|
RE: Microsoft Windows integration? - megamarc - 12-12-2020 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? RE: Microsoft Windows integration? - System64 - 12-12-2020 My hardware is Intel Core i5 Skylake, Nvidia GTX950M, 12 GB of RAM. RE: Microsoft Windows integration? - megamarc - 12-12-2020 And you're getting 50% GPU usage with this equipment? My stock Raspberry 3B from 2016 runs the C samples with CRT enabled at 60 fps... One of the samples provided with the engine is called "banchmark", have you tried it? It does some renders to a memory buffer to test performance. It doesn't use the window. Can you put the results here? For example funning in my Core i5 8250 returns this: Code: Tilengine v2.8.5 64-bit built Oct 17 2020 19:07:20 And the Raspberry Pi 3 B: Code: Tilengine v2.8.0 32-bit built May 3 2020 06:26:10 RE: Microsoft Windows integration? - System64 - 12-12-2020 My results : Code: Tilengine benchmark tool RE: Microsoft Windows integration? - megamarc - 12-12-2020 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 RE: Microsoft Windows integration? - constructworker - 12-12-2020 If we use the Vulkan graphics api and create a compatible vulkan surface with a win32 surface can we use that with the tilengine to render to? Code: VkSurfaceKHR WIN32Surface; RE: Microsoft Windows integration? - megamarc - 12-12-2020 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. |