commit | 49affdc4e274098a34e4eb2dbe4a89a750f1ba7f | [log] [tgz] |
---|---|---|
author | Owen Lin <owenlin@google.com> | Mon May 21 16:52:25 2012 -0700 |
committer | Owen Lin <owenlin@google.com> | Tue May 22 09:41:46 2012 -0700 |
tree | efb2aba5dfc4607d8ba8bb210910f3739799bc89 | |
parent | 21c2e665fdc1d1af0c91ab9c104d13fb7dc2444e [diff] |
Limit the size of a ScreenNail. bug:6528366 This bug was happened because we are trying to make a texture beyond the max size allowed in GL. Here is what we do in this CL: 1. Limit the size of a screen nail 2. Print warning message, if we try to allocate a texture beyond the size 3. Don't show fall-back animation if the image is not loaded yet. Change-Id: I004b1138efd0eef7ba11aa89556f67743ca46745