summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorSunita Nadampalli <sunitan@ti.com>2011-11-09 18:23:41 -0600
committerJamie Gennis <jgennis@google.com>2011-11-15 11:43:35 -0800
commitf1e868f68204bf469a0c162b84af0e651d513ac8 (patch)
tree23a997a5d68fb46652460aa233ec3dd0133652f3 /opengl/java/android/opengl/Texture.java
parent6a54a997e3dc71c5b9c5a1c7829bc3eb35404e92 (diff)
SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call
Surface Texture dequeue logic is modified to return the oldest of the free buffers to Client on dequeue call. Currently dequeue method is returning the first buffer index which is free. The parsing is done in ascending order of the buffer slot indices. This leads to returning the buffer which has been just queued to composer, and hence display, and this defeats the purpose of having minimum dequeue count as 2 in asynchrnouse mode. This is fixed by checking all the free slots and returning the oldest buffer. Change-Id: Ibbac10593c3994c278c601af0480b171635ecdd4 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions