Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What lib (or code) does android use to implement opengl?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 166

PostPosted: Thu Feb 07, 2013 6:14 am    Post subject: What lib (or code) does android use to implement opengl? Reply with quote

What lib does android use for 3d game?
What gl version does it support? is it open source? how is it compare to mesa?

I can't get the answer from google...

Edit: title modified


Last edited by fpemud on Thu Feb 07, 2013 9:08 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3951
Location: USA

PostPosted: Thu Feb 07, 2013 7:33 am    Post subject: Reply with quote

from what I've gathered, which may or may not be correct - I've been seeing if it were possible to make a Maemo machine run Android apps without rebooting - say, a chroot - and it seems quite difficult due to massive abi differences. A whole 'wine' effort to convert the calls would be needed...

but I would think Android should at least still use glibc? not sure...

Maemo on the other hand seems very traditional Linux like.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 305
Location: Germany

PostPosted: Thu Feb 07, 2013 7:35 am    Post subject: Reply with quote

I guess, you are asking wrong question. Android does not use any library for 3d game. Android is a system that allows creation of games, as well as all kinds of other applications. It provides set of libraries for doing it. The application developers pick the libraries that are most suitable for their applications. Android also provides OpenGL. Here's documentation http://developer.android.com/guide/topics/graphics/opengl.html

So, study the docs for available libraries and choose those that you want to use.
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 166

PostPosted: Thu Feb 07, 2013 9:07 am    Post subject: Reply with quote

yeah, my question is obscure, sorry.

What I really want to ask is:

What lib (or code) does android use to implement opengl? How is it?
What gl version does it support?
is it open source?
is it developed from scratch by google or copied from other project?
how is it compare to mesa?

To v_andal:
I viewed that page, this page says something about the gl interface and gl version.
but nothing about the implementation status.
Back to top
View user's profile Send private message
nix213
n00b
n00b


Joined: 08 Feb 2013
Posts: 23
Location: Illinois

PostPosted: Fri Feb 08, 2013 1:44 am    Post subject: Reply with quote

I could be wrong, but I believe Android uses OpenGL ES (for embedded systems):
http://en.wikipedia.org/wiki/OpenGL_ES#OpenGL_ES_2.0_2
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 305
Location: Germany

PostPosted: Fri Feb 08, 2013 7:32 am    Post subject: Reply with quote

Yep. It says so right at the beginning of the page that I gave link to

Quote:

Beginning with Android 2.2 (API Level 8 ), the framework supports the OpenGL ES 2.0 API specification.


One can also access the native API using Android NDK http://developer.android.com/tools/sdk/ndk/index.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum