am d5e345b0
: Merge "Actually set the virtual display output buffer." into jb-mr2-dev
* commit 'd5e345b0cf5c1c5aaa5c10a1a4c759e74d77fb37': Actually set the virtual display output buffer.
This commit is contained in:
commit
46ab373f1f
@ -76,7 +76,11 @@ status_t VirtualDisplaySurface::advanceFrame() {
|
|||||||
if (result != NO_ERROR)
|
if (result != NO_ERROR)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
return mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
|
result = mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
|
||||||
|
if (result == NO_ERROR) {
|
||||||
|
result = mHwc.setOutputBuffer(mDisplayId, fence, mAcquiredBuffer);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VirtualDisplaySurface::onFrameCommitted() {
|
void VirtualDisplaySurface::onFrameCommitted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user