OSDN Git Service

TextureView/GLES20Canvas: Support synchronous GLConsumers
authorEino-Ville Talvala <etalvala@google.com>
Thu, 19 Sep 2013 19:49:13 +0000 (12:49 -0700)
committerThe Android Automerger <android-build@android.com>
Fri, 20 Sep 2013 10:36:39 +0000 (03:36 -0700)
commit8c60f33cb7e08b8af7394a01ee3b495cfb699440
tree853e65792852623b1c8acbdaa156abe72d70a7ef
parent51c0ee44d438a8592ef1358e58d83765b13f1442
TextureView/GLES20Canvas: Support synchronous GLConsumers

Always update to the newest available frame from a GLConsumer.
Otherwise, with a synchronous queue, rendering can fall behind and
eventually deadlock with producer.

Bug: 10830400
Change-Id: I7f1d752c80ae5dac892a26d82e86806c27f5d955
core/jni/android_view_GLES20Canvas.cpp