summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2010-12-20 11:27:26 -0800
committerJamie Gennis <jgennis@google.com>2011-01-06 13:20:47 -0800
commit68e4a7ac849b681b1fb769857fc04f64262480c4 (patch)
treec13a745fc7c54db14529326e1ade56c44d1b922a /include/ui
parent0a53d5c81b5553d6063b8133492275ce88186978 (diff)
downloadframeworks_base-68e4a7ac849b681b1fb769857fc04f64262480c4.zip
frameworks_base-68e4a7ac849b681b1fb769857fc04f64262480c4.tar.gz
frameworks_base-68e4a7ac849b681b1fb769857fc04f64262480c4.tar.bz2
Add the SurfaceTexture C++ implementation.
This change adds the C++ implementation of SurfaceTexture and related classes. The goal of this is for a SurfaceTexture to be passed to camera service or Stagefright in place of a Surface to allow camera preview or decoded video frames to be streamed to an OpenGL ES texture that an application can use. Change-Id: I55c83a7017f1ecb81c9c9e3252cbd118b914296c
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/GraphicBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h
index aa65d93..8b256f4 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -121,6 +121,7 @@ private:
friend class Surface;
friend class BpSurface;
friend class BnSurface;
+ friend class SurfaceTextureClient;
friend class LightRefBase<GraphicBuffer>;
GraphicBuffer(const GraphicBuffer& rhs);
GraphicBuffer& operator = (const GraphicBuffer& rhs);