From 96e71b020a48e8a01e3790e81bd888977d9cab6d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 7 Oct 2015 11:54:31 +0200 Subject: Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part5: GL_ARB_ES3_2_compatibility -> [GL|GLContext].isGLES32Compatible() --- 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 e0c784398..0cbcbe40f 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLBase.java +++ b/src/jogl/classes/com/jogamp/opengl/GLBase.java @@ -236,6 +236,19 @@ public interface GLBase { */ public boolean isGLES31Compatible(); + /** + * Indicates whether this GL object is compatible with the core OpenGL ES3.2 functionality. + *

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

+ *

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

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