Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3670
Number of posts: 9122

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
video/graphics/screen buffer under windows Posted by asm_rules on 14 Apr 2003 at 10:54 AM
Hi, I would like to know the fastest way to access the windows screen buffer/... my program does the graphics itself and stores it in the buffer. I would like to know the fastest way to copy the game buffer to the screen. what should I use:
-directX
-openGL
-dos VGA/VESA
-bmp
-?????

So I DONT want to generate graphics, I just want to know the fastest way to copy it to a buffer

Thanks ahead falling_crashdummy@hotmail.com
Report
Re: video/graphics/screen buffer under windows Posted by chick80 on 14 Apr 2003 at 11:45 AM
Well, it depends greatly on what you're doing... for example, if you're programming a 3D app/game, DirectX or OpenGL are the best choice (DX is my favourite, but they're both very good), if you're doing some standard Windows app you should use Windows GDI, and so on...

nICO



How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.
JOHN KEATS


Report
Re: video/graphics/screen buffer under windows Posted by Pilo on 23 Apr 2003 at 8:20 PM
Once upon a time I tried to make a program that did exactly what you are trying to do... I never got that program to work properly due to lack of knowledge at the time but I can answer one part of your question...

Don't use OpenGL to paste a memory buffer onto the screen... For some reason I could never get it to work fast... so cross OpenGL off the list
Report
Re: video/graphics/screen buffer under windows Posted by adrianxw on 24 Apr 2003 at 12:13 AM
: Once upon a time I tried to make a program that did exactly what you are trying to do... I never got that program to work properly due to lack of knowledge at the time but I can answer one part of your question...
:
: Don't use OpenGL to paste a memory buffer onto the screen... For some reason I could never get it to work fast... so cross OpenGL off the list
:

On the other hand, many people are perfectly happy using OpenGL for that, the fact you couldn't get it to work does not reflect on the libraries ability.

Med venlig hilsen,

Adrian...




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.