Since you're targeting the G1, I will dispute this.  In my tests fixed
point was negligibly faster than softfp.  This is because there is no
JIT nor JNI support, and hence no support for hardware int math.
Softint is not all that faster than softfp.  See the last post in this
thread:

http://groups.google.com/group/android-developers/browse_thread/thread/60e00ab2de9abb2d/a2b214c80085bfbf?lnk=gst&q=integer+performance#a2b214c80085bfbf

After doing the necessary extra calculations to perform fixed point
math (all the bit shifts, etc.) I found not much of an advantage of
fixed point over softfp.

Not good news, I realize, but hopefully I can save you some time.

On May 18, 10:18 pm, Dianne Hackborn <[email protected]> wrote:
> Yes fixed point is highly recommended.
>
>
>
> On Mon, May 18, 2009 at 9:26 PM, Robert Green <[email protected]> wrote:
>
> > I guess I'm thinking about all of the floating point vector and matrix
> > math I had dealt with in the last FPS game I worked on.  It did seem
> > like the game itself, for the physics, collision detection, fx and
> > scene rendering used almost all floats (Torque game engine in 2005).
> > I suppose it would be possible to do that all with fixed point, which
> > is what I'm planning on doing for my upcoming 3D Android game.
>
> > Is that what you recommend doing?
>
> > On May 18, 6:32 pm, Dianne Hackborn <[email protected]> wrote:
> > > On Mon, May 18, 2009 at 3:18 PM, Robert Green <[email protected]>
> > wrote:
> > > > Understood.  I was more speaking to the G1 specifically, not Android.
> > > > The 8 megatexel GPU with no floating point on the CPU to be able to
> > > > support it confuses me.
>
> > > You don't need floating point to make good use of the GPU.
>
> > > --
> > > 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.
>
> --
> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to