resolved conflicts for merge of 21938749
to jb-mr1-dev
Change-Id: I17da10797736f3772a143e2015fe25df0bb3eb3f
This commit is contained in:
commit
d3bbcaff6f
@ -815,6 +815,9 @@ status_t SurfaceTextureClient::lock(
|
||||
ALOGW_IF(res, "failed locking buffer (handle = %p)",
|
||||
backBuffer->handle);
|
||||
|
||||
if (res != 0) {
|
||||
err = INVALID_OPERATION;
|
||||
} else {
|
||||
mLockedBuffer = backBuffer;
|
||||
outBuffer->width = backBuffer->width;
|
||||
outBuffer->height = backBuffer->height;
|
||||
@ -822,6 +825,7 @@ status_t SurfaceTextureClient::lock(
|
||||
outBuffer->format = backBuffer->format;
|
||||
outBuffer->bits = vaddr;
|
||||
}
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user