59 #if defined(QT_OPENGL_ES_2) 60 # include <GLES2/gl2.h> 63 #if defined(QT_GLES_EGL) 64 # include <GLES/egl.h> 68 #if !defined(EGL_VERSION_1_2) 75 typedef int EGLBoolean;
78 typedef int NativeDisplayType;
79 typedef void* NativeWindowType;
80 typedef void* NativePixmapType;
81 typedef int EGLDisplay;
82 typedef int EGLConfig;
83 typedef int EGLSurface;
84 typedef int EGLContext;
86 #define EGL_NONE 0x3038 95 #include <X11/Xutil.h> 112 #if !defined(EGL_VERSION_1_3) && !defined(QEGL_NATIVE_TYPES_DEFINED) 113 #undef EGLNativeWindowType 114 #undef EGLNativePixmapType 115 #undef EGLNativeDisplayType 119 #define QEGL_NATIVE_TYPES_DEFINED 1 124 #include <QtGui/qpaintdevice.h> 129 #define QEGL_NO_CONFIG ((EGLConfig)-1) 139 #warning "EGL_KHR_image is defined" 141 #warning "EGL_KHR_image is NOT defined" 144 #ifdef EGL_KHR_image_base 145 #warning "EGL_KHR_image_base is defined" 147 #warning "EGL_KHR_image_base is NOT defined" 150 #ifdef EGL_EGLEXT_PROTOTYPES 151 #warning "EGL_EGLEXT_PROTOTYPES is defined" 153 #warning "EGL_EGLEXT_PROTOTYPES NOT not defined" 160 #if !defined(EGL_KHR_image) && !defined(EGL_KHR_image_base) 168 #if !defined(EGL_NO_IMAGE_KHR) 169 #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) 171 #if !defined(EGL_IMAGE_PRESERVED_KHR) 172 #define EGL_IMAGE_PRESERVED_KHR 0x30D2 174 #if !defined(EGL_KHR_image_base) 175 #define EGL_KHR_image_base 179 #if !defined(EGL_KHR_image) 180 #define EGL_NATIVE_PIXMAP_KHR 0x30B0 182 #if !defined(EGL_KHR_image_pixmap) 183 #define EGL_KHR_image_pixmap
#define QT_END_NAMESPACE
This macro expands to.
NativePixmapType EGLNativePixmapType
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
static bool match(const uchar *found, const char *target, uint len)
#define QT_END_INCLUDE_NAMESPACE
This macro is equivalent to QT_BEGIN_NAMESPACE.
The QString class provides a Unicode character string.
Q_GUI_EXPORT QString extensions()
NativeWindowType EGLNativeWindowType
Q_GUI_EXPORT EGLNativePixmapType nativePixmap(QPixmap *)
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_GUI_EXPORT EGLDisplay display()
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
Q_GUI_EXPORT EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img)
Q_GUI_EXPORT bool hasExtension(const char *extensionName)
Q_GUI_EXPORT EGLConfig defaultConfig(int devType, API api, ConfigOptions options)
Q_GUI_EXPORT EGLSurface createSurface(QPaintDevice *device, EGLConfig cfg, const QEglProperties *surfaceAttribs=0)
Q_GUI_EXPORT EGLNativeDisplayType nativeDisplay()
Q_GUI_EXPORT void dumpAllConfigs()
Q_GUI_EXPORT EGLBoolean eglSwapBuffersRegion2NOK(EGLDisplay dpy, EGLSurface surface, EGLint count, const EGLint *rects)
The QPixmap class is an off-screen image representation that can be used as a paint device...
Q_GUI_EXPORT VisualID getCompatibleVisualId(EGLConfig config)
#define QT_BEGIN_INCLUDE_NAMESPACE
This macro is equivalent to QT_END_NAMESPACE.
NativeDisplayType EGLNativeDisplayType
Q_GUI_EXPORT EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
Q_GUI_EXPORT EGLConfig chooseConfig(const QEglProperties *configAttribs, QEgl::PixelFormatMatch match=QEgl::ExactPixelFormat)
Q_GUI_EXPORT EGLNativeWindowType nativeWindow(QWidget *)