Forums - OpenGL ES 1.1 Float vs Fixed battle

2 posts / 0 new
Last post
OpenGL ES 1.1 Float vs Fixed battle
Krzysztof I
Join Date: 24 Nov 11
Posts: 2
Posted: Thu, 2011-11-24 13:46

Hello Everybody,

Is it possible to mix float anf fixed OpenGL ES 1.1 calls ?? What are the results ?? Does OpenGL ES 1.1 have information about its default working type (float or fixed) ? Should we perform all operations or fixed or float and don't mix calls ? Fast example:

Default OpenGL ES 1.1 GL_PROJECTION matrix is identity. But if there is performed some operation, ex. glDrawArrays with vertex type as fixed, then read GL_PROJECTION matrix through glGetFloatv or glGetIntegerv the matrix is diagonal with 32767 value in diagonal.

So OpenGL ES 1.1 switches dynamicaly between data type modes ? 

  • Up0
  • Down0
Steve L (not verified)
Posted: Mon, 2011-11-28 15:31

 

http://www.khronos.org/opengles/sdk/docs/man/xhtml/glGet.xml

glGetFloatv seems to be defined to return floating point values only (and glGetIntegerv returns integers). Can you show what code you are using so we can test this on our side?

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.