Jump to content
  • Advertisement
Sign in to follow this  
Vincent Torri

putting 16 bits rgb data on a windows using gdi

This topic is 3536 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, so, i'm always working on the Windows CE port of my canvas library. Right now, I use the framebuffer, gapi and directdraw backends. But for hiw work, a friend uses a specific card that uses windows CE. Thar card has not directdraw nor gapi, and the driver does not implement the escape method to get the informations for the framebuffer. So the only solution that remains is gdi (despite it is slow. We focus on speed, but we also need something that is working...) So, what I have is a pointer on a 16 bits 565 rgb data (it has been created from an image file, for example). So you can consider it as an image of size (w,h) pixels. I want ot put on the windows at position (x,y) pixels. What is the fastest way of doing that, using gdi only ? thank you

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!