summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbnativeinterface.h
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-07-07 16:59:45 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-07-10 13:26:26 +0200
commit8663ccb039797af9292791dcd8563dc356162471 (patch)
tree3467d8511e241feb9a2739ea171fa629f95463a2 /src/plugins/platforms/xcb/qxcbnativeinterface.h
parentc587e5a4da3a1d5e2b8413fa6cdddc0f0c46d792 (diff)
Add support for querying "eglconfig" through the xcb native interface
We already support this for eglfs but for a desktop Qt configured with -opengl es2 we need to expose it through xcb as well. Change-Id: I36d0e255d8c86cc1cec56015f33470f61d7df466 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbnativeinterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.h b/src/plugins/platforms/xcb/qxcbnativeinterface.h
index 01b66a767d..c63cdf0254 100644
--- a/src/plugins/platforms/xcb/qxcbnativeinterface.h
+++ b/src/plugins/platforms/xcb/qxcbnativeinterface.h
@@ -63,6 +63,7 @@ public:
Connection,
Screen,
EglContext,
+ EglConfig,
GLXConfig,
GLXContext,
AppTime,
@@ -104,6 +105,7 @@ public:
static void setAppTime(QScreen *screen, xcb_timestamp_t time);
static void setAppUserTime(QScreen *screen, xcb_timestamp_t time);
static void *eglContextForContext(QOpenGLContext *context);
+ static void *eglConfigForContext(QOpenGLContext *context);
static void *glxContextForContext(QOpenGLContext *context);
static void *glxConfigForContext(QOpenGLContext *context);