Hi,

On Tue, 2007-01-02 at 23:12 +0000, Phil Endecott wrote:

> So if I have two threads, each with their own private surfaces, do they 
> need to call Lock() before writing?  Or is Lock() only needed if that 
> particular surface might be accessed by more than one thread?

Calling Lock() is the only way you can get a pointer to the pixel data
of a surface. You also need to do that in a single-threaded application.
Basically, it doesn't have anything to do with threading.


Sven



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to