View Full Version : Animated desktop wallpaper: copy GDI bitmap to OpenGL texture

11-12-2013, 05:49 AM

I'm trying to implement animated desktop wallpaper for windows. Problem is in drawing wallpaper not above but under desktop icons. My solution is to hook up icons drawing event and do it using my own gdi device context and bitmap behind it. Next is to draw on desktop with opengl and data from gdi bitmap.

Where this gdi bitmap can be stored? Is it possible to copy gdi bitmap to opengl texture or use bitmap as opengl texture directly(all data is in video memory without pull it to the top)?

11-12-2013, 09:54 AM
Maybe helpful, yet not necessarily OpenGL related: