[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: running the user interface in a thread ...
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] RFC: running the user interface in a thread ... |
Date: |
Thu, 21 Jan 2016 11:16:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 21/01/2016 10:52, Gerd Hoffmann wrote:
>> > Instead of having a full-blown thread, are there things (such as the
>> > TGSI->GLSL conversion) that could be simply offloaded to a userspace
>> > thread pool, either in QEMU or in virglrenderer?
> I think virglrenderer would have to do that. Unfortunaly opengl isn't
> very good at multithreading, so I'm not sure a thread pool would work
> well. Compiling shaders could be a special case where threading
> actually works because that isn't in the actual rendering workflow. Not
> fully sure though, Dave?
Or even MESA could. Perhaps we (you :)) could add an extension for
asynchronous shader compilation. But the TGSI->GLSL conversion is done
by virglrender, with no opengl calls (with a big IIRC in front).
Paolo
Re: [Qemu-devel] RFC: running the user interface in a thread ..., Fam Zheng, 2016/01/21