Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Threads and Drawing

0 replies · 1,015 views · Started 17 November 2006

Hello.
I have an application where i need to perform drawing in parallel with a receiving operation (using sockets). I have created a thread that does fills a CfbsBitmap(a process which takes a while) and i need to blit it to the screen.
I have read that:
"The problem with using a separate thread is that the Window Server sessions are thread-specific, and you cannot access the default WSERV session (and related windows) from a new thread. If you draw directly to the frame buffer this probably won't be a problem."

Is there a way to draw from another thread?? I have already tried Direct Screen Access, but it didn't work, because one of the classes it uses, works with the WServer, therefore the same problem occurs.
How may i draw directly to the frame buffer?

Thank you,
Thanassis.