Does GDI+ support graphics acceleration?

2019-07-29 07:21发布

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)?

1条回答
萌系小妹纸
2楼-- · 2019-07-29 07:51

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.

查看更多
登录 后发表回答