[SDL] Displaying data array

Ed Keith e_d_k at yahoo.com
Fri Mar 21 09:25:55 PDT 2008


I have an array of data in memory that I want to
display as an image. I can think of two ways of doing
this, but do not like either one.

I could write the array to the screen pixel by pixel.
I suspect this will be very slow.

I could write the data to a bit map file and read the
file into the display. I do not like all this
unnecessary disk access.

Can anyone suggest a better way?

thank you,

   -EdK

Ed Keith
e_d_k at yahoo.com

Blog: edkeith.blogspot.com


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the SDL mailing list