diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-11-10 16:02:31 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-11-10 16:51:12 +0000 |
commit | 45c6cb5f083934f311561599d34ce771bbabf835 (patch) | |
tree | 09a6429a1929a3204b52c0925e4baa2b65de9666 /include/vcl | |
parent | e2dde6a4d149301557c18d0bcb474fb187ee09e8 (diff) |
vcl: cleanup the opengl selection API.
Change-Id: Icebf3c7d2911b27e29d2259b780a04048b293b3c
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/opengl/OpenGLHelper.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx index d49f579a5550..ee5a9f8d3a28 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -58,6 +58,11 @@ public: */ static bool supportsVCLOpenGL(); + /** + * Returns true if VCL has OpenGL rendering enabled + */ + static bool isVCLOpenGLEnabled(); + #if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID static bool GetVisualInfo(Display* pDisplay, int nScreen, XVisualInfo& rVI); static GLXFBConfig GetPixmapFBConfig( Display* pDisplay, bool& bInverted ); |