commit | 29b5762efc359022168e5099c1d17925444d3147 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Aug 17 15:42:04 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Aug 17 15:49:13 2011 -0700 |
tree | c2a8c991c104e550fd03f81cea8ed7582e27609c | |
parent | 3902be629bd94de62db0039004d0b25556227cbf [diff] |
don't return the current buffer from dequeueBuffer we were not reseting mCurrentTexture in some situations which in turn caused dequeueBuffers() return a "FREE" buffer that was also current. Very often it was harmless, but it created a race with updateTexImage() which could cause the following queueBuffers() to fail. Bug: 5156325 Change-Id: If15a31dc869117543d220d6e5562c57116cbabdb