[Scummvm-cvs-logs] CVS: scummvm TODO,1.24,1.25

Max Horn fingolfin at users.sourceforge.net
Fri Oct 10 03:51:09 CEST 2003


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv26611

Modified Files:
	TODO 
Log Message:
a small TODO/idea (maybe we should add an IDEAS file?)

Index: TODO
===================================================================
RCS file: /cvsroot/scummvm/scummvm/TODO,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- TODO	8 Oct 2003 22:10:59 -0000	1.24
+++ TODO	10 Oct 2003 10:41:57 -0000	1.25
@@ -15,6 +15,14 @@
   in each Plugin which given a FSList returns a list of candidate targets.
   This way, a plugin can implement tests more elaborate than filename
   checking, e.g. it could actually peek into the files.
+* make some generic "EventLoop" API/class which all backends and the GUI
+  use. Initially this would just call the backend poll_event() etc. methods.
+  But eventually the EventLoop object(s) could be made by the backend.
+  This may allow for more efficient CPU usage etc.
+  The current event handling model essentially is polling: the engines run
+  some kind of main loop, which, besides many other things, also polls and
+  dispatches events. The idea is to turn this around: the event loop
+  frequently gives the engine time to do these "other things".
 
 GUI
 ===





More information about the Scummvm-git-logs mailing list