From 5dafc958385da595160dc0d3c843c8253334c3c5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 16 Jul 2013 05:34:49 +0200 Subject: GL*: Expose isGL*Core(); GLContext: isGL*() API doc cleanup - align queries. --- make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java | 15 +++++++++++++++ make/config/jogl/gl-impl-CustomJavaCode-gles1.java | 15 +++++++++++++++ make/config/jogl/gl-impl-CustomJavaCode-gles3.java | 15 +++++++++++++++ 3 files changed, 45 insertions(+) (limited to 'make') diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java index 5ac2837fa..6cec06d04 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java @@ -99,6 +99,21 @@ public final boolean isGL4ES3() { return _context.isGL4ES3(); } +@Override +public final boolean isGL4core() { + return _context.isGL4core(); +} + +@Override +public final boolean isGL3core() { + return _context.isGL3core(); +} + +@Override +public final boolean isGLcore() { + return _context.isGLcore(); +} + @Override public final boolean isGLES2Compatible() { return _context.isGLES2Compatible(); diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java index 2fa83dca6..35e8b0916 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java @@ -77,6 +77,21 @@ public final boolean isGL4ES3() { return false; } +@Override +public final boolean isGL4core() { + return false; +} + +@Override +public final boolean isGL3core() { + return false; +} + +@Override +public final boolean isGLcore() { + return false; +} + @Override public final boolean isGLES2Compatible() { return false; diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java index bb4a6246b..a03352409 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java @@ -78,6 +78,21 @@ public final boolean isGL4ES3() { return _isES3; } +@Override +public final boolean isGL4core() { + return false; +} + +@Override +public final boolean isGL3core() { + return false; +} + +@Override +public final boolean isGLcore() { + return true; +} + @Override public final boolean isGLES2Compatible() { return true; -- cgit v1.2.3