OpenGL ES on iOS Simulator

iOS Simulator includes complete and conformant implementations of both OpenGL ES 1.1 and OpenGL ES 2.0 that you can use for your app development. Simulator differs from the PowerVR SGX processors in a number of ways:

OpenGL ES 2.0 on Simulator

Table 2-1 provides a high-level summary of key OpenGL ES 2.0 attribute values implemented for iOS Simulator.

Table 2-1  Key OpenGL ES 2.0 attribute values implemented for iOS Simulator

OpenGL ES 2.0 attributes

Values for iOS Simulator

MAX_TEXTURE_SIZE, MAX_RENDERBUFFER_SIZE, MAX_CUBE_MAP_TEXTURE_SIZE

4096 x 4096

MAX_TEXTURE_IMAGE_UNITS

8

MAX_VERTEX_TEXTURE_IMAGE_UNITS

0

MAX_VERTEX_ATTRIBS

16

MAX_VERTEX_UNIFORM_VECTORS

128

MAX_FRAGMENT_UNIFORM_VECTORS

64

MAX_VARYING_VECTORS

8

Supported OpenGL ES 2.0 Extensions

iOS Simulator supports the following extensions to OpenGL ES 2.0:

OpenGL ES 1.1 on Simulator

Table 2-2 provides a high-level summary of key OpenGL ES 1.1 attribute values implemented for iOS Simulator.

Table 2-2  Key OpenGL ES 1.1 attribute values implemented for iOS Simulator

OpenGL ES 1.1 attributes

Values for iOS Simulator

MAX_TEXTURE_SIZE, MAX_RENDERBUFFER_SIZE, MAX_CUBE_MAP_TEXTURE_SIZE

4096 x 4096

MAX_TEXTURE_UNITS

8

MAX_PALETTE_MATRICES_OES

11

MAX_VERTEX_UNITS_OES

4

MAX_CLIP_PLANES

6

Supported OpenGL ES 1.1 Extensions

iOS Simulator supports the following extensions to OpenGL ES 1.1: