OSDN Git Service

Only allow one draw call pending at a time
authorAlan Newberger <alann@google.com>
Tue, 30 Sep 2014 21:59:32 +0000 (14:59 -0700)
committerAlan Newberger <alann@google.com>
Tue, 30 Sep 2014 23:28:10 +0000 (16:28 -0700)
commit5db8e20db77bf86eba25ec713c76da783dd98b19
tree52b1815b2ae310a35026984afc11835395a0ae18
parent31d816f64eebfd24e662ff21f611a70b957d4859
Only allow one draw call pending at a time

If modules call draw aggressively, there should only be one pending
at a time. If we get another, just drop it, there will be a draw
momentarily.

Bug: 17703978
Change-Id: I60b3b9e257ae4e064287a97973b1de878ce66de1
src/com/android/camera/SurfaceTextureRenderer.java