commit | 9cccc2b9bdd4850a3f9679569aaec3ab98477a5d | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@android.com> | Sat Aug 07 23:46:15 2010 -0700 |
committer | Romain Guy <romainguy@android.com> | Sat Aug 07 23:48:29 2010 -0700 |
tree | 365c32954d65cf037c948ee92b14ed30243319f5 | |
parent | de0547c07a65b59d5330588cdd8b1e410a613e9c [diff] |
Enforce maximum texture size. When an app tries to render a bitmap or path larger than the GPU's maximum texture size, the drawing command is ignored and a warning is logged. This change also makes texture drawing more robust by catching potential errors during texture creation. This change also fixes a crash in the FontRenderer. The destructor would sometimes try to free an uninitialized array. Change-Id: I95ae0939c52192d97b340aa02417bf6d0c962c57