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:29:53 +0000 (23:29 +0000)
commitd822d1cfc893faa6f3d5b566a50c628ec83fa4e6
tree508c55633be7e3656905be44fc4ee9a967bd865e
parent2499af485d19e9e9843f7f8ea9a566ee24e62a33
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
(cherry picked from commit 5db8e20db77bf86eba25ec713c76da783dd98b19)
src/com/android/camera/SurfaceTextureRenderer.java