[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] console: skip same-size resize
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH] console: skip same-size resize |
Date: |
Wed, 07 Sep 2016 13:00:48 +0000 |
Hi
On Wed, Sep 7, 2016 at 4:10 PM Gerd Hoffmann <address@hidden> wrote:
> On Fr, 2016-08-26 at 13:47 +0400, Marc-André Lureau wrote:
> > virtio-gpu does a set-scanout at each frame (it might be a driver
> > regression).
>
> xorg vs wayland maybe? as far I know only wayland pageflips for each
> frame.
>
Don't know, I am using Xorg
>
> > qemu_console_resize() recreate a surface even if the size
> > didn't change, and this shows up in profiling reports because the
> > surface is cleared. With this patch, I get a +15-20% glmark2
> > improvement.
>
> Does anything break if you simply drop the qemu_console_resize() call
> from virgl_cmd_set_scanout? In theory we should not need a surface in
> the first place in scanout mode, but I suspect there is a reason why the
> call is there ...
>
>
Isn't it there to resize the display window too? In any case, isn't this
patch good to have?
--
Marc-André Lureau