From bae774eb20bebd409441b93386b51bccda75f546 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Mon, 14 Mar 2011 15:08:53 -0700 Subject: SurfaceTextureClient: Add ISurfaceTexture getter. This change adds a getter method to SurfaceTextureClient to get the ISurfaceTexture object with which the SurfaceTextureClient is communicating. Bug: 4086509 Change-Id: Ifec621e0fe5392a5be56b2348fdc54067cbebcdd --- include/gui/SurfaceTextureClient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gui/SurfaceTextureClient.h') diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h index 4cdece99ec..7992105df2 100644 --- a/include/gui/SurfaceTextureClient.h +++ b/include/gui/SurfaceTextureClient.h @@ -33,6 +33,8 @@ class SurfaceTextureClient public: SurfaceTextureClient(const sp& surfaceTexture); + sp getISurfaceTexture() const; + private: // can't be copied -- cgit v1.2.3-59-g8ed1b