qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] gtk: fix build


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] gtk: fix build
Date: Mon, 11 Jul 2016 11:15:51 +0100

On 7 July 2016 at 08:29, Gerd Hoffmann <address@hidden> wrote:
> Commit "9d8256e virgl: pass whole GL scanout dimensions" missed the
> opengl code path for gtk versions >= 3.16.  Update that one too and
> fix the build with recent gtk versions.
>
> Reported-by: Dr. David Alan Gilbert <address@hidden>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
>  include/ui/gtk.h | 1 +
>  ui/gtk-gl-area.c | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/include/ui/gtk.h b/include/ui/gtk.h
> index a764404..42ca0fe 100644
> --- a/include/ui/gtk.h
> +++ b/include/ui/gtk.h
> @@ -124,6 +124,7 @@ void gd_gl_area_destroy_context(DisplayChangeListener 
> *dcl,
>                                  QEMUGLContext ctx);
>  void gd_gl_area_scanout(DisplayChangeListener *dcl,
>                          uint32_t backing_id, bool backing_y_0_top,
> +                        uint32_t backing_width, uint32_t backing_height,
>                          uint32_t x, uint32_t y,
>                          uint32_t w, uint32_t h);
>  void gd_gl_area_scanout_flush(DisplayChangeListener *dcl,
> diff --git a/ui/gtk-gl-area.c b/ui/gtk-gl-area.c
> index b86ff3c..0df5a36 100644
> --- a/ui/gtk-gl-area.c
> +++ b/ui/gtk-gl-area.c
> @@ -169,6 +169,7 @@ void gd_gl_area_destroy_context(DisplayChangeListener 
> *dcl, QEMUGLContext ctx)
>
>  void gd_gl_area_scanout(DisplayChangeListener *dcl,
>                          uint32_t backing_id, bool backing_y_0_top,
> +                        uint32_t backing_width, uint32_t backing_height,
>                          uint32_t x, uint32_t y,
>                          uint32_t w, uint32_t h)
>  {
> --
> 1.8.3.1

Thanks; applied to master as a build fix.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]