Mirror Driver or SDL for Screen Capture?

Just starting out? Need help? Post your questions and find answers here.
scriptmaster
User
User
Posts: 15
Joined: Fri Mar 13, 2009 3:13 pm
Location: Chennai, India

Mirror Driver or SDL for Screen Capture?

Post by scriptmaster »

Hi PureBasic PROs,

I am writing a screen capture program. I tried using GDI - the frame rate is VERY SLOW.

Has any pro PureBasic people here have tried creating a Mirror or working with SDL, who can advice me on how to write a VERY FAST Screen capture tool? Target desktops will be 1024x768 34bpp 60Hz

I am looking for a code example to *framegrab* the screen to a memory using any one of the two methods (Mirror Driver or SDL).