From eced1d4e45772a862d649e3cd7b500c6bc1643a1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 6 Mar 2015 10:01:02 +0100 Subject: Bug 1135 - GL/GLContext: Add isGLES31Compatible() --- src/jogl/classes/com/jogamp/opengl/GLBase.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/jogl/classes/com/jogamp/opengl/GLBase.java') diff --git a/src/jogl/classes/com/jogamp/opengl/GLBase.java b/src/jogl/classes/com/jogamp/opengl/GLBase.java index b6704e6ba..dee5f1488 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLBase.java +++ b/src/jogl/classes/com/jogamp/opengl/GLBase.java @@ -223,6 +223,19 @@ public interface GLBase { */ public boolean isGLES3Compatible(); + /** + * Indicates whether this GL object is compatible with the core OpenGL ES3.1 functionality. + *

+ * Return true if the underlying context is an ES3 context ≥ 3.1 or implements + * the extension GL_ARB_ES3_1_compatibility, otherwise false. + *

+ *

+ * Includes [ GL ≥ 4.5, GL ≥ 3.1 w/ GL_ARB_ES3_1_compatibility and GLES3 ≥ 3.1 ] + *

+ * @see GLContext#isGLES31Compatible() + */ + public boolean isGLES31Compatible(); + /** * Indicates whether this GL object supports GLSL. * @see GLContext#hasGLSL() -- cgit v1.2.3