i guess your Samsung Galaxy using the cell of Qualcomm 7201A(or nearly), it comes into a conclusion that a version of libhgl.so that qualcomm provided are not correctly returned when call eglChooseConfig . i have encounted that problem as you. so just setup your own EGLConfigChooser ,and don't set the EGL10.EGL_STENCIL_SIZE which would lead to wrong results.
good lucky! On 11月7日, 下午9时47分, "Dmitry.Skiba" <dmitry.sk...@gmail.com> wrote: > > It makes sense when you generalized it like that, but in this > > particular case the application gets put in software mode for asking > > for *less* capabilities. If it claims it needs a depth buffer when it > > doesn't, only then does it get the hardware acceleration. > > Exactly. > > Unfortunately I don't have Samsung Galaxy, so I don't know what > configs are reported when only depth size of 16 is requested. > Can someone please check it out? Maybe it will shed some light on the > problem. > > BTW, here guys found that copying libhgl.so from G1 fixes the > issue:http://androidforums.com/samsung-i7500/14611-opengl-working-galaxy-ii... > > Dmitry > > On 7 ноя, 06:02, Lance Nanek <lna...@gmail.com> wrote: > > > > > >if you ask for something that it doesn't support, the system will > > >gracefully fallback to the software > > > On Nov 6, 8:29 am, David Turner <di...@android.com> wrote: > > > > On Fri, Nov 6, 2009 at 1:00 AM, Dmitry.Skiba <dmitry.sk...@gmail.com> > > > wrote: > > > > If yourOpenGLgame is running badly on Samsung Galaxy, you can try > > > > solution that we have found here: > > > > >http://www.anddev.org/samsung_galaxy_odd_ogl_es_hardware_acceleration... > > > > > In short, you need to setup your own EGLConfigChooser and choose depth > > > > size of 16. This is what we found. It seems that otherwise all > > > > rendering is done through softwareOpenGL. > > > > > Now question to google guys: why is that? > > > > Because the GPU has limited capabilities, and if you ask for something > > > that > > > it doesn't support, > > > the system will gracefully fallback to the software implementation ? > > > > Choosing the best configuration based on the hardware capabilities is > > > quite > > > a standard topic > > > inOpenGLland. > > > > > -- > > > > 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<android-developers%2Bunsubs > > > > cr...@googlegroups.com> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?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 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