OSDN Git Service

SurfaceTexture: inherit from ConsumerBase (try 2)
authorJamie Gennis <jgennis@google.com>
Wed, 8 Aug 2012 01:03:04 +0000 (18:03 -0700)
committerJamie Gennis <jgennis@google.com>
Tue, 21 Aug 2012 23:41:03 +0000 (16:41 -0700)
commit9fea3421ffddf6480f57f55a25936a886043d909
treea624dbef8abd005bbbe57715b234fee4240b32c2
parent317357fdf7a2b542dfdaa06f42ff7f5f0153f9a3
SurfaceTexture: inherit from ConsumerBase (try 2)

This change makes SurfaceTexture inherit from ConsumerBase.  It removes all of
the functionality from SurfaceTexture that is now provided by the base class.
This includes fixes for two bugs that were found after checking this change in
the first time and then reverting it.

Change-Id: Ie2d9f4f27cfef26fdac341de3152e842b01a58d2
include/gui/ConsumerBase.h
include/gui/SurfaceTexture.h
libs/gui/ConsumerBase.cpp
libs/gui/SurfaceTexture.cpp