On Fri, Nov 11, 2005 at 12:55:06PM +0100, Cagdas Ogut wrote: > Hi, > > I have ready RGB24 data at a pointer and I succesfully use it as > preallocated data of a surface, blit that surface to primary and flip > primary to make visible. > > I tried but could not create primary as preallocated to avoid blitting. > is there any way of doing this or similarly changing the inside of an > already existing primary?
Creating a preallocated primary surface isn't allowed. Technically it's not impossible but what's the point of it really? Unless your app is of the show-one-picture-and-exit style you're going to be drawing other stuff to your primary surface as well. That means you're going to overwrite the contents anyway. Also there would always be at least one system->video blit (it would happend when you call Flip()). -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
