paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] ParaGUI Event Loops


From: leiavoia
Subject: [paragui-users] ParaGUI Event Loops
Date: Sat, 6 Dec 2003 14:39:22 -0500
User-agent: KMail/1.5

somewhat continued from another posting i made earlier:

I'm trying to get paragui to run with network support which means i need to 
put network checking code somewhere in the event loop -OR- in a seperate 
thread. so i have a few questions hopefully someone could answer. I would be 
ever so greatfull:

1) one way to do things is to run the main paragui event loop like

        application->Run(1)

which runs it in a thread. Then i can create my own loop outside of that. How 
platform-compatable is the method?

2) i tried the previous suggestion of creating a custom game loop and not ever 
calling Run() at all. However, the problem comes from the BulkBlit() method. 
I have a lot of elements on the screen and BulkBlit takes a veeeeeeeeeeeery 
long time to redraw the screen every frame. The redraw lag is completely 
unnacceptable. Is there a faster way to draw only the elements that need to 
be drawn? How does ParaGUI do it on it's own? Its very confusing when i try 
to take it apart from the source code level.

thanks for your help and advice. look forward to your replies.


-- 
leiavoia
The AXIS Project
http://www.project-axis.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]