Merge "Fill in sideband stream caveat"

This commit is contained in:
Wonsik Kim 2014-03-19 00:41:23 +00:00 committed by Android (Google) Code Review
commit 8ce5c1cc8d

View File

@ -86,6 +86,10 @@ sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const {
return mGraphicBufferProducer;
}
void Surface::setSidebandStream(const sp<NativeHandle>& stream) {
mGraphicBufferProducer->setSidebandStream(stream);
}
int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) {
Surface* c = getSelf(window);
return c->setSwapInterval(interval);