On Mon, 12/12 12:20, Liviu Ionescu wrote:
> 
> > On 12 Dec 2016, at 11:39, Fam Zheng <f...@redhat.com> wrote:
> > 
> > ... I myself know next to nothing about SDL project.
> 
> ok, neither do I.
> 
> 
> do you have any comments on the current situation of the SDL integration in
> QEMU? any comments on the conclusions I reached after integrating SDL2 into
> GNU ARM Eclipse QEMU?
> 
> personally I do not like at all polling the SDL loop every 10 ms on a timer,
> but I currently have no other solution. I tried to move the I/O loop on a
> separate thread, but the Windows implementation of `poll` works only on the
> main thread.

Like I said ealier, instead of "polling" SDL events in a timer, how about
registering an EventNotifier in the main thread which is notified by the vCPU
thread upon a new graphics operation? That will fix the latency issue.

Fam

Reply via email to