summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceTextureClient.h
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-03-14 15:08:53 -0700
committerJamie Gennis <jgennis@google.com>2011-03-14 17:47:11 -0700
commitbae774eb20bebd409441b93386b51bccda75f546 (patch)
treead3cf2304e44d77a583ac28ff560bf9310fffd1a /include/gui/SurfaceTextureClient.h
parent391bbe2246a7547dbf3460c231b3c5ba691d4eb1 (diff)
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
Diffstat (limited to 'include/gui/SurfaceTextureClient.h')
-rw-r--r--include/gui/SurfaceTextureClient.h2
1 files changed, 2 insertions, 0 deletions
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<ISurfaceTexture>& surfaceTexture);
+ sp<ISurfaceTexture> getISurfaceTexture() const;
+
private:
// can't be copied