Page 1 of 1

Copying contents of memory buffer to backbuffer surface

PostPosted: May 23, 2007 @ 4:40pm
by Nomad
Hello to anybody, who is reading this now. :D

I have a memory buffer of image in RGB565 format.
And I am curious, what is the fastest way to copy it to backbuffer surface?
I've watched example in post:

http://www.pocketmatrix.com/forums/view ... 906#278906

But I didn't liked it because it checks buffer format for every point it must copy.
Are there any other faser methods?
Maybe I can set backbuffer format at the start of application to avoid everypixel checking and use memcopy insted of for-cycle?

Regards, Nomad.

PostPosted: May 25, 2007 @ 10:33am
by edge

PostPosted: May 25, 2007 @ 12:46pm
by Nomad

PostPosted: May 25, 2007 @ 2:34pm
by edge