OSDN Git Service

Always release a buffer
authorAndy McFadden <fadden@android.com>
Fri, 4 Apr 2014 22:37:08 +0000 (15:37 -0700)
committerAndy McFadden <fadden@android.com>
Fri, 4 Apr 2014 22:37:08 +0000 (15:37 -0700)
commit87a678478005026d950bedec49ee80b693777b95
treedcd8a117f1ebc11b187ebc1f7862d4930e540b37
parent98e5bf2cc0931fc4e4d88b3f64069bd200690be0
Always release a buffer

In GLConsumer's updateAndReleaseLocked(), we must release either
the previously-acquired buffer or the newly-acquired buffer.

Bug 13755224

Change-Id: I96adc255400ed008ba6e6ac1725ab3514c7cc8ba
libs/gui/GLConsumer.cpp