Qt 4.8
Namespaces | Macros | Typedefs | Enumerations | Functions
qegl_p.h File Reference
#include <EGL/egl.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <QtGui/qpaintdevice.h>
#include <QFlags>

Go to the source code of this file.

Namespaces

 QEgl
 

Macros

#define EGL_IMAGE_PRESERVED_KHR   0x30D2
 
#define EGL_KHR_image_base
 
#define EGL_KHR_image_pixmap
 
#define EGL_NATIVE_PIXMAP_KHR   0x30B0
 
#define EGL_NO_IMAGE_KHR   ((EGLImageKHR)0)
 
#define EGLAPIENTRY
 
#define QEGL_NATIVE_TYPES_DEFINED   1
 
#define QEGL_NO_CONFIG   ((EGLConfig)-1)
 

Typedefs

typedef void * EGLClientBuffer
 
typedef unsigned int EGLenum
 
typedef void * EGLImageKHR
 
typedef NativeDisplayType EGLNativeDisplayType
 
typedef NativePixmapType EGLNativePixmapType
 
typedef NativeWindowType EGLNativeWindowType
 

Enumerations

enum  QEgl::API { QEgl::OpenGL, QEgl::OpenVG }
 
enum  QEgl::ConfigOption { QEgl::NoOptions = 0, QEgl::Translucent = 0x01, QEgl::Renderable = 0x02 }
 
enum  QEgl::PixelFormatMatch { QEgl::ExactPixelFormat, QEgl::BestPixelFormat }
 

Functions

Q_GUI_EXPORT EGLConfig QEgl::chooseConfig (const QEglProperties *configAttribs, QEgl::PixelFormatMatch match=QEgl::ExactPixelFormat)
 
Q_GUI_EXPORT EGLSurface QEgl::createSurface (QPaintDevice *device, EGLConfig cfg, const QEglProperties *surfaceAttribs=0)
 
Q_GUI_EXPORT EGLConfig QEgl::defaultConfig (int devType, API api, ConfigOptions options)
 
Q_GUI_EXPORT EGLDisplay QEgl::display ()
 
Q_GUI_EXPORT void QEgl::dumpAllConfigs ()
 
Q_GUI_EXPORT EGLImageKHR QEgl::eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
 
Q_GUI_EXPORT EGLBoolean QEgl::eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR img)
 
Q_GUI_EXPORT EGLBoolean QEgl::eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint count, const EGLint *rects)
 
Q_GUI_EXPORT QString QEgl::errorString (EGLint code=eglGetError())
 
Q_GUI_EXPORT QString QEgl::extensions ()
 
Q_GUI_EXPORT VisualID QEgl::getCompatibleVisualId (EGLConfig config)
 
Q_GUI_EXPORT bool QEgl::hasExtension (const char *extensionName)
 
Q_GUI_EXPORT EGLNativeDisplayType QEgl::nativeDisplay ()
 
Q_GUI_EXPORT EGLNativePixmapType QEgl::nativePixmap (QPixmap *)
 
Q_GUI_EXPORT EGLNativeWindowType QEgl::nativeWindow (QWidget *)
 

Macro Definition Documentation

◆ EGL_IMAGE_PRESERVED_KHR

#define EGL_IMAGE_PRESERVED_KHR   0x30D2

Definition at line 172 of file qegl_p.h.

◆ EGL_KHR_image_base

#define EGL_KHR_image_base

Definition at line 175 of file qegl_p.h.

◆ EGL_KHR_image_pixmap

#define EGL_KHR_image_pixmap

Definition at line 183 of file qegl_p.h.

◆ EGL_NATIVE_PIXMAP_KHR

#define EGL_NATIVE_PIXMAP_KHR   0x30B0

Definition at line 180 of file qegl_p.h.

Referenced by QMeeGoLivePixmapData::initializeThroughEGLImage().

◆ EGL_NO_IMAGE_KHR

#define EGL_NO_IMAGE_KHR   ((EGLImageKHR)0)

◆ EGLAPIENTRY

#define EGLAPIENTRY

Definition at line 132 of file qegl_p.h.

◆ QEGL_NATIVE_TYPES_DEFINED

#define QEGL_NATIVE_TYPES_DEFINED   1

Definition at line 119 of file qegl_p.h.

◆ QEGL_NO_CONFIG

#define QEGL_NO_CONFIG   ((EGLConfig)-1)

Typedef Documentation

◆ EGLClientBuffer

typedef void* EGLClientBuffer

Definition at line 70 of file qegl_p.h.

◆ EGLenum

typedef unsigned int EGLenum

Definition at line 69 of file qegl_p.h.

◆ EGLImageKHR

typedef void* EGLImageKHR

Definition at line 165 of file qegl_p.h.

◆ EGLNativeDisplayType

typedef NativeDisplayType EGLNativeDisplayType

Definition at line 118 of file qegl_p.h.

◆ EGLNativePixmapType

typedef NativePixmapType EGLNativePixmapType

Definition at line 117 of file qegl_p.h.

◆ EGLNativeWindowType

typedef NativeWindowType EGLNativeWindowType

Definition at line 116 of file qegl_p.h.