From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>,
Alexander Kanavin <alex.kanavin@gmail.com>
Cc: qemu-devel@nongnu.org, "Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] egl-helpers.h: add a missing X11 include
Date: Wed, 16 Jan 2019 12:10:49 +0100 [thread overview]
Message-ID: <85a3b4c9-017a-edbd-d991-172dc1528a7c@redhat.com> (raw)
In-Reply-To: <20190116055311.go6kwaemxfvbgtbb@sirius.home.kraxel.org>
On 1/16/19 6:53 AM, Gerd Hoffmann wrote:
> On Tue, Jan 15, 2019 at 09:47:08PM +0100, Alexander Kanavin wrote:
>> On Tue, 15 Jan 2019 at 20:58, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>>> Cc'ing Gerd (the maintainer) and Marc-André.
>>>
>>>> | EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
>>>> | ^~~~~~
>>>> | minor
>
>>> <epoxy/egl.h> includes <EGL/eglplatform.h> which contains:
>>>
>>> #if defined(MESA_EGL_NO_X11_HEADERS)
>>> typedef void *EGLNativeDisplayType;
>>> typedef khronos_uintptr_t EGLNativePixmapType;
>>> typedef khronos_uintptr_t EGLNativeWindowType;
>>> #else
>>> /* X11 (tentative) */
>>> #include <X11/Xlib.h>
>>>
>>> So Window should already be declared.
>>
>> Hello Philippe,
>>
>> we build mesa explicitly using "--with-platforms='drm surfaceless'"
>> (x11 is not in the list), which means MESA_EGL_NO_X11_HEADERS is
>> indeed defined according to [1]. We also enable opengl and gtk in
>> qemu.
>
> Hmm, should we use EGLNativeWindowType instead of Window then?
Yes, I prefer this too but was not sure you'd like that :)
Alexander do you want to write the patch or should I?
next prev parent reply other threads:[~2019-01-16 11:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-15 11:50 [Qemu-devel] [PATCH] egl-helpers.h: add a missing X11 include Alexander Kanavin
2019-01-15 19:58 ` Philippe Mathieu-Daudé
2019-01-15 20:47 ` Alexander Kanavin
2019-01-16 5:53 ` Gerd Hoffmann
2019-01-16 11:10 ` Philippe Mathieu-Daudé [this message]
2019-01-16 11:39 ` Alexander Kanavin
2019-01-21 3:51 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85a3b4c9-017a-edbd-d991-172dc1528a7c@redhat.com \
--to=philmd@redhat.com \
--cc=alex.kanavin@gmail.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).