Both issues probably don't harm beyond instanceof Checks fail, but it could also be that the Proxy doesn't even hook the GL methods in that case, which would make this more critical.
On a similar sidenote: Why is there only GraphicsTrace for Android but no GraphicsTiming, which would also be interesting? Forgotten?
Sorry paul for again taking your time, but you are probably the only one knowing Proxies and I guess for you it's only a matter of 5 minutes then.
I think I found two nits to fix in
GraphicsTrace
: https://github.com/jMonkeyEngine/jmonkeyengine/blob/acbddc2763117da6cc5d2cd66c63d98a6f31fa44/jme3-android/src/main/java/com/jme3/system/android/OGLESContext.java#L217 This misses GL2.class, which is implemented by https://github.com/jMonkeyEngine/jmonkeyengine/blob/acbddc2763117da6cc5d2cd66c63d98a6f31fa44/jme3-android/src/main/java/com/jme3/renderer/android/AndroidGL.java#L45And for JOGL: https://github.com/jMonkeyEngine/jmonkeyengine/blob/acbddc2763117da6cc5d2cd66c63d98a6f31fa44/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java#L188 and the following address the wrong GL.class here, because GL.class is
com.jogamp.opengl.GL
, and not thecom.jme3.renderer.opengl.GL
(aka OpenGL 1 interface).Both issues probably don't harm beyond
instanceof
Checks fail, but it could also be that the Proxy doesn't even hook theGL
methods in that case, which would make this more critical.On a similar sidenote: Why is there only
GraphicsTrace
for Android but noGraphicsTiming
, which would also be interesting? Forgotten?Sorry paul for again taking your time, but you are probably the only one knowing Proxies and I guess for you it's only a matter of 5 minutes then.