43 #include <private/qeglcontext_p.h> 44 #include <private/qpixmapdata_gl_p.h> 89 qFatal(
"EGL_NOK_image_shared not found but trying to use capability!");
97 qFatal(
"EGL_NOK_image_shared not found but trying to use capability!");
105 qFatal(
"EGL_NOK_image_shared not found but trying to use capability!");
113 qFatal(
"EGL_NOK_surface_scaling not found but trying to use capability!");
121 qFatal(
"EGL_KHR_lock_surface2 not found but trying to use capability!");
129 qFatal(
"EGL_KHR_lock_surface2 not found but trying to use capability!");
137 qFatal(
"EGL_KHR_fence_sync not found but trying to use capability!");
145 qFatal(
"EGL_KHR_fence_sync not found but trying to use capability!");
153 qFatal(
"EGL_KHR_fence_sync not found but trying to use capability!");
161 qFatal(
"EGL_KHR_fence_sync not found but trying to use capability!");
174 qDebug(
"MeegoGraphics: found EGL_NOK_image_shared");
186 qDebug(
"MeegoGraphics: found EGL_NOK_surface_scaling");
194 qDebug(
"MeegoGraphics: found EGL_KHR_lock_surface2");
203 qDebug(
"MeegoGraphics: found EGL_KHR_fence_sync");
static bool eglSetSurfaceScalingNOK(EGLDisplay dpy, EGLSurface surface, int x, int y, int width, int height)
static EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value)
static bool hasImageShared
EGLBoolean(EGLAPIENTRY * eglGetSyncAttribKHRFunc)(EGLDisplay, EGLSyncKHR, EGLint, EGLint *)
khronos_utime_nanoseconds_t EGLTimeKHR
EGLBoolean(EGLAPIENTRY * eglUnlockSurfaceKHRFunc)(EGLDisplay, EGLSurface)
static bool eglDestroySharedImageNOK(EGLDisplay dpy, EGLNativeSharedImageTypeNOK img)
static eglDestroySyncKHRFunc _eglDestroySyncKHR
static eglCreateSharedImageNOKFunc _eglCreateSharedImageNOK
static eglCreateSyncKHRFunc _eglCreateSyncKHR
static eglUnlockSurfaceKHRFunc _eglUnlockSurfaceKHR
static bool eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface)
static const QGLContext * currentContext()
Returns the current context, i.e.
Q_CORE_EXPORT void qDebug(const char *,...)
void * EGLNativeSharedImageTypeNOK
Q_GUI_EXPORT EGLDisplay display()
static bool eglQueryImageNOK(EGLDisplay dpy, EGLImageKHR image, EGLint prop, EGLint *v)
The QGLContext class encapsulates an OpenGL rendering context.
EGLSyncKHR(EGLAPIENTRY * eglCreateSyncKHRFunc)(EGLDisplay, EGLenum, const EGLint *)
static bool hasLockSurface
static eglDestroySharedImageNOKFunc _eglDestroySharedImageNOK
static EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list)
Q_GUI_EXPORT bool hasExtension(const char *extensionName)
static eglSetSurfaceScalingNOKFunc _eglSetSurfaceScalingNOK
EGLBoolean(EGLAPIENTRY * eglSetSurfaceScalingNOKFunc)(EGLDisplay, EGLSurface, EGLint, EGLint, EGLint, EGLint)
EGLNativeSharedImageTypeNOK(EGLAPIENTRY * eglCreateSharedImageNOKFunc)(EGLDisplay, EGLImageKHR, EGLint *)
Q_CORE_EXPORT void qFatal(const char *,...)
EGLBoolean(EGLAPIENTRY * eglLockSurfaceKHRFunc)(EGLDisplay, EGLSurface, const EGLint *)
static EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout)
static void ensureInitialized()
static eglQueryImageNOKFunc _eglQueryImageNOK
EGLint(EGLAPIENTRY * eglClientWaitSyncKHRFunc)(EGLDisplay, EGLSyncKHR, EGLint, EGLTimeKHR)
static eglGetSyncAttribKHRFunc _eglGetSyncAttribKHR
static bool eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)
static eglClientWaitSyncKHRFunc _eglClientWaitSyncKHR
EGLBoolean(EGLAPIENTRY * eglQueryImageNOKFunc)(EGLDisplay, EGLImageKHR, EGLint, EGLint *)
bool qt_resolve_eglimage_gl_extensions(QGLContext *ctx)
static bool hasSurfaceScaling
static bool eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint *attrib_list)
static EGLNativeSharedImageTypeNOK eglCreateSharedImageNOK(EGLDisplay dpy, EGLImageKHR image, EGLint *props)
static eglLockSurfaceKHRFunc _eglLockSurfaceKHR
EGLBoolean(EGLAPIENTRY * eglDestroySharedImageNOKFunc)(EGLDisplay, EGLNativeSharedImageTypeNOK)
EGLBoolean(EGLAPIENTRY * eglDestroySyncKHRFunc)(EGLDisplay, EGLSyncKHR)