summaryrefslogtreecommitdiffstats
path: root/include/gui/Surface.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-12-12 17:10:08 -0800
committerAndy McFadden <fadden@android.com>2012-12-17 12:40:50 -0800
commit0273adbf0bc202eda2ca579ae0773464ea9c701f (patch)
treef466e35de24729c523155433ede68a09e0068ebd /include/gui/Surface.h
parent44615b88184bfb5827789816a115afa5013badd0 (diff)
downloadframeworks_native-0273adbf0bc202eda2ca579ae0773464ea9c701f.zip
frameworks_native-0273adbf0bc202eda2ca579ae0773464ea9c701f.tar.gz
frameworks_native-0273adbf0bc202eda2ca579ae0773464ea9c701f.tar.bz2
Added some comments
Added a quick intro section at the top of the class. Also noted the proposed new name for the class. Change-Id: I3f79663527544aa4e910db0e5a1374b54d16ba2f
Diffstat (limited to 'include/gui/Surface.h')
-rw-r--r--include/gui/Surface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h
index 2288fe7..f3455b5 100644
--- a/include/gui/Surface.h
+++ b/include/gui/Surface.h
@@ -106,6 +106,13 @@ private:
// ---------------------------------------------------------------------------
+/*
+ * This is a small wrapper around SurfaceTextureClient that provides some
+ * helper classes for Binder interaction.
+ *
+ * TODO: rename to SurfaceJniHelper. May want to move SurfaceInfo and
+ * the associated lock() / unlockAndPost() calls to STC.
+ */
class Surface : public SurfaceTextureClient
{
public: