From 64e89a8aff9a45a491f1d7064a655b9021fe644a Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Tue, 11 Aug 2009 20:49:35 -0700 Subject: Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050. --- libs/surfaceflinger/LayerBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/surfaceflinger/LayerBase.cpp') diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index 419574c7def1..fbce73ddd3be 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp @@ -759,7 +759,7 @@ status_t LayerBaseClient::Surface::onTransact( return BnSurface::onTransact(code, data, reply, flags); } -sp LayerBaseClient::Surface::getBuffer(int) +sp LayerBaseClient::Surface::getBuffer() { return NULL; } -- cgit v1.2.3-59-g8ed1b