¡@

Home 

2014/10/15 ¤U¤È 10:09:49

iphone Programming Glossary: gl_short

Advice on speeding up OpenGL ES 1.1 on the iPhone

http://stackoverflow.com/questions/1844765/advice-on-speeding-up-opengl-es-1-1-on-the-iphone

on the problem. Utilization ranges are still as noted above. Update 4 Converting my Vertex and Normal pointers to GL_SHORT seemed to improve FPS but the Tiler Utilization is still in the 90 range a lot of the time. I'm still using GL_FLOAT for.. 90 range a lot of the time. I'm still using GL_FLOAT for my texture coordinates. I suppose I could knock those down to GL_SHORT and save four more bytes per vertex. Update 5 Converting my texture coordinates to GL_SHORT yielded another performance.. could knock those down to GL_SHORT and save four more bytes per vertex. Update 5 Converting my texture coordinates to GL_SHORT yielded another performance increase. I'm now consistently getting 30 FPS. Tiler Utilization is still around 90 but frequently..

Why is this OpenGL ES code slow on iPhone?

http://stackoverflow.com/questions/450042/why-is-this-opengl-es-code-slow-on-iphone

0.0f 0.0f 1.0f glVertexPointer 2 GL_FLOAT 0 spriteVertices glEnableClientState GL_VERTEX_ARRAY glTexCoordPointer 2 GL_SHORT 0 spriteTexcoords glEnableClientState GL_TEXTURE_COORD_ARRAY sprite data is preloaded. 512x512 rgba8888 glGenTextures 1..

OpenGL Texture Coordinates in Pixel Space

http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space

is in the upper left 48px square GLshort texcoords 48 48 0 48 48 0 0 0 glVertexAttribPointer ATTRIB_TEXTUREPOSITON 2 GL_SHORT 0 0 texcoords glEnableVertexAttribArray ATTRIB_TEXTUREPOSITON iphone objective c cocoa touch opengl es share improve..