Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Animated desktop wallpaper: copy GDI bitmap to OpenGL texture

  1. #1
    Newbie Newbie
    Join Date
    Nov 2013
    Posts
    1

    Animated desktop wallpaper: copy GDI bitmap to OpenGL texture

    Hi!

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

  2. #2
    Intern Contributor
    Join Date
    Sep 2004
    Posts
    78
    Maybe helpful, yet not necessarily OpenGL related:

    http://stackoverflow.com/questions/1...ment-windows-c

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •