Reputation: 22275
I'm trying to write a screensaver for a Windows platform using C++ and Win APIs. To render graphics I'm using GDI+, but the issue is rendering png's with some small amount of animation (fade-in and -out) becomes very "CPU heavy."
So I was wondering if there's a way to enable GPU acceleration for GDI+ APIs? And if it's not possible, is there something that I can use from a non-managed code that supports GPU acceleration (apart from OpenGL or DirectX)?
Upvotes: 2
Views: 3567
Reputation: 124642
Nope. GDI is mostly about manipulation of in memory bitmaps when it comes down to it. If you want more advanced features, use Direct3D/2D.
Upvotes: 2