7. Pre 3D Chip vs. Pixi 3D Chip Comparing the details of a GPU core Units Source: Palm Inc 1800 1600 1400 1200 1000 800 600 400 200 0 Shader Clock Shader ops/s Memory Bandwidth Texture Fill Rate (nearest) Texture Fill Rate (linear) CPU Transfer Rate textImage2D rate Pixel Clock Palm Pre Palm Pixi
8. High count of individual blitz “ To Be 2D or Not to Be” When does it make sense to use OpenGL to draw 2D? Require pixel manipulations Set of sprite orthogonal blitz GPU (OpenGL-ES) Need a lot of CPU for computations “ Effect” Heavy Fast scalable app CPU (SDL)
9. OpenGL-ES 1.x vs. OpenGL-ES 2.x Know nothing about shaders and don’t want Which API best suits your needs? Save time vs. writing your own shaders Porting to 1.x is a big deal 2.x Need the flexibility of shaders NPOT textures All future hardware will support ≥ OpenGL-ES 2.x. 1.x SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, <VERSION> );
10. Pre & Pixi 3D hardware features What's the difference? Texture Compression NPOT Support VBO vs VBA Shader Binary Packed Depth/Stencil
11. Desktop Simulation Goal: 0 platform-specific line of code OpenGL ES 1.1/2.0 PDL SDL C/C++ Hardware graphics Hardware graphics Application Application OpenGL 3.x PDL SDL C/C++ GLEE Linux Kernel Windows/Mac/Linux ARM CPU x86 CPU Device Desktop
12. What 3D Frameworks Can Run? Short: Pretty much any… Unreal Tournament 3 Engine (running) Ogre Irrlicht Edgelib Unity