[SDL] Whdn do events get queued?
Ryan C. Gordon
icculus at icculus.org
Mon Jun 11 22:24:40 PDT 2007
> The queue won't overflow if you remove the mousemotion events as they occur,
> but processing them usually takes much more time than just popping them off
> the queue. So only process the last mousemotion event, or every nth one, to
> avoid slowing down your application or risking an event queue overflow.
You would really have to do a LOT of expensive processing, I'd imagine.
On Windows at least, you probably don't get as many mouse motion events
as you think, either:
http://blogs.msdn.com/oldnewthing/archive/2003/10/01/55108.aspx
--ryan.
More information about the SDL
mailing list