This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I have a question about using ES Emulator with native-interface of java6

Note: This was originally posted on 2nd June 2012 at http://forums.arm.com

First of all, thank you for providing this useful tool.
But problem has arisen like next.

   1. I've tried to set up EGL1.1 with provided shared-objects at native-code of some java-app
   2. But eglChooseConfig() couldn't get an EGL-config. (returned number of config was 0 and error-code of eglGetError() was 0x3001)
   3. But included sample-binary(simpApp11.c) works very well
   4. So,  I have copied codes of sample to native-code of java-app for figuring this problem
   5. eglChooseConfig() has returned FAIL as well as.
   6. In every-cases, eglGetDisplay() and eglInitialize() has returned SUCCESS (0x3000)
 
It looks like that eglChooseConfig() in libEGL.so works well with forked ELF-binary but doesn't work with Java VM-Context.

I wonder that this problem can be solved.
Parents
  • Note: This was originally posted on 8th June 2012 at http://forums.arm.com

    To RDC
    Thanks for your reply.
    I've found more information : libEGL.so works well with Java4 VM, but doesn't work with Java5 and 6 VM

    If you still need a code causes this problem, please tell me your e-mail. I cannot find this at your profile
    (But you can see this problem easily. Just run example-code of this emulator through JNI with Java6)
Reply
  • Note: This was originally posted on 8th June 2012 at http://forums.arm.com

    To RDC
    Thanks for your reply.
    I've found more information : libEGL.so works well with Java4 VM, but doesn't work with Java5 and 6 VM

    If you still need a code causes this problem, please tell me your e-mail. I cannot find this at your profile
    (But you can see this problem easily. Just run example-code of this emulator through JNI with Java6)
Children
No data