Fix IO_INPUT with 64-bit.
bug 16846318 bug 17006933 Change-Id: Ic13ef26875d8a6fab1ffb542d62038b768a536ff
This commit is contained in:
@ -1156,7 +1156,12 @@ public class RenderScript {
|
||||
}
|
||||
|
||||
if (msg == RS_MESSAGE_TO_CLIENT_NEW_BUFFER) {
|
||||
Allocation.sendBufferNotification(subID);
|
||||
if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
|
||||
RS_MESSAGE_TO_CLIENT_NEW_BUFFER) {
|
||||
throw new RSDriverException("Error processing message from RenderScript.");
|
||||
}
|
||||
long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL);
|
||||
Allocation.sendBufferNotification(bufferID);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user