Merge "BLAST: Avoid JNI call on creation" into rvc-dev
This commit is contained in:
@@ -1793,8 +1793,9 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
// We only return the Surface the first time, as otherwise
|
// We only return the Surface the first time, as otherwise
|
||||||
// it hasn't changed and there is no need to update.
|
// it hasn't changed and there is no need to update.
|
||||||
ret = mBlastBufferQueue.getSurface();
|
ret = mBlastBufferQueue.getSurface();
|
||||||
|
} else {
|
||||||
|
mBlastBufferQueue.update(mBlastSurfaceControl, width, height);
|
||||||
}
|
}
|
||||||
mBlastBufferQueue.update(mBlastSurfaceControl, width, height);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user