diff options
author | Andras Becsi <andras.becsi@digia.com> | 2014-07-07 17:19:49 +0200 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2014-08-06 19:25:30 +0200 |
commit | adcb7979a5f7193d1b8c6b87c0f2c92cfa80a316 (patch) | |
tree | a5e6aa33178b20b72d3487a8add6dc3aca0b9f9a /src/core/gl_surface_qt.h | |
parent | 3b1caeb21a66ca939854b897824e9e853ba60b67 (diff) |
Remove duplicate code for egl extensions and native display querying
This is now possible through GLSurfaceQt, and GLContextHelper respectively.
Change-Id: I06e13ccdea9737dc41b034befb4f01aa08d72c2a
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/gl_surface_qt.h')
-rw-r--r-- | src/core/gl_surface_qt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/gl_surface_qt.h b/src/core/gl_surface_qt.h index 010f7064a..70b5fb6b6 100644 --- a/src/core/gl_surface_qt.h +++ b/src/core/gl_surface_qt.h @@ -53,6 +53,8 @@ class GLSurfaceQt: public GLSurface { public: explicit GLSurfaceQt(const gfx::Size& size); + static bool HasEGLExtension(const char* name); + // Implement GLSurface. virtual void* GetDisplay() Q_DECL_OVERRIDE; virtual void* GetConfig() Q_DECL_OVERRIDE; |