summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-08-17 15:42:04 -0700
committerMathias Agopian <mathias@google.com>2011-08-17 15:49:13 -0700
commit29b5762efc359022168e5099c1d17925444d3147 (patch)
treec2a8c991c104e550fd03f81cea8ed7582e27609c /opengl/libagl
parent3902be629bd94de62db0039004d0b25556227cbf (diff)
downloadframeworks_native-29b5762efc359022168e5099c1d17925444d3147.zip
frameworks_native-29b5762efc359022168e5099c1d17925444d3147.tar.gz
frameworks_native-29b5762efc359022168e5099c1d17925444d3147.tar.bz2
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
Diffstat (limited to 'opengl/libagl')
0 files changed, 0 insertions, 0 deletions