Merge "Fill in sideband stream caveat"
This commit is contained in:
commit
8ce5c1cc8d
@ -86,6 +86,10 @@ sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const {
|
|||||||
return mGraphicBufferProducer;
|
return mGraphicBufferProducer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Surface::setSidebandStream(const sp<NativeHandle>& stream) {
|
||||||
|
mGraphicBufferProducer->setSidebandStream(stream);
|
||||||
|
}
|
||||||
|
|
||||||
int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) {
|
int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) {
|
||||||
Surface* c = getSelf(window);
|
Surface* c = getSelf(window);
|
||||||
return c->setSwapInterval(interval);
|
return c->setSwapInterval(interval);
|
||||||
|
Loading…
Reference in New Issue
Block a user