commit | 6926c72e25b8dec3dd4b84af0819fa1937ae7296 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Jul 12 20:20:03 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Jul 12 20:20:03 2010 -0700 |
tree | b59a3b01ddbc9ae8c0b5f11eaa6fcf27a9f9511d | |
parent | 260e102162322958cf17dbd895cd6bd30dc87e32 [diff] |
Correctly support pre-multiplied alpha, optimizations, more stuff. Add support for the following drawing functions: - drawBitmap(int[]...) - drawPaint() Optimizes shader state changes by enabling/disabling attribute arrays only when needed. Adds quick rejects when drawing trivial shapes to avoid unnecessary OpenGL operations. Change-Id: Ic2c6c2ed1523d08a63a8c95601a1ec40b6c7fbc9