evening

10-04-2004, 01:08 AM

I would like to know Hybrid and Vincent implemented the fixed point math or not? If not what is the use of GLfixed? Thanks.

View Full Version : GLfixed data type

evening

10-04-2004, 01:08 AM

I would like to know Hybrid and Vincent implemented the fixed point math or not? If not what is the use of GLfixed? Thanks.

hmwill

10-04-2004, 04:34 AM

Yes, both of them implement the fixed point API. Is that your question?

- HM

- HM

evening

10-04-2004, 02:36 PM

thanks. Is there any references on the fixed point API. (fadsf, sqrt etc.)

hmwill

10-04-2004, 04:52 PM

I am not quite sure what your question is. You are not asking about any OpenGL ES API entry point, are you?

- HM

- HM

evening

10-05-2004, 01:45 AM

Sorry my english is bad ... :P

In fact, from the gl.h header I found out that the GLfixed is an int data type. therefore, It can't use normal math library function such as "sqrt", "fabsf" (which is for float).

Thus, I would like to know is there any fixed point math library functions (e.g. to compute square root) for the Hybrid and Vincent implemention?

Thank you very much :)

In fact, from the gl.h header I found out that the GLfixed is an int data type. therefore, It can't use normal math library function such as "sqrt", "fabsf" (which is for float).

Thus, I would like to know is there any fixed point math library functions (e.g. to compute square root) for the Hybrid and Vincent implemention?

Thank you very much :)

hmwill

10-05-2004, 03:41 AM

http://cvs.sourceforge.net/viewcvs.py/ogl-es/ogles/src/fixed.h?rev=1.21&view=auto

and

http://cvs.sourceforge.net/viewcvs.py/ogl-es/ogles/src/fixed.cpp?rev=1.8&view=auto

- HM

[ October 05, 2004: Message edited by: Hans-Martin Will ]

and

http://cvs.sourceforge.net/viewcvs.py/ogl-es/ogles/src/fixed.cpp?rev=1.8&view=auto

- HM

[ October 05, 2004: Message edited by: Hans-Martin Will ]

MaHoHo

10-05-2004, 09:09 AM

Thanks Hans-Martin!

But I don't find anything the like with Gerbera... Is it possible that the Fixed Point Math is not part of the implementation they gave free.

Greetz,

Markus

But I don't find anything the like with Gerbera... Is it possible that the Fixed Point Math is not part of the implementation they gave free.

Greetz,

Markus

evening

10-05-2004, 05:58 PM

Thanks ~ ^^

jasin

10-05-2004, 10:21 PM

<BLOCKQUOTE><font size="1" face="Arial, Verdana, Helvetica, sans-serif">quote:</font><HR>But I don't find anything the like with Gerbera... Is it possible that the Fixed Point Math is not part of the implementation they gave free.<HR></BLOCKQUOTE>

Gerbera implements both OpenGL ES 1.1 and EGL 1.1 specifications completely. This is to say that both the float and fixed point API entries are implemented and exposed. However, we do not expose any utilitary fixed point math since they're not part of the specs mentioned above, and would be considered extraneous.

There are lots of example code dealing with fixed point calculation all across the internet. Once you get your calculations up and running, Gerbera will gladly accept your fixed point input data.

Regards,

Jasin

Gerbera implements both OpenGL ES 1.1 and EGL 1.1 specifications completely. This is to say that both the float and fixed point API entries are implemented and exposed. However, we do not expose any utilitary fixed point math since they're not part of the specs mentioned above, and would be considered extraneous.

There are lots of example code dealing with fixed point calculation all across the internet. Once you get your calculations up and running, Gerbera will gladly accept your fixed point input data.

Regards,

Jasin

MaHoHo

10-05-2004, 11:21 PM

No slight intended, Jasin.

I know the specs and I know Gerbera implements them just fine with all the FP entry points. But an additional FP math library like with Vincent would have been a nice bonus. ;)

Thanks!

Markus

I know the specs and I know Gerbera implements them just fine with all the FP entry points. But an additional FP math library like with Vincent would have been a nice bonus. ;)

Thanks!

Markus

Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.