spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories

JOGL vs OpenGL ES API on Android. Pros&Cons


You can use JOGL only on the platforms that we support. I confirm that JOGL has a good interoperability with AWT, Swing and SWT (not yet with OpenJFX/JavaFX but we'll improve that when Oracle does the necessary things). Yes there are some nice abstractions but you forget tons of things:

  • JOGL has its own AWT-free image management. It has a better support of JPEG than ImageIO and it is faster
  • You can preserve the OpenGL context even when your application is paused and put in background (when you press "home"), it's build-in
  • You can test your OpenGL-ES code on your computer even though it doesn't replace the tests on a real device
  • You can use exactly the same OpenGL code on desktop and embedded environments, especially if you already use GL2ES2
  • you can rely on us if something goes wrong, there are already a few commercial games on Google Play

I admit that there is a lack of documentation about JOGL under Android. I'm sorry, I have spent several months in writing a tutorial about JogAmp's Ardor3D Continuation and I prefer leaving the task of doing the same for JOGL Android usage to someone more experienced with it.

Edit.: Sorry for the late reply but I had a problem with my OpenID. Please rather post questions about JOGL on our official forum.


Categories : Android

Related to : JOGL vs OpenGL ES API on Android. Pros&Cons
Android Opengl Vertex greater than 1
You got NumberFormatException because you parse an "float string" in Integer.parseInt(...) function. Maybe you can do something like: int regla3 = (int) verticesflotantes[i]*65536/5; // get the integer part // well... now you have integer part, I think there is nothing we need to do. vertices[i] = regla3;

Categories : Android
Texturing Multiple Entities with OpenGL ES 2.0 on Android
If I understand correctly you are looking for a nice application structure achieve a sprite animation using atlas textures. Know there are very many good ways to do that so I will try to explain only one. It is best to handle your situation in quite a few classes which control textures and models. In the bottom you should create a class that handles a texture, it contains a texture ID and if i

Categories : Android
Using OpenGL for Image Processing - Setting up an OpenGL context
You don't have to use a GLSurfaceView. GLSurfaceView is a convenience class written purely in Java. It simplifies the setup part for applications that want to use OpenGL rendering in Android, but all of its functionality is also available through lower level interfaces in the Android frameworks. For purely offscreen rendering, you can use the EGL interfaces to create contexts, surfaces, etc. Some

Categories : Android
Unable to draw a triangle by using opengl es 2.0 in android java
There are at least a couple of problems in this code. The big one is right at the start: public MyGLSurfaceView(Context context) { super(context); setRenderer(new MyGLRenderer()); setEGLContextClientVersion(2); setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); } This is the wrong order of calls. setEGLContexClientVersion() needs to be called before setRenderer(). setRenderer()

Categories : Java
What is unextended OpenGL?
It just refers to OpenGL without extensions or, depending on context, without any extensions relevant to the discussion. For example, in the GL_KHR_blend_equation_advanced specification you were reading, "the standard blend modes provided by unextended OpenGL" just means the modes OpenGL offers by default. It uses "unextended" for clarity, to qualify that it is referring to OpenGL's set of blend

Categories : Opengl
Recently Add
"Could not find method packageName()" Error in RC1 - Flavors do not compile
How to get estimote beacons range in Android?
android easy way to check contact has image
How to get the music player buttons on Android wear like google play music
Broken built tools in android SDK manager (missing aapt.exe )
Fragments keep duplicating
Using WRAP_CONTENT, popupwindow gets hole screen width
how i can check if DB have data and insert new rows in sqlite android
Roboguice example astroboy can't work with NullPointerException
Passively search for Bluetooth devices for location detection
Retreiving data from existing database and populate it in a listview
How to check when wearable app is installed on watches?
Travis CI - Android Project Build Failing
Can onStartCommand() get called while onDestroy() is executing?
How to set selected item of Spinner by value, not by position
Why does getActivity() work when updating a fragment?
how can I change LinearLayout's color with round corner in runtime?
ANDROID : Webview doesn't take full width
Is it possible to get another application's primary color like lollipop's recents view
No resource found that matches the given name keeps showing
how to display image on imageview dynamically from drawalble folder
Android WebView Push assign name to DeviceID
how to get all sub admin area's / districts for a country
How to integrate barcode scanner into glass app
what's the difference between TELEPHONY_SERVICE1 and TELEPHONY_SERVICE
Android: NoClassDefFoundError android.os.AsyncTask
Get Battery Standby time, 2G/3G Usage in Android
How to get data from SOAP response in android?
How to know a process of an app is 32-bit or 64-bit programmatically in Android lollipop?
two .so files couldn't load from two different package in an application why?
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.