What are you trying to do? glReadPixels is a pipeline stall - it will slow everything down. If you want to check to see if an object has been touched, use a collision detection system, unproject the touch point into a ray and get the closest item that intersects with that ray. It's actually easier, more reliable and faster.
On May 10, 10:16 am, Alfonso <alfonsocris...@gmail.com> wrote: > glReadPixels is too slow, so I need another way. Without testing > object by object, Is there any other way? > > Thanks you very much > > -- > 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 > athttp://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