diff options
author | Jamie Gennis <jgennis@google.com> | 2010-12-20 11:27:26 -0800 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2011-01-06 13:20:47 -0800 |
commit | 68e4a7ac849b681b1fb769857fc04f64262480c4 (patch) | |
tree | c13a745fc7c54db14529326e1ade56c44d1b922a /include/ui | |
parent | 0a53d5c81b5553d6063b8133492275ce88186978 (diff) | |
download | frameworks_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.h | 1 |
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); |