Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Graphics, Gaming, and VR 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
3986 views
Users
0 members are here
OpenGL ES
Options
Share
More actions
Cancel
Related
How was your experience today?
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 11 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 11 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
Up
0
Down
Cancel
DS Son
over 11 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
Up
0
Down
Cancel