diff options
| author | 2011-02-02 15:56:20 -0800 | |
|---|---|---|
| committer | 2011-02-02 15:56:20 -0800 | |
| commit | 421d94c20321e1de528416b279bf148baba47b39 (patch) | |
| tree | 9cd23e4ce3a4e2d8c416b57f69c66eda2550ee16 /libs/gui/SurfaceTexture.cpp | |
| parent | 94dbc990b8840d323d358770a1ba02bb4820c681 (diff) | |
| parent | ecb4b3f02340e21eefabbea78559e85ec7ee0089 (diff) | |
am ecb4b3f0: Merge "Pass the IGraphicBufferAlloc to SurfaceTextureClient." into honeycomb
* commit 'ecb4b3f02340e21eefabbea78559e85ec7ee0089':
Pass the IGraphicBufferAlloc to SurfaceTextureClient.
Diffstat (limited to 'libs/gui/SurfaceTexture.cpp')
| -rw-r--r-- | libs/gui/SurfaceTexture.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index 1dadd5389154..3c4b565d466b 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -304,6 +304,11 @@ void SurfaceTexture::setFrameAvailableListener( mFrameAvailableListener = l; } +sp<IBinder> SurfaceTexture::getAllocator() { + LOGV("SurfaceTexture::getAllocator"); + return mGraphicBufferAlloc->asBinder(); +} + void SurfaceTexture::freeAllBuffers() { for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { mSlots[i].mGraphicBuffer = 0; |