This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Copying contents of memory buffer to backbuffer surface


Copying contents of memory buffer to backbuffer surface

Postby Nomad » May 23, 2007 @ 4:40pm

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.
Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Postby edge » May 25, 2007 @ 10:33am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nomad » May 25, 2007 @ 12:46pm

Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Postby edge » May 25, 2007 @ 2:34pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron