Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
I have a question about using ES Emulator with native-interface of java6
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
136 subscribers
Views
4255 views
Users
0 members are here
OpenGL ES
Options
Share
More actions
Cancel
Related
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
DS Son
over 12 years ago
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.
Rhys Copeland
over 12 years ago
Note: This was originally posted on 6th June 2012 at
http://forums.arm.com
Hi DSSon,
That's interesting. I can't think of any reason why it should fail inside a VM context, but I'll investigate for you. In order to speed things up, are you able to share a relevant code snippet that causes the failure?
Cancel
Vote up
0
Vote down
Cancel
DS Son
over 12 years ago
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)
Cancel
Vote up
0
Vote down
Cancel