OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9f107
)
Fill in sideband stream caveat
author
Wonsik Kim
<wonsik@google.com>
Mon, 17 Mar 2014 08:46:53 +0000
(17:46 +0900)
committer
Wonsik Kim
<wonsik@google.com>
Mon, 17 Mar 2014 08:46:53 +0000
(17:46 +0900)
Change-Id: I20db8aea8f13acf31b42db08d90b338da8a5209c
libs/gui/Surface.cpp
patch
|
blob
|
history
diff --git
a/libs/gui/Surface.cpp
b/libs/gui/Surface.cpp
index
b628a15
..
95f4084
100644
(file)
--- a/
libs/gui/Surface.cpp
+++ b/
libs/gui/Surface.cpp
@@
-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);