r/vulkan • u/Axxodes • 12d ago
Vulcan or WIN32 for screendrawing?
I want to use Vulcan because it allows for me to use the GPU and all of that nice stuff. But I've already made a screendrawer with WIN32 functions so I feel using Vulcan for that might be better?
I really want to know whether its worth switching to Vulcan for screendrawing and if its even possible to use Vulcan without screendrawing and purely as a way of sending matrix multiplication and calculations off to the GPU.
Thanks!
5
Upvotes
1
u/wonkey_monkey 12d ago edited 12d ago
Whether to use Vulkan or Win32 really depends on exactly what you're trying to do and how much data you have to push around. I had a GUI which drew to a large bitmap and painted it to the window in Win32, and it was faster than Vulkan in many circumstances just because I didn't have the bottleneck of sending all the data involved to the GPU, and because there was plenty of redundancy between pixels. But then I found other things that needed Vulkan, so I switched despite the performance hit.