Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_native
Commits
0ee14ca2
Commit
0ee14ca2
authored
11 years ago
by
Wonsik Kim
Browse files
Options
Download
Email Patches
Plain Diff
Fill in sideband stream caveat
Change-Id: I20db8aea8f13acf31b42db08d90b338da8a5209c
parent
ce9f107c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
libs/gui/Surface.cpp
libs/gui/Surface.cpp
+4
-0
No files found.
libs/gui/Surface.cpp
View file @
0ee14ca2
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment