commit | 8618ebcc5d20a5983da1fc6200d50c3662aca6e3 | [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 | 56e364cad0f30931fb430f68bb7d40f483d68e8e | |
parent | 1a227437be33157175b4de5f47d08a02647ee71a [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