The San Angeles demo is not a good example, it will be slow on any system (even iPhone). It's a great demonstration of using the NDK and native OpenGL ES libraries, but that's about it.
And the reason for this is that the demo is trying to send bazillion of triangles to the GPU without any doing prior clipping or culling, most of them not even visible in the target scene. On Wed, Mar 24, 2010 at 2:27 PM, Gregory Ray < [email protected]> wrote: > It seems like the surface view in java is extremely slow, even with the > sans angeles demo it was moving at like 5 frames a second. I tried it on > both the AVD and Droid but slow. Is this me doing something wrong or is the > surface view just messed up? > > > On Tue, Mar 23, 2010 at 9:33 AM, Dianne Hackborn <[email protected]>wrote: > >> There are only APIs for this in Java. >> >> On Mon, Mar 22, 2010 at 4:42 AM, Latha Shivanna <[email protected]>wrote: >> >>> Hii All, >>> >>> In one of my applications, i am doing some video playback and other >>> display related stuffs in Surfaceviews and i create them in XML >>> layouts. I am all fine in Java here. >>> >>> >>> But now i need to do all this in C/C++(native layer), >>> >>> >>> I have this doubt in this regard. >>> >>> Is it possible to create Surfaces in C/C++? >>> >>> (the main activity that needs this surface in my C file is the >>> mediaplayer's setVideoSurface() method which requires this surface.) >>> >>> Could anyone please let me know how to achieve this? >>> >>> Your advice is highly appreciated. >>> >>> thanks, >>> Latha. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "android-ndk" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<android-ndk%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/android-ndk?hl=en. >>> >>> >> >> >> -- >> Dianne Hackborn >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time to >> provide private support, and so won't reply to such e-mails. All such >> questions should be posted on public forums, where I and others can see and >> answer them. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "android-ndk" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<android-ndk%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/android-ndk?hl=en. >> > > > > -- > Gregory Ray > COO, Seek Mobile Interactive, Inc. > > --- > > This e-mail message, including any attachments, is for the sole use of the > intended recipient(s) and may contain information that is confidential and > protected by law from unauthorized disclosure. Any unauthorized review, use, > disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply e-mail and destroy all copies > of the original message. > > -- > You received this message because you are subscribed to the Google Groups > "android-ndk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<android-ndk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/android-ndk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

