opengl es - Does Dalvik use native library in Android? -


I read a lot of articles about it, but clearly can not understand a very important issue. So, for example, I wrote a program (in Java) that compiled my program to run in Dualvic after using the ODAGL API (the package included in this API package). And how does this byte code communicate with openges. When does this communication appear?

Correct me if I am wrong because the following is just an estimate:

The Android Framework has been sent with a set of Java Classes, which implements OpenGL functionality. This Java class will only call the native OpenGL function through JNI, thus, taking advantage of the original OpenGL libraries.

If you look at Android Framework sources, you can see the following:

  public class GLES20 {public static origin zero glClearColor (float red, float green, float Blue, float alpha); // C function zero glider path (GLclamph depth) public static basic zero glider path (float depth); // C function zero glove stencil (GLINTS) public static core zero glove stencil (int s); // more work}  

So, I think that this is just JNI. It's all open source, just go there and see.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -