On sexta-feira, 22 de março de 2013 17.02.28, Matteo Brichese wrote:
> Inside GL:
> matteo@openembeddedpc:~/sysroot/usr/include/GL$ find | grep X11 *
> glext.h:#define GL_MATRIX11_ARB                   0x88CB
> glext.h:#define GL_SYNC_X11_FENCE_EXT             0x90E1
> glx.h:#include <X11/Xlib.h>
> glx.h:#include <X11/Xutil.h>
> glxint.h:#include <X11/X.h>
> glxint.h:#include <X11/Xdefs.h>

The two defines are normal. The rest are GLX, which is X-specific anyway.

> Inside EGL:
> matteo@openembeddedpc:~/sysroot/usr/include/EGL$ find | grep X11 *
> eglplatform.h:/* X11 (tentative)  */
> eglplatform.h:#include <X11/Xlib.h>
> eglplatform.h:#include <X11/Xutil.h>

A slightly longer paste:

#ifdef MESA_EGL_NO_X11_HEADERS

typedef void            *EGLNativeDisplayType;
typedef khronos_uint32_t EGLNativePixmapType;
typedef khronos_uint32_t EGLNativeWindowType;

#else

/* X11 (tentative)  */
#include <X11/Xlib.h>
#include <X11/Xutil.h>

typedef Display *EGLNativeDisplayType;
typedef Pixmap   EGLNativePixmapType;
typedef Window   EGLNativeWindowType;

#endif /* MESA_EGL_NO_X11_HEADERS */

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to