Merge "Update setBuffer for SCC changes."
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c56649664
@@ -609,7 +609,7 @@ static void nativeSetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlo
|
||||
if (fencePtr != 0) {
|
||||
optFence = sp<Fence>{reinterpret_cast<Fence*>(fencePtr)};
|
||||
}
|
||||
transaction->setBuffer(ctrl, graphicBuffer, optFence, std::nullopt,
|
||||
transaction->setBuffer(ctrl, graphicBuffer, optFence, std::nullopt, 0 /* producerId */,
|
||||
genReleaseCallback(env, releaseCallback));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user