From 0ee14ca23dc2759e213172e38a840da0c36bd3ab Mon Sep 17 00:00:00 2001 From: Wonsik Kim Date: Mon, 17 Mar 2014 17:46:53 +0900 Subject: [PATCH] Fill in sideband stream caveat Change-Id: I20db8aea8f13acf31b42db08d90b338da8a5209c --- libs/gui/Surface.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index b628a15f8..95f408426 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -86,6 +86,10 @@ sp Surface::getIGraphicBufferProducer() const { return mGraphicBufferProducer; } +void Surface::setSidebandStream(const sp& stream) { + mGraphicBufferProducer->setSidebandStream(stream); +} + int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { Surface* c = getSelf(window); return c->setSwapInterval(interval);