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

What is faster


What is faster

Postby Rouli » Apr 2, 2004 @ 9:25pm

Hi !
I'd like to display a character looking to the right if he goes right and left if not ... no more complex thatn that:

is that faster to create 2 surfaces (lookingLeft and lookingRight) and display them with a bltfast ? or to mirror a unique surface with a blt ??
Rouli
 


Postby ruis » Apr 3, 2004 @ 12:30am

BltFast is always faster than Blt. If memory is critical, you could go for the mirrored blit, but the BltFast is a better option if you are looking for optimal performance.

//Erik
User avatar
ruis
pm Member
 
Posts: 41
Joined: Nov 3, 2002 @ 5:00pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

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