diff options
author | Grace Kloba <klobag@google.com> | 2011-06-22 01:29:13 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2011-06-22 01:29:13 -0700 |
commit | 0bc6eb30bc09b4c49193229cf3c0de28341be6f4 (patch) | |
tree | f76f57e641fe40995efb3cff8ac1b3c353d022a5 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 87b7f805b94f5df53343264509f6d606d96dfb05 (diff) |
Fix the issue where TextureView stuck if the producer side is too fast.
When SurfaceTexture is in sync mode, the consumer needs to pull the pending
frames. Otherwise the onFrameAvailable won't be called and no more update.
This simple fix is to skip frame to keep up with the producer side.
Change-Id: Ica833695dc0b0221d2543f46f0dd41aa55d1aa16
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions