Alex Rempel, The problem is just your experience on mobile device. GPU on mobile devices have very low fillrate. So you must use very carefully your draw operations.
N1 or Droid max overdraw is one for 30 FPS but on Nexus S (or SGS) you have a better fillrate, so you can have an overdraw of 3. You can use 10000 triangles as the same speed if you don't use more pixels. Thanks Ellis, IOPixel On 15 mar, 21:27, ip332 <iprile...@gmail.com> wrote: > 2D shoudl be much faster because it usually about transferring pixels > (usually organized into a scan lines) from one bitmap to another when > 3D requires a lot of calculations with floating point and it should be > slower than 2D even with HW support. > On the other side, 35 fps vs. 57 is not too bad if you will get the > same performance for the real app. > > Try to model the real app output (with respect to the number of > triangles, size of textures and blending operations). May be you will > still get the same 35 fps :) > > On Mar 15, 12:48 pm, Alex Rempel <alexey.rem...@googlemail.com> wrote: > > > > > > > > > I just adapted my rendering thread to support a canvas instead of EGL > > context and I do absolutely the same; showing an fps text and blitting > > a background texture. > > Guess what: showing the text only I get 58fps, adding the background > > picture I get... 57fps! > > > Now I am officially and very seriously pissed off. I hope that I am > > just not smart enough to use GLES20 well, otherwise it seems that if > > you want to blit 2D graphics - you take Canvas; and if and ONLY IF you > > want many triangles in 3D, then you take OpenGL. > > > Shouldn't OpenGL be always at least as fast as the 2D API provided by > > the Canvas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en