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